When Leg Swelling Comes From the Heart, Kidneys, Liver or Thyroid

Swollen legs are often treated as a leg problem. Sometimes they are the first visible sign that the heart, kidneys, liver or thyroid needs attention — and the pattern of the swelling, and what comes with it, is what points there.

Swelling that needs urgent assessment

Call 911 for leg swelling together with shortness of breath, chest pain or pressure, coughing up blood, or waking suddenly at night unable to catch your breath.

Same day for swelling that is getting worse when you already have heart or kidney disease, new swelling of the legs or abdomen with liver disease, swelling that has come on over hours to days, a leg that is red, warm or swollen on one side only, or new swelling alongside a much reduced amount of urine. In pregnancy, call straight away for sudden swelling of the face, hands or feet, especially with a severe headache, vision changes or pain just below the ribs. One swollen leg →

What makes a cause systemic

Local causes — a clot, an injury, an infection, a lymphatic blockage — usually affect one leg. Systemic causes are different: the body is holding on to too much fluid overall, or the blood is no longer holding fluid inside the vessels, and gravity deposits the result in the lowest place available. Guidance for family doctors in American Family Physician notes that swelling in both legs suggests a systemic cause such as heart failure, pulmonary hypertension, kidney or liver disease, or severe malnutrition.

Both legs does not settle the question on its own, though. Swelling is common — about one in five adults over 50 has it — and in that age group the most common cause is still the leg veins. Venous insufficiency →

The clues that point away from the legs and toward the rest of the body are: both legs affected and roughly symmetrical; swelling that also appears elsewhere, such as puffy eyes in the morning or a swollen abdomen; swelling that moves to the back and sacrum when someone spends the day lying down; and other symptoms that have nothing to do with legs at all.

Chart linking symptoms that come with swelling in both legs to heart, kidney, liver, thyroid, medicine or vein causes
What comes with the swelling is usually more telling than the swelling itself. The table below adds detail.

The systemic causes

Cause What tends to come with it First tests
Heart failure Breathlessness on exertion or lying flat, waking at night breathless, needing more pillows, fatigue, weight gain over days, a cough. Swelling is soft, pits, and is worse by evening BNP or NT-proBNP blood test; an echocardiogram if it is raised
Kidney disease Often nothing at all early on. Later: puffiness around the eyes, foamy urine, passing less urine, high blood pressure, fatigue Creatinine and eGFR; urine test for protein
Liver disease A swollen abdomen, yellowing of the eyes or skin, dark urine, easy bruising, confusion Liver tests and albumin
Low blood protein From kidney loss, liver disease, poor nutrition or gut disease. Soft, widespread swelling Albumin, plus tests for the cause
Underactive thyroid Fatigue, feeling cold, weight gain, dry skin, constipation. Severe cases cause a swelling that does not pit, mostly in the face, eyelids and hands TSH, sometimes free T4
Pulmonary hypertension and sleep apnea Breathlessness, chest pain or fainting with pulmonary hypertension; snoring, pauses in breathing and daytime sleepiness with sleep apnea Sleep apnea screening questions; an echocardiogram
Medicines Very common and often missed; usually starts weeks after a new medicine or dose. The full list → A full medication review
Pregnancy Gradual ankle swelling is normal. Sudden swelling with headache or vision change can mean preeclampsia Blood pressure and a urine test

How common these causes are

  • Heart failure: nearly 6.7 million US adults, according to the CDC.
  • Chronic kidney disease: about 14% of US adults, around 37 million people, rising to 34% of those 65 and older — and the CDC estimates 87% of adults with it do not know.
  • Cirrhosis: about 1 in 400 US adults, which the NIDDK considers probably an undercount.
  • Hypothyroidism: nearly 5 in 100 Americans aged 12 and over, more often women and people over 60.
  • Preeclampsia: 3% to 7% of pregnancies, after week 20 or in the six weeks after delivery.

The kidney figure is the one worth dwelling on. Early kidney disease usually causes no symptoms, and swollen ankles often arrive later — which is why a simple urine and blood test belongs in the workup of unexplained swelling in both legs.

Several causes at once is the rule, not the exception

An older person with mild heart failure, a calcium channel blocker for blood pressure, some venous insufficiency and a job that involves standing has four contributors. Finding one does not mean the others are not there, and treating only one often produces a disappointing result. If swelling has been investigated and only partly improved, that is usually why.

What the examination and tests look for

  1. Where else is the fluid? The abdomen, the face, the lungs, the sacrum. This is the question that separates systemic from local faster than anything.
  2. Does it pit, and how deep? Soft pitting swelling suggests fluid overload or low protein. Non-pitting swelling points toward thyroid or lymphatic causes. What pitting tells you →
  3. Blood pressure, pulse, oxygen level and weight. A steady gain over days is fluid, and it is measurable evidence.
  4. Blood and urine tests. The 2022 American Family Physician review suggests starting with BNP, thyroid function, liver tests, a basic metabolic panel for kidney function, and a urine protein test. A normal BNP usually means heart failure is unlikely, although kidney failure can push it up and obesity can make it read falsely low.
  5. An echocardiogram if the BNP is raised or the heart is otherwise in question. It measures the ejection fraction, which separates the main types of heart failure.
  6. Sleep apnea screening for long-standing swelling in both legs, which the same review recommends.
  7. A medication review covering everything, including anything bought over the counter.

