More foamy urine, if it is present for a long time and does not go away on its own, may be caused by some diseases. For example, liver disease, which causes bilirubinuria, can lead to more foam inside the urine. Previous kidney disease, such as chronic nephritis, more protein in the urine, not timely treatment, will also cause more foam in the urine. In patients with diabetes, if the blood sugar is not well controlled, the glucose and ketone bodies in the urine are elevated, which can also cause more foam in the urine when you urinate. The presence of urinary tract infections, especially those caused by some aerobic bacteria, can also cause more foamy urine. For urine foam, active treatment should be carried out for each cause.