The possible reasons for yellow urine with foam are bad dietary habits, urinary tract infections, liver disease, kidney disease and so on. 1. Dietary habits: drinking less water, eating too much food rich in pigment, such as carrots, pumpkin, etc., will lead to yellow urine color with foam, is a normal phenomenon, pay attention to drink more water, reasonable diet. 2. Urinary tract infections: such as urethritis, ureteritis, cystitis, etc., can cause yellow urine and foam. 3. Liver diseases: such as chronic viral hepatitis, hepatocellular jaundice and other diseases can cause an abnormal increase in bilirubin in the urine, showing yellow urine. 4. Kidney diseases: such as pyelonephritis, glomerulonephritis, etc., proteinuria will occur, resulting in yellow urine and foamy symptoms. Yellow urine with bubbles may also be caused by other factors, the symptoms of yellow urine with bubbles, you need to go to the hospital in a timely manner for relevant examinations, to clarify the cause of the disease, targeted treatment, and strive for early recovery.