Leg Swelling: Heart, Veins, Kidneys, or Medication?

Medically Reviewed & Edited

Board-Certified Invasive Cardiologist
Encinitas and La Jolla, CA

Developed with digital research and writing assistance, then medically reviewed and edited by Dr. Rasch to ensure clinical accuracy and adherence to current evidence-based guidelines.

Patients come to my office with leg swelling all the time, and the first question almost every one of them asks is whether it's their heart. The honest answer is that it depends. Sometimes it's the heart. Sometimes it's the veins. Sometimes it's the kidneys, the liver, the thyroid, a medication, a clot, an infection, or just hours of sitting in an airplane. The treatments for these are completely different, which is why getting the diagnosis right matters more than just starting a diuretic and hoping for the best.

I'm Dr. Damian Rasch, a cardiologist in Encinitas. This article is the framework I use in clinic when a patient walks in with new or worsening leg swelling. I'll walk through what cardiac swelling looks like, what the major non-cardiac causes look like, what the workup involves, when to call 911 versus your doctor versus wait, and the most common questions patients ask me when we're sitting in the room together.

Why the Legs Swell in the First Place

All swelling comes from fluid leaking out of capillaries into the surrounding tissues. The forces that drive that movement are well-described in physiology textbooks (the Starling equation, for the curious), but in practical terms, four things can shift the balance toward leakage.

The first is increased venous pressure. When the veins back up, the capillaries upstream of them are forced to push against higher pressure, and fluid starts leaking out. This is the mechanism in heart failure, in venous insufficiency, in DVT, in pregnancy, and in any condition that obstructs venous drainage from the legs.

The second is decreased plasma oncotic pressure. The proteins in your blood (mostly albumin) hold fluid inside the vessels. When albumin drops, fluid leaks out. This is the mechanism in nephrotic syndrome (kidney protein loss), liver disease (decreased albumin synthesis), and severe malnutrition.

The third is increased capillary permeability. Inflammation, infection, and allergic reactions can make the capillary walls leakier than normal. This is the mechanism in cellulitis, in some autoimmune conditions, and in angioedema.

The fourth is impaired lymphatic drainage. The lymphatic system normally clears the small amount of fluid that leaks into tissues every day. When it can't (because of surgery, radiation, infection, or congenital absence), fluid accumulates. This is lymphedema, which has its own distinct appearance and treatment.

Most leg swelling falls into the first category, which is why so many of the conditions on the differential involve the cardiovascular system. The diagnostic question is which mechanism is in play, and the answer comes from history, exam, and a small number of focused tests.

What Cardiac Leg Swelling Looks Like

Heart-related leg swelling has a recognizable pattern, and once you've seen a few cases the diagnosis often becomes obvious from across the room. The classic features are bilateral, symmetric, lower-extremity edema that pits when you press on it, often worse at the end of the day, often improved overnight (after lying flat for hours), and accompanied by other signs of fluid overload.

The pitting is important. When you press a finger firmly into the front of the shin for ten seconds and remove it, a fluid-overloaded leg will retain a depression that takes seconds to minutes to fill back in. The depth of the indentation is the basis for the clinical grading scale (1+ to 4+ pitting). Lymphedema, by contrast, doesn't pit much because the fluid is bound up with proteins and tissue. Venous insufficiency pits but often has accompanying skin changes (hyperpigmentation, induration, varicosities). Cellulitis is usually unilateral, warm, and red.

Cardiac edema usually starts in the feet and ankles, especially in patients who spend most of the day upright. As the volume overload progresses, the swelling climbs the calf and then the thigh. In severe right-sided heart failure or in patients who spend most of their time in bed, the edema may distribute differently, accumulating in the sacrum and the abdomen rather than the legs.

A patient with cardiac edema almost never has it as the only symptom. The same physiology that puts fluid in the legs is putting fluid in the lungs, in the abdomen, and around the heart. So the patient with cardiac leg swelling typically also has shortness of breath with exertion, orthopnea (worse breathing when lying flat), paroxysmal nocturnal dyspnea, weight gain over days to weeks, decreased appetite, and fatigue. The constellation, taken together, points strongly toward heart failure as the cause.

Sudden weight gain of three to five pounds over a few days, combined with new or worsening edema, is one of the most reliable signs of heart failure decompensation. Patients with established heart failure are often asked to weigh themselves daily for exactly this reason. The numbers on the scale change before the symptoms get bad.

