Skip to content
Sign in

My urine has been foamy for a few weeks and my ankles swell by evening. Is that a kidney problem?

An AskHim answer: what is known, what depends on you, and what only a clinician can decide.

From AskHim’s editorial team. The team wrote this question to open the topic. It is not anyone’s submission, and nobody’s own words are in it.

Editorially reviewed Version 1 · Last reviewed 11 November 2026 · English

The short explanation

It could be, and it is worth checking. Occasional froth when you pass urine forcefully is normal. Urine that stays foamy repeatedly can mean protein is leaking from the kidneys, and together with swelling of the ankles or around the eyes, that is a reason for a urine test and a kidney function blood test. Ankle swelling also has other causes, including heart problems, liver disease, some BP tablets, and long hours standing or sitting.

What depends on your situation

The parts of this that change from person to person. Uncertainty is stated, not hidden.

  • Diabetes and high BP are the commonest reasons for protein in the urine, so men with either should have it tested regularly. Finding it early matters, because treatment can slow kidney damage.
  • Swelling that goes by morning after a long day on your feet is common and often harmless. Swelling that is present on waking, or that comes with breathlessness, is more significant.

What this answer cannot determine

The boundary of online education. These need a clinician who can see you.

  • This cannot tell you whether there is protein in your urine or why your ankles swell. A simple urine test and blood tests are the starting point.

Questions for your clinician

Take these with you. You can add any of them to an appointment card.

  1. Can you test my urine for protein and check my kidney function?
  2. Could my BP tablets be causing the swelling?
  3. Should my heart or liver be checked?
  4. How often should I be tested from now on?

When to seek help

Clinician-approved guidance for this topic. When in doubt, being seen is never the wrong choice.

  • Get emergency care now (call 112 or 108) for swelling with breathlessness, chest pain, or being unable to lie flat, or for passing very little urine.
  • See a clinician within days for foamy urine that persists, swelling around the eyes, swelling in one leg only (especially if painful), or swelling with weight gain.

Sources

The evidence this explanation is built on.

  1. Protein in urine MedlinePlus (NIH)
  2. Oedema (swelling) NHS
  3. Chronic kidney disease (CKD) National Institute of Diabetes and Digestive and Kidney Diseases (NIH)

Who wrote and reviewed this

Every AskHim answer names its author. A clinically reviewed answer also names the clinician who signed it off — if no clinician is named below, it has not been clinically reviewed.

Author
AskHim Editorial (AI-assisted)
Clinical reviewer
Nobody yet No clinician has signed this answer off. That is what the “Editorially reviewed” badge means, and why it does not say “Clinically reviewed”. It was written and checked by AskHim’s editorial team against the sources listed above, and it is queued for a clinician who works in this area.
Review status
Editorially reviewed
Last reviewed
Last reviewed 11 November 2026
Version
1

Correction history

Substantive changes are listed, not quietly edited away.

No corrections have been made since this answer was first published.

Did this answer your question?

Whatever you choose is filed against this version of the answer, never against you, and it is never shown as a count.

Explain more simply

“Explain more simply” asks which part was hard to follow, so the author knows what to rewrite. “My question is different” tells the editorial team this answer missed your point, then lets you ask your own question privately. Nothing about you is sent with either.


Saving, following up and reporting are all private. Nothing you do on this page is visible to other readers or to the doctor who wrote it, unless you ask a question.