Foam in the urine may be due to nephritis or other diseases such as prostatitis and diabetes. 1. Nephritis: the cause of the disease is not clear, mostly considered to be bacterial or viral infections, autoimmune disorders, hereditary and other conditions, and also related to infection, drugs, environmental factors. Patients often have hematuria, proteinuria, edema, etc., and a large number of persistent small bubbles often appear in the urine. Some patients may also have fever, fatigue, generalized pain and other symptoms. 2. Prostatitis: usually due to pathogen infection, and also with unclean sexual intercourse, local cold, bad dietary habits, irregular sex life and other factors. Patients often appear urinary frequency, urinary urgency, burning pain in the urethra, and some patients can also appear in the urine foam situation. The patient with chronic prostatitis can also be accompanied by urethral dribbling. 3. diabetes: poor glycemic control, urine sugar more patients, urine retention time is too long, there can be an increase in the phenomenon of urine foam, mostly considered with the bacterial decomposition of urinary sugar to form a large number of gas related. It is recommended that patients with foam in the urine, timely regular hospital consultation, follow the doctor’s instructions for systematic treatment.