The Cardiac Conditions That Cause Leg Swelling

Several heart conditions cause leg swelling, and the workup is partly about figuring out which one because the treatments differ.

Heart failure, both HFrEF and HFpEF, is the most common cardiac cause. The mechanism in HFrEF is reduced forward output causing neurohormonal activation (renin, angiotensin, aldosterone, sympathetic nervous system) that drives sodium and water retention. The mechanism in HFpEF is elevated filling pressures causing venous congestion. Either way, fluid accumulates in the dependent areas. Treatment includes diuretics for symptoms and the four-pillar regimen (beta-blocker, ACE inhibitor or ARB or sacubitril/valsartan, MRA, SGLT2 inhibitor) for HFrEF, or SGLT2 inhibitor and aggressive comorbidity management for HFpEF.

Right heart failure, often from chronic lung disease (cor pulmonale), pulmonary hypertension, or right ventricular infarction, causes prominent leg swelling because the right heart can't move venous return forward. The hallmark is elevated jugular venous pressure on exam, often with hepatomegaly and ascites in addition to peripheral edema.

Constrictive pericarditis is uncommon but treatable. A scarred, thickened pericardium acts like a rigid box that prevents the heart from filling properly during diastole. The result is elevated venous pressures upstream, with prominent leg swelling, ascites, and elevated JVP. The diagnosis requires a high index of suspicion, careful echo with attention to respiratory variation, and often invasive hemodynamics or cardiac MRI. Treatment is pericardiectomy, which is curative when successful.

Tricuspid regurgitation, when severe, causes back-up of blood into the right atrium and venous system. Patients often have prominent venous pulsations in the neck, hepatic congestion with palpable pulsation, ascites, and leg edema. Treatment depends on the cause and severity, ranging from medical management to transcatheter or surgical valve repair.

Pericardial effusion with tamponade physiology can present with leg swelling, although shortness of breath and hypotension usually dominate the picture. The diagnosis is made by echo, and the treatment is pericardiocentesis when hemodynamic compromise is present.

When the Cause Is Probably Not Cardiac

Several non-cardiac conditions cause leg swelling, and recognizing them is part of every cardiology evaluation because patients often arrive thinking the heart must be the culprit.

Chronic venous insufficiency is the single most common cause of bilateral leg swelling in primary care. The valves in the leg veins, which normally prevent backflow, become incompetent over time. Blood pools in the leg veins, capillary pressure rises, fluid leaks. The classic appearance is bilateral lower-leg swelling worse at the end of the day, with skin changes (hyperpigmentation in the gaiter area around the ankles, induration of the skin, sometimes varicose veins). Treatment is graduated compression stockings, leg elevation when possible, weight loss, and sometimes endovenous ablation procedures for incompetent saphenous veins.

Deep vein thrombosis (DVT) usually causes unilateral leg swelling, often with calf pain or tenderness, sometimes with warmth or redness. Risk factors include recent surgery (especially orthopedic), prolonged immobility, cancer, hormone therapy, pregnancy and postpartum, prior DVT, inherited thrombophilias, and central venous catheters. The diagnosis is usually made with venous duplex ultrasound. Untreated DVT can embolize to the lungs and cause pulmonary embolism, which is why prompt diagnosis and anticoagulation matter.

Lymphedema is the result of impaired lymphatic drainage, either congenital (primary lymphedema) or acquired (after surgery, radiation, infection, or filariasis in tropical regions). The classic features are non-pitting edema, often with a positive Stemmer sign (inability to pinch the skin on the dorsum of the second toe), and sometimes with the woody, fibrotic skin changes of chronic lymphedema. Treatment is complex decongestive therapy with manual lymphatic drainage, multilayer bandaging, and compression garments.

Liver disease, especially cirrhosis, causes leg swelling through reduced albumin synthesis (low oncotic pressure) and portal hypertension. Patients often have ascites, spider angiomata, palmar erythema, gynecomastia, and other stigmata of chronic liver disease. The workup includes liver function tests, INR, albumin, ammonia, and abdominal imaging.

Kidney disease, especially nephrotic syndrome (urine protein loss greater than 3.5 grams per day), causes leg swelling through hypoalbuminemia and sodium retention. The workup includes a urinalysis with protein/creatinine ratio, basic chemistries, and often a kidney biopsy when the cause isn't obvious.

