Cloudy urine usually means something harmless, like not drinking enough water. But it can also signal an infection, kidney stones, or other conditions that need attention. The key is whether the cloudiness goes away on its own after you hydrate, or whether it sticks around and comes with other symptoms.
Dehydration Is the Most Common Cause
When you don’t drink enough fluids, your urine becomes more concentrated. Minerals, waste products, and naturally occurring proteins bunch together in a smaller volume of liquid, making it look hazy or milky instead of clear. This is the most frequent reason for cloudy urine, and it resolves within a few hours once you start drinking water again. If your urine clears up after a glass or two, dehydration was likely the explanation.
Urinary Tract Infections
UTIs are the second most common cause, especially in women. When bacteria multiply in the bladder or urethra, your immune system floods the area with white blood cells. Those cells, along with the bacteria themselves, make urine look cloudy or murky. You’ll usually notice other symptoms too: a burning sensation when you pee, a frequent or urgent need to go, and urine that smells unusually strong or foul.
A simple urine test can confirm a UTI. The test checks for white blood cells and bacterial byproducts, and both markers have a specificity above 90%, meaning a positive result is highly reliable. UTIs typically clear within a few days of treatment.
Kidney Stones and Urinary Crystals
Tiny crystals can form in your urine when certain minerals build up faster than your body can flush them. The most common types are calcium oxalate and calcium phosphate crystals, which are also the leading cause of kidney stones. Uric acid crystals are another type, more likely in people with gout or type 2 diabetes. When enough of these crystals are present, they scatter light and make your urine appear cloudy or gritty.
Several dietary factors raise your risk. Diets high in animal protein (beef, pork, poultry, fish), sodium, and added sugars increase crystal formation. Certain high-oxalate foods also contribute: spinach, Swiss chard, almonds, rhubarb, beets, and potatoes with the skin. Even supplements can be a factor. Turmeric supplements, cinnamon supplements, and high-dose vitamin C all increase oxalate levels in your urine. Your liver converts excess vitamin C directly into oxalate.
If crystals are causing your cloudy urine, you may also notice pain in your side or lower back, pink or reddish urine, or discomfort when urinating. These symptoms suggest a stone may be forming or passing.
Sexually Transmitted Infections
Chlamydia and gonorrhea can both cause cloudy urine, often alongside discharge, pelvic pain, or burning during urination. Cloudiness alone isn’t enough to diagnose an STI, but if you’re sexually active and notice persistent changes in your urine along with other symptoms, testing is straightforward and worth doing early.
Excess Protein in Urine
Your kidneys normally filter very small amounts of protein, about 80 milligrams per day. When that number climbs above 150 milligrams per day, protein starts showing up in quantities that can make urine look foamy or cloudy. This condition, called proteinuria, is a sign that your kidneys aren’t filtering properly.
Mild, temporary increases can happen after intense exercise or during a fever. Persistent proteinuria, however, points to chronic kidney disease or other kidney damage. In severe cases, protein levels can reach 3,500 milligrams per day or more. If your urine is consistently foamy or cloudy and you don’t have an obvious explanation like dehydration, a urine test can measure your protein levels directly.
Cloudy Urine During Pregnancy
Pregnant women notice cloudy urine more often for several overlapping reasons. Morning sickness causes dehydration, which concentrates the urine. Increased vaginal discharge can mix with urine and change its appearance. Pregnancy also raises the risk of UTIs due to changes in urinary tract anatomy as the uterus grows.
The most serious pregnancy-related cause is preeclampsia, a condition involving high blood pressure and protein leaking into the urine from kidney stress. Preeclampsia typically develops after 20 weeks of pregnancy. Cloudy or foamy urine combined with swelling in the hands or face, severe headaches, or vision changes warrants immediate medical attention.
Causes Specific to Men
Retrograde ejaculation is a lesser-known cause of cloudy urine in men. Normally, semen travels forward through the urethra during orgasm. In retrograde ejaculation, the opening of the bladder doesn’t close properly, so semen flows backward into the bladder instead. The next time you urinate, the semen mixes with urine and makes it look cloudy or milky. This is most noticeable right after orgasm. It’s not dangerous, but it can affect fertility and is sometimes caused by medications, nerve damage, or prostate surgery.
Rare Causes
In uncommon cases, cloudy urine comes from lymphatic fluid leaking into the kidneys, a condition called chyluria. Lymphatic fluid normally carries fats from your intestines into your bloodstream. When lymph vessels aren’t functioning correctly, this milky, fat-rich fluid can leak into the urinary tract instead. The result is urine that looks distinctly white or milky, different from the hazy appearance of dehydration or infection. Chyluria is most often caused by parasitic infections found in South America, sub-Saharan Africa, and Southeast Asia, particularly India.
How to Tell if It’s Serious
A single episode of cloudy urine that clears up after drinking water is almost never a concern. The pattern to watch for is cloudiness that persists over multiple days or keeps coming back, especially alongside other symptoms. Burning or pain during urination, fever, back or side pain, unusual discharge, blood-tinged urine, or a strong odor all suggest something beyond simple dehydration.
The diagnostic process is quick. A basic urinalysis can detect white blood cells, bacteria, crystals, and excess protein in one test. If your urine has been persistently cloudy for more than two or three days without an obvious cause like low fluid intake, that’s enough reason to get it checked.

