Requests

Laboratory tests

Foamy urine: when to worry

Almost everyone has seen foam in the toilet after urinating, and it nearly always means nothing.

Clínica Alegre practitioner examining a sample under a microscope, with test tubes beside it

Reviewed by Dr. Fernando Alegre

Clinical Director · OMD, registration no. 9688

Written by the Clínica Alegre team9-minute read

In this article

The challenge is distinguishing a harmless episode from foam that persists day after day and may be linked to protein loss in the urine. This is called persistent foamy urine. On its own, it is a non-specific sign, but it becomes more important in people with risk factors or when accompanied by other symptoms.

This article does not repeat the list of causes. It focuses on a practical question: when foam warrants concern, when you should have tests, when to speak to a doctor that day and when urgent help is needed. The message throughout is the same: the appearance of foam cannot provide a diagnosis, and what to do depends on each person's circumstances and a medical assessment.

Foam that is not a concern

Foam caused by a forceful stream, a very full bladder or cleaning products left in the toilet has large bubbles and disappears quickly. Concentrated urine after drinking little water, heat or exercise may also foam more. If foam occurs only occasionally, disappears within a few minutes and there are no other symptoms, a significant cause is unlikely.

A simple test at home can help: urinate into a clean container and observe. If the foam disappears quickly and does not consistently return over the following days, there is no cause for alarm. Even so, people with risk factors should have the urine albumin test recommended for their circumstances, regardless of foam.

FeatureTends to be harmlessWarrants testing
FrequencyOccasionalAlmost every day for weeks
DurationDisappears within seconds or a few minutesPersists for a long time
Clean containerNo persistent foamFoam also present in the container
Other symptomsNoneSwelling, dark urine, tiredness
ContextNo known conditionsDiabetes, high blood pressure, family history of kidney disease

Who should pay closer attention to foam

The KDIGO 2024 guidelines identify groups at higher risk of chronic kidney disease for whom regular urine albumin testing and kidney function assessment are appropriate. In these people, persistent foamy urine is an additional reason not to delay tests.

People who have taken medicines that can affect the kidney for a long time, have previously had acute kidney injury or have autoimmune diseases should also be alert. Foam does not replace routine monitoring, but may be a reason to bring it forward.

GroupWhy it matters
DiabetesCommon cause of kidney damage with albumin loss
High blood pressureDamages the kidney's filters over time
Cardiovascular diseaseAssociated with kidney disease
Family history of kidney diseasePossible inherited causes
ObesityAssociated with hyperfiltration and other risk factors
Autoimmune diseases (for example, lupus)May affect the kidney
Previous acute kidney injuryHigher risk of chronic kidney disease

Signs that make foam more significant

Foam becomes more significant when it appears with other signs. Swelling of the legs, ankles, around the eyes on waking, or abdomen suggests fluid retention, which may result from substantial protein loss. Rapid weight gain without a change in diet points in the same direction. An unexpected rise in blood pressure is another clue.

Dark, tea- or cola-coloured urine, or visible blood, suggests inflammation of the kidney's filters. According to Ingelfinger's review, the combination of blood and protein in urine is one of the main clues to glomerular disease, which requires assessment by nephrology. Persistent tiredness, loss of appetite, nausea or widespread itching may also accompany reduced kidney function, although these symptoms are non-specific.

Associated signSuggested priority
Mild swelling, no other symptomsAppointment within the next few days, with tests
Marked swelling or rapid weight gainPrompt medical contact, ideally the same day
Dark or bloody urineContact a doctor the same day
New high blood pressureAppointment soon; earlier if very high or accompanied by symptoms
Persistent tiredness, nausea, itchingAppointment with tests

Warning signs: when it is urgent

Some situations require immediate help. Shortness of breath, particularly when lying down, may indicate fluid in the lungs. A marked reduction in urine, or no urine for many hours, may mean acute kidney injury. People losing substantial amounts of protein are also at greater risk of blood clots. A painful, hot leg swollen on one side, or chest pain with sudden shortness of breath, therefore requires a call to 112.

Very abnormal test results, such as a very high potassium level or rapidly rising creatinine, are treated as a priority by the laboratory and doctor. If you are contacted about such a result, follow the instructions you receive.

Red flagWhat to do
Shortness of breath, particularly when lying downCall 112 or go to A&E
Little or no urine for many hoursSame-day urgent care
Painful leg swollen on one sideUrgent assessment
Chest pain or sudden shortness of breathCall 112
Confusion, marked drowsinessCall 112

Pregnancy

During pregnancy, urine is checked for protein at every antenatal appointment because, when combined with high blood pressure from the second half of pregnancy onwards, it may indicate pre-eclampsia. A pregnant woman may not notice any foam, and its absence is not reassuring.