Hypothyroidism, when severe, causes a non-pitting edema called myxedema, often with fatigue, cold intolerance, weight gain, dry skin, hair loss, and constipation. A TSH level confirms the diagnosis.

Medications are a frequently overlooked cause of leg swelling. The major culprits are calcium channel blockers (especially amlodipine and nifedipine), thiazolidinediones (pioglitazone), gabapentin and pregabalin, NSAIDs, corticosteroids, and some hormonal therapies. The pattern is usually bilateral, dependent edema that started or worsened after a new medication. Stopping the offending drug usually resolves the swelling within days to weeks.

Cellulitis is a bacterial skin infection that causes unilateral leg swelling with warmth, redness, tenderness, and often fever. It can be hard to distinguish from DVT, and sometimes both are present (especially in immobile patients). The workup includes inspection for a portal of entry (an old wound, a fungal infection between the toes, an insect bite), inflammatory markers, and sometimes blood cultures or wound cultures.

Pregnancy commonly causes bilateral leg swelling in the second and third trimester from a combination of hormonal effects, increased blood volume, mechanical compression of the inferior vena cava by the gravid uterus, and venous stasis. Most pregnancy-related edema is benign, but pregnant patients are at increased risk of DVT and PE, and any unilateral swelling, calf pain, or shortness of breath warrants prompt evaluation.

When Leg Swelling Is an Emergency

Most leg swelling is not an emergency, but a few situations warrant urgent evaluation.

Call 911 or go to the emergency department immediately if you have leg swelling with sudden shortness of breath (worry about PE), with chest pain (worry about acute MI or PE), with severe one-sided leg pain or coolness or color change (worry about acute limb ischemia or massive DVT), with pink frothy sputum (worry about acute pulmonary edema), or with severe redness, fever, and rapidly spreading skin changes (worry about necrotizing fasciitis, which is rare but a true emergency).

Contact your doctor the same day for new unilateral leg swelling (worry about DVT), for new bilateral leg swelling with shortness of breath or weight gain over a few days (worry about heart failure decompensation), for leg swelling with redness, warmth, and tenderness (worry about cellulitis), for leg swelling that's worsening rapidly without an obvious cause, or for leg swelling in a pregnant patient (especially if asymmetric).

Schedule a primary care or cardiology visit within a week or two for chronic mild bilateral edema that's been gradually worsening, for new edema in a patient with known heart failure who's stable, for leg swelling that you suspect is medication-related, or for chronic venous changes that have started to worsen. The clinic is the right place when the swelling is stable and the patient is otherwise comfortable.

The Workup

In clinic, the workup for new leg swelling starts with a careful history and exam, which typically narrows the differential considerably before any tests are ordered.

The history covers when the swelling started, whether it's bilateral or unilateral, whether it's getting better or worse, what makes it better or worse (elevation, lying down, walking), what associated symptoms are present (shortness of breath, chest pain, weight gain, abdominal swelling, decreased urine output, fevers, calf pain), what the patient's medication list looks like, and what medical history is relevant (heart disease, kidney disease, liver disease, prior DVT, cancer, thyroid disease).

The exam includes vital signs, a careful cardiovascular exam (jugular venous pressure, heart sounds, murmurs, gallops), a careful pulmonary exam (crackles, decreased breath sounds), an abdominal exam (hepatomegaly, ascites, abdominal-jugular reflux), and a careful examination of the legs themselves (extent of edema, pitting versus non-pitting, symmetry, skin changes, warmth, tenderness, presence of varicose veins, Stemmer sign, palpable cord, Homan sign).

Labs typically include a BNP or NT-proBNP when heart failure is on the differential, a basic metabolic panel to check kidney function and electrolytes, liver function tests when liver disease is suspected, albumin to assess oncotic pressure, a urinalysis with protein/creatinine ratio when nephrotic syndrome is on the differential, a TSH when hypothyroidism is suspected, and a D-dimer when DVT is on the differential and clinical pretest probability is low to intermediate.

Imaging depends on the suspected cause. Venous duplex ultrasound of the legs is the test of choice for DVT, with very high sensitivity and specificity. An echocardiogram is appropriate when heart failure is suspected and gives information about ventricular function, valvular disease, pulmonary pressure, and pericardial pathology. Abdominal ultrasound is useful when liver disease or ascites is suspected. Chest X-ray can show pulmonary congestion or pleural effusions. Lymphoscintigraphy is occasionally used to confirm lymphedema.

