There are many reasons for patients to have foamy urine, mainly including proteinuria, urinary tract infection, diabetes and so on. 1. proteinuria: the most common reason for patients to have foamy urine is that the protein content in the urine is too high, and proteinuria common clinical causes include renal diseases such as glomerular filtration dysfunction leading to protein component filtration into the original urine and proteinuria, it is recommended that the patient go to the hospital for a 24-hour quantitative urine protein test to confirm the diagnosis. 2. Urinary tract infection: patients may have bacterial infection of the urinary tract and inflammation, resulting in inflammatory exudate may enter the urine, and then the symptoms of foamy urine. 3. Diabetes: diabetic patients with high blood glucose concentration, exceeding the sugar threshold, resulting in glucose in the urine after renal filtration, concentration, and then the symptoms of foamy urine. If the above symptoms occur, it is recommended to go to the hospital in time, early formal treatment.