What helps while the cause is being sorted out

Raising the legs above heart level for periods during the day, moving regularly rather than standing or sitting still, and keeping the skin intact and moisturized all help, and none of them interfere with the investigation. Elevation done properly →

Weighing yourself at the same time each morning and writing it down is genuinely useful. For heart failure in particular, the American Heart Association treats a gain of more than 2 to 3 pounds in a day, or 5 pounds in a week, as a sign that things are getting worse — unless your own team has given you a different number — and a clinician can act on it.

Compression helps venous swelling and is often appropriate here too, but it is not safe with significant artery disease, so the arterial supply is checked first, and it is used with care in poorly controlled heart failure because moving a large volume of fluid back into the circulation can overload it. Ask rather than assume. The safety check →

Diuretics are the right treatment for some of these causes and the wrong one for others. The 2022 American Family Physician review found no evidence supporting them for swelling that is not systemic, and prescribing one to counter swelling from a blood pressure medicine is a recognized “prescribing cascade”. They are a prescription decision that follows the diagnosis, not a general remedy for swollen legs.

From the clinic

Swollen ankles are often the first thing a patient mentions to me and the last thing they connect with their heart or kidneys. The question I always ask is how they are sleeping: someone who now needs extra pillows, or who wakes up gasping, does not need a stronger stocking — they need their heart checked this week. I also ask about every new prescription, because a blood pressure tablet started a few weeks earlier is a frequent and fixable explanation.

Common questions

How do I know if my swelling is my heart?

The companions matter more than the swelling. Breathlessness on exertion or when lying flat, waking at night short of breath, needing extra pillows, unexplained weight gain over days, and reduced exercise tolerance are the pattern. A BNP or NT-proBNP blood test helps: a normal result usually means heart failure is unlikely, and a raised one leads to an echocardiogram. Swelling alone, in someone who feels otherwise well, is much less likely to be cardiac — but it still deserves the basic tests.

Will cutting salt fix it?

It helps meaningfully in heart, kidney and liver-related fluid retention, and it does very little for venous or lymphatic swelling. It is a sensible thing to do while waiting for an appointment and it is not a substitute for finding the cause. Food, salt and swelling →

My tests all came back normal but my legs still swell. What now?

Then the cause is most likely local or postural rather than systemic — venous insufficiency, long periods sitting or standing, obesity, or a medication. After 50, the veins are the most common cause of swelling in both legs. Normal blood tests are a useful result, not a dead end: they redirect the search to the legs themselves, and a venous ultrasound is often the next step. More →

Can sleep apnea cause swollen legs?

Yes. Obstructive sleep apnea has been shown to cause edema, partly by raising pressure on the right side of the heart, and the 2022 American Family Physician review recommends screening people with long-standing swelling in both legs for it. Loud snoring, pauses in breathing at night and daytime sleepiness are worth mentioning.

Should I take a water pill for swollen ankles?

Only if a cause that needs one, such as heart, kidney or liver disease, has been found. There is no evidence for diuretics in swelling that is not systemic, they can cause harm of their own, and if the swelling began with a new blood pressure medicine, the better fix is usually to change that medicine. Do not stop or start anything without your prescriber.

Why do my ankles swell more in hot weather?

Heat widens the small vessels near the skin, so more fluid leaks into the tissue and gravity does the rest. It is common, it is not in itself a sign of disease, and it usually settles with cooling and elevation. Swelling that is new, one-sided, painful, or persists into cooler weather is a different matter.

Sources

  1. Patel AR, et al. Peripheral edema: evaluation and management in primary care. Am Fam Physician 2022.
  2. Trayes KP, et al. Edema: diagnosis and management. Am Fam Physician 2013.
  3. StatPearls. Peripheral Edema.
  4. American Heart Association. Managing Heart Failure Symptoms.
  5. Centers for Disease Control and Prevention. Heart Failure.
  6. MedlinePlus, National Library of Medicine. Natriuretic Peptide Tests (BNP, NT-proBNP).
  7. Centers for Disease Control and Prevention. Chronic Kidney Disease in the United States.
  8. NHS. Chronic kidney disease: symptoms.
  9. National Institute of Diabetes and Digestive and Kidney Diseases. Definition and Facts for Cirrhosis.
  10. National Institute of Diabetes and Digestive and Kidney Diseases. Hypothyroidism (Underactive Thyroid).
  11. MedlinePlus, National Library of Medicine. Preeclampsia.
  12. NHS. Swollen ankles, feet and fingers in pregnancy.
  13. National Heart, Lung, and Blood Institute. Pulmonary Hypertension: Causes.
  14. MedlinePlus, National Library of Medicine. Foot, leg, and ankle swelling.

Written by Tom Biernacki, DPM, FACFAS. Published 21 September 2026. Updated 16 October 2026. General education, not medical advice.