For patients with longstanding chronic edema where the cause has been established and the question is about management, repeat testing is usually unnecessary unless the clinical picture changes.

Common Patient Questions

My ankles are swollen at the end of the day but normal in the morning. Is that bad?

It depends on the rest of the picture. Mild dependent ankle swelling that resolves with overnight elevation is often venous insufficiency or a normal response to prolonged standing or sitting. If it's symmetric, mild, and not accompanied by shortness of breath, weight gain, or other heart-related symptoms, it's usually benign. If it's getting progressively worse over weeks, if it's spreading up the leg, if it's accompanied by exertional dyspnea or orthopnea, or if it doesn't fully resolve overnight, it deserves evaluation. Get a BNP, an EKG, and consider an echo if there's any concern.

One of my legs is much more swollen than the other. Should I worry about a clot?

Yes, this deserves prompt evaluation. Unilateral leg swelling, especially if accompanied by calf pain, calf tenderness, warmth, or recent immobility (long flight, recent surgery, hospitalization), raises concern for DVT. Get a venous ultrasound the same day. Untreated DVT can embolize to the lungs and cause pulmonary embolism. The treatment for confirmed DVT is anticoagulation, usually with a direct oral anticoagulant for three to six months.

I started amlodipine for my blood pressure and now my ankles are swollen. Is that the medication?

Almost certainly. Calcium channel blockers, especially amlodipine and nifedipine, cause peripheral edema in 5 to 25 percent of patients depending on the dose. The mechanism is preferential dilation of arterioles relative to venules, causing increased capillary pressure. The swelling is bilateral, dependent, and usually appears within weeks of starting the medication. The fix is usually to switch to a different antihypertensive (an ACE inhibitor, ARB, or thiazide diuretic) or to add a low-dose ACE inhibitor or ARB, which mitigates the edema. Don't stop the medication without talking to your prescriber.

My BNP is normal but my legs are still swollen. Could it still be my heart?

Possibly, but less likely. A normal BNP makes heart failure as the cause of edema unlikely in most patients, especially those who are not severely obese and who don't have very chronic, well-compensated HFpEF. If BNP is normal and the patient still has bilateral edema, the workup pivots toward venous insufficiency, medication side effects, kidney disease, liver disease, hypothyroidism, and lymphedema. An echocardiogram is still reasonable if the clinical picture really does look cardiac.

I have heart failure and my legs are getting more swollen. Should I just take more diuretic?

In some cases yes, but you should call your cardiologist before doing it. Patients with heart failure are often given a "sliding scale" diuretic plan that lets them adjust the dose based on weight gain and symptoms (similar to how diabetics adjust insulin). If you're outside your usual range or if increasing the diuretic doesn't bring the weight back down within a few days, you need to be seen. The reason is that worsening edema can mean several different things (worsening valve disease, atrial fibrillation, anemia, kidney dysfunction, dietary sodium load) and the right intervention isn't always more diuretic. Sometimes it's an admission for IV diuresis, sometimes it's an adjustment to your other medications.

I'm pregnant and my legs are swollen. When should I worry?

Some bilateral leg swelling in pregnancy is normal and very common, related to increased blood volume, hormonal vasodilation, and mechanical compression of the inferior vena cava by the uterus. It's usually worst in the third trimester and resolves within weeks of delivery. You should worry and call your obstetrician if the swelling is sudden, asymmetric, accompanied by calf pain (worry about DVT, which is increased in pregnancy), accompanied by sudden severe headache or visual changes (worry about preeclampsia), or accompanied by sudden facial or hand swelling with high blood pressure (also preeclampsia). Severe shortness of breath with leg swelling in pregnancy or postpartum can indicate peripartum cardiomyopathy and warrants prompt cardiac evaluation.

My legs got really swollen after a long flight. Is that a clot?

It might be, but it's more often just postural edema from prolonged sitting. If the swelling is bilateral, mild, resolves over a day or two with walking and elevation, and isn't accompanied by calf pain or shortness of breath, it's usually benign. If the swelling is unilateral, if there's calf pain or tenderness, or if you have any shortness of breath or chest pain, get evaluated for DVT and PE. Risk factors that increase concern include longer flights (over four hours), older age, recent surgery, cancer, hormone therapy, prior clots, and inherited clotting disorders.

