Cloudy urine is usually caused by something straightforward: dehydration, a urinary tract infection, or mineral crystals forming in your urine. In most cases, it resolves on its own or with simple treatment. But persistent cloudiness, especially paired with pain or fever, can signal something that needs attention.
Dehydration Is the Most Common Cause
When you’re not drinking enough water, your kidneys concentrate your urine by holding onto less liquid. This raises the specific gravity of your urine, a measure of how many dissolved particles it contains. Normal urine falls in the 1.007 to 1.010 range; anything above that indicates relative dehydration. As concentration increases, minerals and salts can begin to precipitate out of solution, turning clear urine hazy or cloudy.
The fix is simple: drink more water. If dehydration is the cause, your urine should return to a pale yellow and clear appearance within a few hours of rehydrating. Dark yellow or amber urine that’s also cloudy is a strong hint that fluid intake is the issue.
Urinary Tract Infections
UTIs are the second most likely explanation, especially if the cloudiness comes with burning during urination, a frequent urge to go, or urine that smells unusually strong. The cloudiness itself comes from white blood cells flooding into your urine to fight the infection, a condition called pyuria. Clinically, pyuria is defined as 10 or more white blood cells per cubic millimeter of urine, but you don’t need a lab to notice the result: urine that looks milky, murky, or off-color.
Bacteria contribute to the appearance too. A standard urine dipstick tests for two markers of infection. Leukocyte esterase detects the enzyme released when white blood cells break apart. Nitrites indicate that certain bacteria (the types most commonly responsible for UTIs) are present. A positive nitrite result strongly suggests infection, though a negative one doesn’t rule it out, since some bacteria don’t produce nitrites at all. If your cloudy urine comes with any discomfort, a simple urinalysis can confirm or rule out a UTI quickly.
Mineral Crystals in Your Urine
Your urine naturally contains dissolved minerals. When the balance tips, too many minerals and not enough liquid, those minerals can form tiny crystals. The most common types include calcium oxalate, calcium phosphate, uric acid, and struvite. You may not feel anything at all. Crystals often show up only under a microscope during routine testing. But when there are enough of them, they can make your urine look cloudy or slightly foamy.
Several things push your urine toward crystal formation. Eating large amounts of protein, salt, or certain fruits and vegetables can shift your urine’s mineral load or pH, and both factors influence which crystals are likely to form. Chronic crystal formation also raises your risk of kidney stones over time. If this is a recurring issue, working with a dietitian to adjust your intake of calcium, oxalate, salt, and vitamin C can help. Cutting back on heavily processed foods is a practical first step, since they tend to be high in both sodium and sugar.
Protein in the Urine
Protein doesn’t normally appear in urine in significant amounts. When it does, the condition is called proteinuria (or albuminuria when the protein is specifically albumin). The hallmark visual symptom is foamy urine, the kind that looks like it could hold a lather. This is different from the general haziness of dehydration or crystals.
Protein leaks into urine when the kidneys’ filtering system is damaged. Diabetes is the leading cause of this kind of kidney damage, but high blood pressure, certain autoimmune diseases, and chronic kidney disease can all do it. A urine albumin-to-creatinine ratio below 30 mg/g is considered normal. Between 30 and 299 mg/g is moderately elevated, and 300 mg/g or higher is severely elevated. You won’t know your numbers without a lab test, but if your urine consistently looks foamy rather than just cloudy, it’s worth getting checked, particularly if you have diabetes or high blood pressure.
Causes Specific to Men
Men have a few additional possibilities. Prostatitis, or inflammation of the prostate, can cause white blood cells and inflammatory fluid to mix into urine, producing cloudiness along with pelvic pain or difficulty urinating.
Retrograde ejaculation is another cause. Normally, a muscle at the neck of the bladder tightens during orgasm to keep semen moving outward. When that muscle doesn’t close properly, semen travels backward into the bladder instead. The result is urine that looks cloudy after orgasm because it contains semen. This isn’t dangerous on its own, but it’s the most common cause of infertility related to ejaculation problems, so it’s worth discussing with a doctor if you’re trying to conceive.
Less Common Causes
Occasionally, cloudy urine points to something rarer. Chyluria is a condition where lymphatic fluid leaks into the kidneys and mixes with urine. Lymph fluid, called chyle, looks milky white because it carries fats absorbed from the intestines. Normally, your lymph vessels route chyle into the bloodstream for distribution throughout the body. When those vessels malfunction, chyle can leak into the urinary tract instead, producing urine that looks distinctly milky rather than just hazy. Chyluria is uncommon in most of the world but is seen more often in tropical regions where parasitic infections can damage the lymphatic system.
What the Color and Texture Tell You
Not all cloudiness looks the same, and the differences can be useful clues. Hazy, slightly off-color urine that clears up after a glass or two of water is almost certainly dehydration. Urine that’s persistently murky with a strong smell points toward infection. Foamy urine that forms bubbles on the surface suggests protein. And milky white urine, the kind that looks like diluted milk, is the signature of chyluria.
Urine that sat out at room temperature or in a refrigerator can also turn cloudy on its own. Minerals and salts naturally crystallize as urine cools, so a sample that looked clear when fresh may appear turbid later. This is normal and doesn’t indicate a problem.
When Cloudy Urine Needs Attention
A single episode of cloudy urine is rarely a concern. But certain combinations of symptoms suggest you should get it evaluated:
- Cloudiness lasting more than a few days despite staying well hydrated
- Pain or burning during urination, which typically signals infection or inflammation
- Blood or unusual odor in the urine
- Fever or chills, which can indicate the infection has spread beyond the bladder
- Abdominal or back pain, particularly pain in the flank area near your lower ribs, which may suggest a kidney infection or stones
A basic urinalysis is the standard first test. It checks for white blood cells, bacteria, protein, crystals, and other abnormalities in a single urine sample. Results usually come back within a day, and the test itself is painless and inexpensive. For most people with cloudy urine, that one test is enough to identify the cause or confirm that nothing is wrong.

