Cloudy urine usually means something dissolved or suspended in your pee is scattering light instead of letting it pass through. The most common cause is a high concentration of alkaline minerals, particularly phosphates, which is often harmless. But cloudiness can also signal an infection, dehydration, or a kidney problem, so the context matters: how long it’s been happening, whether it hurts, and what other symptoms you notice.
Dehydration and Mineral Concentration
When you’re not drinking enough water, everything in your urine becomes more concentrated. Minerals, proteins, and waste products pack together more tightly, and that alone can make your pee look hazy or milky instead of clear. This is the simplest explanation and the one worth ruling out first. If you drink a few extra glasses of water over the course of a day and the cloudiness clears up, dehydration was likely the issue.
Concentrated urine also shifts in pH, which can cause tiny crystals to form. Your kidneys filter out minerals like calcium, phosphate, and uric acid all the time. When your urine is too acidic or too alkaline, those minerals clump into microscopic crystals that cloud the fluid. On their own, occasional crystals are harmless. But if they keep forming, they can eventually grow into kidney stones.
Urinary Tract Infections
UTIs are one of the most recognized causes of cloudy urine, especially in women. When bacteria colonize the bladder or urethra, your immune system floods the area with white blood cells. Those cells, along with dead tissue and bacteria, form pus, a thick fluid that can appear white, yellow, or even greenish. Mixed into your urine, it creates visible cloudiness.
A UTI rarely causes cloudiness alone. You’ll typically also notice a burning sensation when you pee, a frequent and urgent need to go (even when your bladder isn’t full), and urine that smells unusually strong or foul. Some people develop pelvic pressure or lower abdominal discomfort. If the infection spreads to the kidneys, you may feel pain in your side or lower back, run a fever, or experience nausea. That combination of symptoms needs prompt medical attention.
Sexually Transmitted Infections
Chlamydia, gonorrhea, and trichomoniasis can all produce discharge from the urethra that mixes with urine and makes it look cloudy. The discharge itself ranges from thin and mucus-like to thick and pus-filled, depending on the infection. In many cases, especially with chlamydia, the infection causes few or no other noticeable symptoms for weeks or months, so cloudy urine might be the first thing you pick up on.
Gonorrhea tends to cause more obvious symptoms in men, including a noticeable yellowish or greenish discharge and painful urination. In women, it’s easier to miss because discharge can blend with normal vaginal fluid. If you’re sexually active and your cloudy urine doesn’t have a clear explanation, STI testing is a straightforward way to check.
Kidney Problems and Protein in Urine
Healthy kidneys keep protein in the bloodstream and out of urine. When the kidney’s filtering system is damaged, protein leaks through. Even small amounts of protein, as low as 4 milligrams per deciliter, can create visible turbidity. Higher levels tend to make urine look foamy rather than cloudy, with bubbles that linger in the toilet bowl after flushing.
Chronic kidney disease, diabetes-related kidney damage, and high blood pressure can all cause this kind of protein leakage. Diabetes adds another layer: when blood sugar is poorly controlled, excess sugar spills into urine. High sugar concentrations on their own can make urine appear cloudy. If your urine is persistently foamy or cloudy and you have risk factors like diabetes, high blood pressure, or a family history of kidney disease, a simple urine test can measure protein levels and catch problems early.
Kidney Stones
Kidney stones form when minerals in urine crystallize and stick together. As stones move through the urinary tract, they can irritate tissue and trigger inflammation, sending white blood cells and small amounts of blood into the urine. Both can cause cloudiness. You might also notice a pink or reddish tint.
The hallmark of a kidney stone is intense, wave-like pain in your side or lower back that radiates toward your groin. Small stones sometimes pass without much drama, but larger ones can block urine flow and cause severe pain, nausea, and vomiting. Cloudy urine with that kind of pain is a strong signal to get evaluated quickly.
Prostatitis in Men
For men specifically, an inflamed prostate gland (prostatitis) is a common cause of cloudy urine. The prostate sits just below the bladder and surrounds the urethra, so when it’s swollen or infected, inflammatory fluid can mix directly into urine as it passes through.
Prostatitis often comes with pain in the groin, lower back, or the area between the scrotum and rectum. Urination can be painful or difficult, and you may feel a frequent urge to go. Some men also experience discomfort in the penis or testicles. Prostatitis can be caused by bacteria (and treated with antibiotics) or by nonbacterial inflammation, which is more common and harder to pin down.
Chyluria: The Rare Milky Cause
In rare cases, urine turns an opaque milky white rather than just hazy. This is chyluria, a condition where lymphatic fluid leaks into the kidneys. Lymph fluid normally circulates through its own network of vessels, carrying fats and immune cells back to the bloodstream. When something disrupts or damages those vessels near the kidneys, the fat-rich fluid drains into urine instead, giving it a distinctive milk-like appearance. Chyluria is uncommon in the U.S. but more prevalent in tropical regions where certain parasitic infections can damage lymphatic vessels.
When Cloudy Urine Is Harmless
Not every episode of cloudy urine means something is wrong. A meal high in phosphorus-rich foods (dairy, meat, beans, nuts) can temporarily raise phosphate levels in urine enough to cloud it. This is especially noticeable if your urine is also on the alkaline side, since phosphate crystals precipitate more readily in alkaline conditions. The cloudiness usually resolves within a few hours as your body processes the meal.
Vaginal discharge mixing with urine during collection is another frequent, benign explanation in women. If cloudiness only appears sometimes and you have no pain, burning, fever, or unusual smell, it’s likely one of these harmless causes. Persistent cloudiness over several days, cloudiness paired with any kind of pain, or a color change toward pink, red, or brown is worth getting checked with a basic urinalysis. The test takes minutes and can distinguish between minerals, white blood cells, protein, sugar, and bacteria, pointing quickly to whether anything needs treatment.

