There are many reasons for foam in urine, such as the following: 1. If the patient holds urine for too long, there is more urine in the bladder, or the patient stands at a higher angle from the ground, the impact of urine on the ground during urination will be greater, and it is easy to see a large amount of foam. This is a normal phenomenon and requires no special treatment. 2. Consider that patients may suffer from urinary system infections, which can also lead to changes in the composition of the urine, thus causing foam in the urine, it is recommended that patients can do a routine urine examination to clarify the cause of symptomatic treatment, you can take appropriate oral antibiotic treatment, such as cefdinir or levofloxacin and other drugs for treatment. 3, if the patient suffers from diabetes or kidney disease, will lead to ketone bodies in the urine or urine protein, this situation will cause foamy urine, it is recommended that patients seek medical attention in a timely manner, under the guidance of doctors to control blood sugar and medication to treat kidney disease, usually pay attention to drink more water, avoid spicy and stimulating food, avoid smoking and alcohol, more outdoor exercise, avoid sedentary, less stay up late.