A severe headache, blurred vision or flashing lights, pain in the upper abdomen, sudden swelling of the face or hands, and reduced baby movements are signs requiring immediate contact with the maternity team, attendance at a maternity emergency department or a call to 112.

Children and young people

In children, swelling around the eyes on waking that improves during the day, together with foamy urine, is a typical sign of substantial protein loss and warrants prompt contact with a paediatrician. The KDIGO 2021 guidelines treat childhood nephrotic syndrome as a distinct condition managed by specialists.

In teenagers and young adults, orthostatic proteinuria, which occurs only in urine collected while upright, is a recognised cause of protein in the urine without disease. Diagnosis involves comparing the first urine of the morning with a sample from the rest of the day and must be made by a doctor.

Why you should neither ignore it nor panic

Chronic kidney disease is often silent in its early stages, and albuminuria is one of the first signs. The KDIGO 2024 guidelines stress that identifying albuminuria early makes it possible to use measures and medicines that slow progression and reduce cardiovascular risk. Ignoring persistent foam in someone with risk factors is therefore a missed opportunity.

On the other hand, most foam is unrelated to disease. Research into foam as a symptom is limited and cannot give it a precise diagnostic value. A reasonable balance is to have a simple test when there is a reason and leave interpretation to the doctor.

When foam appears after starting a medicine

Some people notice foam or changes in their urine after starting a medicine. Certain medicines can affect the kidney, including non-steroidal anti-inflammatory drugs used for long periods, some antibiotics, and medicines used for rheumatic conditions and cancer. Others, such as sodium-glucose cotransporter-2 inhibitors prescribed for diabetes, heart failure or kidney disease, intentionally increase glucose in the urine. This may change its appearance without indicating damage.

In these cases, speak to the doctor who prescribed the medicine rather than stopping it on your own. Herbal products and supplements should also be mentioned, as some can be toxic to the kidney.

SituationSuggested approach
Foam after starting to take anti-inflammatory medicines regularlySpeak to your doctor or pharmacist; avoid prolonged use without advice
Foam with diabetes medicine that removes glucose through the urineTell your doctor; do not stop taking it
Cancer or immunological medicinesFollow the monitoring tests planned by your team
New herbal products or supplementsTell your doctor and consider stopping the non-prescribed product

What to do in practice

If foam persists, observe it for a few days in a clean container and note any swelling, weight changes or changes in urine colour. If you have risk factors or associated symptoms, speak to your doctor, who may order a urinalysis, an albumin-to-creatinine ratio and a blood creatinine test.

A high result will usually be confirmed in a new sample. Take a list of medicines, including anti-inflammatory medicines and supplements, and any blood pressure and glucose records to the appointment.

At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.

Frequently asked questions

How long should I wait before becoming concerned?

If foam persists for several days, particularly with risk factors, speak to your doctor. Do not wait if you have warning signs.

Can foam without other symptoms be kidney disease?

It can, but this is unlikely. Only a urine test can clarify the cause.

Swollen eyes in the morning and foamy urine: what could it be?

It may indicate protein loss and should be assessed promptly, particularly in children.

Can foam be a sign of diabetes?

Foam does not diagnose diabetes, but diabetes can damage the kidneys. If you are very thirsty and urinate frequently, speak to your doctor.

If the test is normal, can I forget about it?

Usually, yes, if there are no other signs. People with risk factors should continue the recommended monitoring.

Should I go to an emergency department because of foam?

Only if you have warning signs such as shortness of breath, reduced urine or chest pain.

Can a medicine cause foamy urine?

Some medicines can affect the kidney or change the composition of urine. Speak to the doctor who prescribed it before changing anything.

Did you enjoy this article?

Scientific references3
  1. Kidney Disease: Improving Global Outcomes (KDIGO) CKD Work Group. KDIGO 2024 Clinical Practice Guideline for the Evaluation and Management of Chronic Kidney Disease. Kidney Int. 2024;105(4S):S117–S314.
  2. Kidney Disease: Improving Global Outcomes (KDIGO) Glomerular Diseases Work Group. KDIGO 2021 Clinical Practice Guideline on the Management of Glomerular Diseases. Kidney Int. 2021;100(4S):S1-S276.
  3. Ingelfinger JR. Haematuria in adults. N Engl J Med. 2021;385(2):153–63.
Article information
Written by
Clínica Alegre team
Clinical review
Dr Fernando Alegre, Clinical Director · OMD, registration no. 9688
Published
2 Dec 2026
Last updated
2 Dec 2026
Topic
Laboratory tests
Reading time
9 min

See also

Related treatments

Want to know what is right for you?

Contact us on WhatsApp or book an assessment, in person or online.

Book an appointment

Book your assessment.

Choose Setúbal or Seixal. We reply within opening hours.

Newsletter

Get the latest news from the Clínica Alegre.

Blog articles and clinic news, delivered to your inbox. Unsubscribe at any time.