The short answer: A few bubbles that vanish within moments are usually normal. They often come from a strong stream or from concentrated urine. Foam that forms thick layers and keeps coming back can be a sign of protein in the urine (proteinuria), an early marker of kidney damage. A simple urine albumin-to-creatinine ratio (UACR) test can tell the difference.

Is some foam in the toilet normal?

Often, yes. A 2019 commentary by two nephrologists in the Clinical Journal of the American Society of Nephrology explains the difference. A single layer of larger bubbles that quickly goes away can be considered normal. Foamy urine, in the medical sense, is multiple layers of small to medium bubbles that persist.

Foam forms when gas gets trapped in liquid with the help of a surfactant. A surfactant is a substance with one end that likes water and one end that avoids it. Soap works this way. Normal urine contains some of these substances, such as bile salts. The authors say this could explain why some people see a single layer of foam, especially when urine is concentrated.

Two everyday factors make harmless bubbles more likely:

  • A fast, forceful stream. Urine that hits the water hard pushes more air into it. This happens after holding urine for a long time.
  • Concentrated urine. When you are low on fluids, the substances in urine are less diluted. First-morning urine and urine after exercise or heat are often darker and more concentrated.

The National Kidney Foundation puts it simply: occasional bubbles can be normal, but ongoing foamy urine should be checked.

When does foam point to protein in the urine?

Proteins are natural surfactants, so they help bubbles last. Healthy kidneys have tiny filters that keep protein in the blood. The National Kidney Foundation says that when these filters are damaged, protein can leak into the urine and make it look bubbly or foamy. It compares the look to the bubbles you see when you pour soda or beer.

The main protein doctors test for is albumin. NIDDK explains that a healthy kidney does not let albumin pass into the urine, but a damaged kidney lets some through. Having albumin in the urine is called albuminuria.

Foam is not a reliable test on its own, though. In a 2012 Korean clinic study, 72 new outpatients complained of foamy urine. Of these, 16 (22.2%) had overt proteinuria. In the 38 patients who also had an albumin test, 12 (31.6%) had raised albumin or overt proteinuria. The CJASN commentary reaches a similar conclusion: only about one third of people who report foamy urine turn out to have abnormal proteinuria. So most foamy urine has no kidney cause. A minority does, and that minority matters.

Heavy protein loss is a feature of nephrotic syndrome. MedlinePlus lists a foamy appearance of the urine as a symptom, along with swelling. Swelling is the most common symptom. It can appear around the eyes, in the feet and ankles, or in the belly.

Which conditions cause protein in the urine?

Diabetes and high blood pressure are the two big ones. The National Kidney Foundation calls them common causes of kidney damage. MedlinePlus says the most common cause of a high level of albumin in the urine is diabetes.

Chronic kidney disease (CKD) is common and usually silent. The CDC estimates that 14% of U.S. adults, about 37 million people, have CKD. It also reports these figures:

  • 87% of adults with CKD do not know they have it.
  • 38% of adults with diabetes have CKD.
  • 21% of adults with high blood pressure have CKD.

Other causes can raise urine protein, sometimes only for a short time. MedlinePlus lists these:

  • Heart failure
  • Dehydration
  • Urinary tract infections or a bladder tumor
  • Preeclampsia during pregnancy
  • Multiple myeloma, a blood cancer
  • Fever or hard exercise

If you have high blood pressure, hypertension.md covers how it is measured and managed. Constant thirst and frequent urination can point to diabetes, which our guide to why you might always be thirsty covers.

Can foamy urine have other causes?

Yes. The CJASN authors list substances besides protein that can act as surfactants in urine. Some disorders of the kidney tubules, such as Fanconi syndrome, cause large amounts of amino acids in the urine. Liver conditions that block bile flow (cholestasis) can raise bile salts in the urine. The authors say both could, in theory, cause foam even when a dipstick shows no albumin. They describe this as a prediction that has not been widely tested.

They add one more point. Dipsticks can miss a type of protein called free light chains, which occurs in monoclonal gammopathies such as multiple myeloma. Your clinician may order other tests if the foam is new and the dipstick is negative.

For men, retrograde ejaculation is a separate cause of a change in the urine. It happens when semen goes backward into the bladder instead of out of the penis. MedlinePlus lists cloudy urine after orgasm and little or no semen as the symptoms. Causes include diabetes, some blood pressure and mood medicines, and prostate surgery. It is mainly a problem for men who are trying to conceive.

How do doctors test for protein in the urine?

Testing is quick and painless. It involves a urine sample, and usually a blood test as well.

  1. Dipstick test. A chemically treated strip changes color when protein is present. MedlinePlus notes that dehydration, hard exercise, and a urinary tract infection can affect the result.
  2. Urine albumin-to-creatinine ratio (UACR). This compares albumin with creatinine in a single sample. NIDDK says a result of 30 mg/g or less is normal, and more than 30 mg/g may be a sign of kidney disease. MedlinePlus says 300 mg/g or more is called macroalbuminuria.
  3. Repeat testing. NIDDK says your provider may repeat the urine test one or two more times to confirm a positive result.
  4. Blood test for GFR. This estimates how well the kidneys filter. NIDDK says a GFR of 60 or more is in the normal range.

The National Kidney Foundation advises people with ongoing foam to ask for a UACR test by name. MedlinePlus says anyone with diabetes should be tested every year. Global kidney guidance comes from the KDIGO 2024 CKD guideline, which uses both GFR and albuminuria to classify CKD.

When should you see a doctor about foamy urine?

Make a routine appointment if any of these apply:

  • The foam shows up most days and lasts for minutes, not seconds.
  • It persists even when you drink enough fluid.
  • You have diabetes, high blood pressure, heart disease, or a family history of kidney disease.
  • You notice swelling in the face, ankles, or belly.
  • You see blood in the urine. The National Kidney Foundation says blood in the urine is never normal.

Seek care sooner if foamy urine comes with swelling and less urine output, or with fever and pain when you urinate. A short note of when the foam appears, and what you drank, helps your clinician. Our symptom journaling guide shows how to keep one. If you also wake at night to urinate, see our guide on peeing at night.

The bottom line

A few bubbles that disappear quickly are usually harmless, often from a strong stream or concentrated urine. Persistent, layered foam deserves a urine test, because protein in the urine is an early sign of kidney damage. Diabetes and high blood pressure are the most common causes. Most people with early kidney disease have no other symptoms, and a UACR test needs only a urine sample.

Last updated: October 2026. This article is for informational purposes only and does not constitute medical advice. If you notice persistent foamy urine, swelling, or blood in your urine, talk with a licensed clinician.