sofidexFor patientsAre you a clinician? Clinical site

Health Library  ›  Questions  ›  What causes cloudy urine?

Question · Cloudy urine

What causes cloudy urine?

Cloudy urine can be caused by harmless crystals, concentrated urine, mucus, semen, or vaginal discharge mixing with urine. It can also result from a urinary tract infection, kidney stones, a sexually transmitted infection, or blood or protein in the urine.

QuestionReviewed 2026-11-22sofidex editorial standards

Common harmless causes
Crystals, concentrated urine, mucus, semen, or vaginal discharge
Possible medical causes
Urinary infection, kidney stones, sexually transmitted infections, or kidney conditions
Cloudiness alone
Cannot confirm an infection
Useful next step
A fresh, properly collected urine sample

Why urine may look cloudy

Urine may look hazy or milky when it contains crystals, mucus, semen, vaginal discharge, white blood cells, blood, bacteria, or excess protein. It can also become cloudy after sitting in a container because crystals form as it cools.

A urinary tract infection may add white blood cells and bacteria. Burning, urgency, frequent urination, or discomfort low in the abdomen make an infection more likely, but appearance alone cannot diagnose one.

Other possible causes

Kidney stones can add blood, crystals, or inflammatory cells and may cause sharp pain in the side or back. Sexually transmitted infections can inflame the urethra—the tube that carries urine out of the body—and may cause burning or genital discharge.

Kidney conditions can allow protein or blood cells into urine. Protein often causes persistent foam, sometimes with swelling around the eyes or ankles.

What to do

If mild dehydration may be responsible, drink enough water to keep your urine pale yellow unless a healthcare professional has told you to limit fluids. There is no need to force large amounts of water.

Cloudiness itself does not need treatment. If it lasts more than a few days, keeps returning, or occurs with other symptoms, a fresh urine test can help identify the cause. Do not take antibiotics based only on cloudy appearance.

When to get help. Arrange medical care if cloudiness persists or comes with burning, frequent urination, pain, discharge, persistent foam, swelling, or visible blood. Get same-day help for fever, chills, back or side pain, vomiting, or feeling very unwell; seek emergency care if you cannot urinate, have severe or rapidly worsening pain, confusion, fainting, trouble breathing, or blood clots that interfere with urination.

Sources

  1. 1National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK). Definition and facts of bladder infection in adults
  2. 2NIDDK. Symptoms and causes of kidney infection
  3. 3MedlinePlus, U.S. National Library of Medicine. Urinalysis
  4. 4MedlinePlus, U.S. National Library of Medicine. Urine—abnormal color
  5. 5Simerville JA, Maxted WC, Pahira JJ. Urinalysis: A comprehensive review . American Family Physician . 2005;71(6):1153–1162.

Health information, not medical advice. Nothing here replaces talking to your own doctor about your own situation.