I have venous insufficiency and compression stockings help. Do I need anything else?

Compression stockings are the cornerstone, and consistent daily use is the most important intervention. Adjuncts include leg elevation when possible (above heart level for 30 minutes, several times a day), weight loss if applicable, regular walking (which uses the calf-muscle pump to help venous return), avoidance of prolonged standing, and addressing any contributing medications. For patients with significant varicose veins or symptoms despite conservative therapy, endovenous ablation procedures (endovenous laser, radiofrequency ablation, or sclerotherapy) can close incompetent veins and improve symptoms.

A Final Note From Me

Leg swelling is one of those symptoms that makes patients worry about their heart but often turns out to be something else. The good news is that the workup is straightforward and the treatments for most causes are effective. The bad news is that some of the causes (DVT, heart failure decompensation, advanced kidney or liver disease) need prompt attention, and dismissing leg swelling as "just my veins" can occasionally turn out to be a mistake.

If your leg swelling is new, asymmetric, accompanied by shortness of breath or chest pain, accompanied by sudden weight gain over a few days, or progressing rapidly, get evaluated. If it's chronic, mild, bilateral, and stable, with no other symptoms, it's reasonable to bring it up at your next routine visit. The goal of the workup is to sort out which mechanism is driving the swelling so the treatment can target the right thing rather than just suppressing the symptom.

For patients with established heart failure, daily weights and a clear plan for what to do when they go up are some of the most useful tools in keeping you out of the hospital. The numbers on the scale change before the symptoms get bad, and catching decompensation early often turns a hospital admission into a phone call and a temporary diuretic adjustment. If you have heart failure and you don't have a daily weight habit, talk to your cardiologist about starting one.

References

1. Heidenreich, Paul A., Biykem Bozkurt, David Aguilar, et al. "2022 AHA/ACC/HFSA Guideline for the Management of Heart Failure." Circulation 145, no. 18 (2022): e895-e1032.

2. Ortel, Thomas L., Ignacio Neumann, Walter Ageno, et al. "American Society of Hematology 2020 Guidelines for Management of Venous Thromboembolism: Treatment of Deep Vein Thrombosis and Pulmonary Embolism." Blood Advances 4, no. 19 (2020): 4693-4738.

3. Gloviczki, Peter, Anthony J. Comerota, Michael C. Dalsing, et al. "The Care of Patients with Varicose Veins and Associated Chronic Venous Diseases: Clinical Practice Guidelines of the Society for Vascular Surgery and the American Venous Forum." Journal of Vascular Surgery 53, no. 5 Suppl (2011): 2S-48S.

4. Trayes, Kathryn P., Janelle S. Studdiford, Sarah Pickle, and Amber S. Tully. "Edema: Diagnosis and Management." American Family Physician 88, no. 2 (2013): 102-110.

5. Sica, Domenic A. "Calcium Channel Blocker-Related Peripheral Edema: Can It Be Resolved?" Journal of Clinical Hypertension 5, no. 4 (2003): 291-294, 297.

6. Wang, Charlie S., J. Mark FitzGerald, Michael Schulzer, Edwin Mak, and Najib T. Ayas. "Does This Dyspneic Patient in the Emergency Department Have Congestive Heart Failure?" JAMA 294, no. 15 (2005): 1944-1956.

7. Adler, Yehuda, Philippe Charron, Massimo Imazio, et al. "2015 ESC Guidelines for the Diagnosis and Management of Pericardial Diseases." European Heart Journal 36, no. 42 (2015): 2921-2964.

8. Rockson, Stanley G. "Lymphedema." American Journal of Medicine 110, no. 4 (2001): 288-295.

9. Davis, Esa M., Michael S. Ewald, Sharon Reis, et al. "Peripartum Cardiomyopathy: JACC State-of-the-Art Review." Journal of the American College of Cardiology 75, no. 2 (2020): 207-221.

10. Konstantinides, Stavros V., Guy Meyer, Cecilia Becattini, et al. "2019 ESC Guidelines for the Diagnosis and Management of Acute Pulmonary Embolism." European Heart Journal 41, no. 4 (2020): 543-603.

Published on damianrasch.com. The above information was composed by Dr. Damian Rasch, drawing on individual insight and bolstered by digital research and writing assistance. The information is for educational purposes only and does not constitute medical advice.