Foggy yellow urine usually means your pee is concentrated and contains suspended particles that scatter light, giving it that hazy or cloudy look instead of being clear. In most cases, the cause is simple: you haven’t been drinking enough water. But several other factors, from what you ate for lunch to an underlying infection, can also make your urine lose its clarity.
Dehydration Is the Most Common Cause
Your kidneys constantly filter waste products from your blood and dissolve them in water to create urine. When you’re well hydrated, there’s plenty of water to keep everything dissolved, and your pee comes out pale and clear. When you’re dehydrated, the same amount of waste gets packed into less water. This raises what doctors call “specific gravity,” a measure of how dense your urine is compared to plain water. That concentrated mix of minerals, salts, and waste products can make urine look darker yellow and noticeably foggy rather than transparent.
The fix is straightforward: drink more water throughout the day. If your foggy yellow urine clears up within a day or two of increasing your fluid intake, dehydration was almost certainly the issue.
Mineral Crystals After Meals
Eating a big meal, especially one high in protein, salt, or certain vegetables, can temporarily flood your urine with minerals your body needs to excrete. When there are too many minerals and not enough liquid to keep them dissolved, tiny crystals form. Calcium oxalate and calcium phosphate crystals are among the most common types. These microscopic particles float suspended in your urine and scatter light, creating that foggy appearance.
This type of cloudiness is usually harmless and resolves on its own. Drinking more water and cutting back on salt and sugar helps prevent crystal buildup. If it keeps happening, though, those same crystals can clump together over time and contribute to kidney stones.
Urinary Tract Infections
A urinary tract infection is one of the more concerning causes of foggy urine. When bacteria invade the urinary tract, your immune system sends white blood cells to fight them off. The resulting mixture of white blood cells, dead tissue, and bacteria is essentially pus, and it makes your urine look cloudy, sometimes with a white, yellow, or greenish tint. This condition is called pyuria.
UTI-related cloudiness almost always comes with other symptoms: a burning sensation when you pee, a frequent urgent need to go, lower abdominal pressure, or urine that smells unusually strong or foul. If you’re experiencing any of these alongside foggy urine, an infection is a likely explanation and will need treatment.
Sexually Transmitted Infections
Gonorrhea in particular can produce a thick, cloudy discharge from the penis or vagina that mixes with urine and makes it look foggy. Other STIs can cause similar urethral or vaginal discharge that contaminates your urine stream. The cloudiness from an STI often looks different from dehydration: it may appear thicker or have an unusual color, and it typically shows up alongside painful urination, unusual discharge between bathroom trips, or pelvic discomfort.
Vaginal Discharge
For women, perfectly normal vaginal discharge can mix with urine during urination and make it look foggy. This is one of the most common benign explanations for cloudy urine in women, and it doesn’t indicate any health problem on its own. Abnormal discharge from a yeast infection or bacterial vaginosis can also cause cloudiness, but you’d typically notice other symptoms like itching, odor, or changes in discharge consistency.
Semen in Urine for Men
If you notice foggy urine after orgasm, it may contain semen. In a condition called retrograde ejaculation, the muscle at the base of the bladder doesn’t tighten properly during orgasm. Instead of exiting through the penis, semen travels backward into the bladder. The next time you urinate, the semen mixes with your urine and gives it a milky, cloudy appearance. This is more common in men who have diabetes, have had prostate surgery, or take certain medications that affect bladder muscle tone.
Foamy vs. Foggy: A Useful Distinction
It’s worth knowing the difference between urine that looks foggy (hazy, cloudy, or murky) and urine that looks foamy (bubbly, like soap suds on the surface). They point to different things. Foggy urine involves suspended particles: crystals, cells, bacteria, or discharge. Foamy urine that persists and gets worse over time can signal excess protein leaking into your pee, a condition called proteinuria. Protein in urine acts like a surfactant, creating bubbles that don’t pop quickly.
Persistent foamy urine is worth paying attention to because it can be an early sign of kidney damage, particularly from diabetes or lupus. If your urine consistently foams up and you also notice swelling in your hands or feet, or if the foaminess gets progressively worse, that’s a different situation from occasional foggy yellow pee.
What to Watch For
Foggy yellow urine that shows up once or twice, especially when you haven’t been drinking much water or after a heavy meal, is rarely a concern. Try drinking an extra few glasses of water over the next day and see if it clears up.
The signs that something more is going on include cloudiness that persists for more than a few days despite good hydration, pain or burning during urination, blood in your urine (pink, red, or cola-colored pee), fever, back or flank pain, or unusual discharge. A standard urinalysis, which takes just a few minutes in a clinic, can check for white blood cells, bacteria, protein, crystals, and other markers that pinpoint the cause. Doctors rarely diagnose conditions based on urinalysis alone, so an abnormal result usually leads to additional testing rather than an immediate diagnosis.

