🚨 EMERGENCY — Call 112 or 911 Immediately If You Notice:
- Sudden shortness of breath or inability to breathe lying flat
- Chest pain or pressure combined with leg swelling
- Coughing up blood or blood-tinged sputum
- Rapid onset swelling of one leg with severe pain, warmth, and redness
- Sudden confusion, pallor, cold sweats, or loss of consciousness
- Swelling of the face, tongue, or throat (anaphylaxis)
These symptoms may indicate pulmonary embolism, acute heart failure, DVT, or anaphylactic shock. Do not wait. Call emergency services.
What Is Leg Swelling (Edema)?
Leg swelling — medically known as peripheral edema — occurs when excess fluid accumulates in the tissues of the lower limbs. It can affect the feet, ankles, calves, or the entire leg, and may be present in one leg (unilateral) or both (bilateral). The pattern, onset, and accompanying symptoms are crucial clues in determining the cause.
Edema is not a diagnosis in itself — it is a symptom that reflects an underlying physiological process. In many cases, it is entirely benign and self-resolving. In other cases, it signals a serious medical condition requiring urgent evaluation. Knowing the difference can be life-saving.
A simple bedside test helps distinguish types: press your thumb firmly against the swollen shin for 5 seconds. If an indentation remains when you remove your finger, this is called pitting edema and suggests fluid from the bloodstream has leaked into surrounding tissues — a pattern commonly seen in heart failure, kidney disease, and liver cirrhosis. Non-pitting edema, where the tissue stays firm after pressure, points more toward lymphedema or hypothyroidism.
What Causes Leg Swelling? A Clinical Overview
The causes of leg edema are wide-ranging, spanning cardiovascular, renal, hepatic, lymphatic, infectious, and pharmacological origins. The table below provides a structured differential diagnosis organized by urgency.
| Cause | Typical Pattern | Key Clues | Urgency |
|---|---|---|---|
| Deep Vein Thrombosis (DVT) | Unilateral | Sudden onset, calf pain, warmth, redness, recent travel or immobility | EMERGENCY |
| Acute Heart Failure | Bilateral, pitting | Rapid progression, orthopnea, dyspnea, elevated BNP | EMERGENCY |
| Cellulitis | Unilateral | Fever, red warm skin, spreading erythema, skin break or wound | EMERGENCY |
| Chronic Heart Failure | Bilateral, pitting, worse at day’s end | Known cardiac history, orthopnea, fatigue, elevated JVP | URGENT |
| Nephrotic Syndrome / CKD | Bilateral, pitting; may include facial edema | Foamy urine, proteinuria, hypoalbuminemia, periorbital puffiness | URGENT |
| Liver Cirrhosis / Hepatic Failure | Bilateral + ascites | Jaundice, spider angiomata, alcohol history, distended abdomen | URGENT |
| Chronic Venous Insufficiency | Bilateral or unilateral, worsens with standing | Varicose veins, skin discoloration, heaviness, relieves on elevation | ELECTIVE |
| Lymphedema | Unilateral or bilateral; non-pitting | History of cancer, surgery, or radiation; skin thickening (peau d’orange) | ELECTIVE |
| Medication-Induced Edema | Bilateral, dependent | Calcium channel blockers, NSAIDs, corticosteroids, hormonal therapy | ELECTIVE |
| Hypothyroidism (Myxedema) | Bilateral, non-pitting | Fatigue, cold intolerance, weight gain, bradycardia, dry skin | ELECTIVE |
| Idiopathic / Physiological Edema | Bilateral, mild | Prolonged standing/sitting, heat, pregnancy, menstrual cycle, high salt intake | ELECTIVE |
Heart-Related Causes of Leg Swelling
Cardiovascular disease is one of the most clinically significant sources of bilateral lower-limb edema. When the heart fails to pump blood forward efficiently, fluid backs up into the venous system and leaks into the interstitial spaces — particularly in the gravity-dependent areas of the body, such as the ankles and lower legs.
Heart Failure
Heart failure is perhaps the most important cardiac cause of bilateral pitting leg edema. In right-sided or biventricular heart failure, elevated venous pressures drive fluid out of the capillary beds and into surrounding tissue. The edema characteristically worsens throughout the day (with upright posture) and partially resolves overnight when the patient lies down. Associated symptoms — orthopnea (difficulty breathing when lying flat), paroxysmal nocturnal dyspnea, rapid weight gain, and reduced exercise tolerance — are red flags that demand prompt medical evaluation.
Patients with known heart failure should monitor their weight daily. A gain of more than 2 kg in 48 hours may signal decompensation and warrants urgent contact with their cardiologist. Learn more in our detailed guide: Heart Failure: Causes, Symptoms, and Treatment.
Cardiogenic Shock
In its most severe form, cardiac decompensation can manifest as cardiogenic shock — a state of profound circulatory failure resulting from primary cardiac dysfunction. Leg swelling in this context is accompanied by signs of systemic hypoperfusion: cold clammy extremities, altered consciousness, severe hypotension, and oliguria. This is a life-threatening emergency requiring immediate hospital admission and hemodynamic support.
Atrial Fibrillation
Chronic atrial fibrillation can contribute to leg swelling through two mechanisms: (1) impaired ventricular filling from the loss of coordinated atrial contraction reduces cardiac output, and (2) AFib frequently leads to or coexists with heart failure, which directly causes peripheral edema. In AFib with rapid ventricular response, the heart’s inefficient pumping can cause fluid to accumulate in the lungs and lower limbs simultaneously.
Pericarditis and Pericardial Effusion
Inflammation of the pericardium — pericarditis — can, in its more advanced forms, progress to constrictive pericarditis or cardiac tamponade. Constrictive pericarditis impedes diastolic filling of the right heart, raising central venous pressure and driving dependent edema. This rare but serious complication requires specialist evaluation.
Deep Vein Thrombosis: The Cause You Must Not Miss
Deep vein thrombosis (DVT) is the formation of a blood clot within a deep vein, most commonly in the calf, thigh, or pelvis. It presents classically with unilateral leg swelling, pain, warmth, and redness — although up to 50% of cases are clinically silent.
DVT carries serious consequences. A clot that breaks free can travel through the venous circulation, pass through the right side of the heart, and lodge in the pulmonary vasculature — causing pulmonary embolism (PE), which can be rapidly fatal. Approximately one in four people with untreated DVT will develop PE within three months.
Risk factors for DVT include prolonged immobility (long-haul flights, bed rest, post-surgical recovery), malignancy, pregnancy, obesity, oral contraceptives, hereditary thrombophilia (e.g., Factor V Leiden), and a personal or family history of thromboembolism. The Wells score is a validated clinical tool used to stratify DVT probability before diagnostic imaging.
Clinical Tip: Any patient presenting with sudden unilateral leg swelling, especially after recent travel, surgery, or hospitalization, should be evaluated for DVT with D-dimer blood test and lower-limb Doppler ultrasound. Do not dismiss calf pain as a muscle strain without ruling out thrombosis.
Other Important Causes
Chronic Venous Insufficiency
Chronic venous insufficiency (CVI) is one of the most prevalent causes of leg swelling in the general population. Incompetent venous valves allow blood to pool in the lower extremities, creating increased hydrostatic pressure and subsequent fluid extravasation. Patients typically describe a progressive, bilateral heaviness and swelling that is worse after prolonged standing and relieves with leg elevation. Visible varicose veins, brownish skin discoloration (hemosiderin deposition), and, in severe cases, venous ulceration are characteristic features. Management includes compression therapy, leg elevation, and in some cases, surgical or endovascular intervention.
Kidney Disease
The kidneys regulate fluid balance and plasma protein levels. In nephrotic syndrome — characterized by massive proteinuria (>3.5 g/day), hypoalbuminemia, and hyperlipidemia — the reduction in plasma oncotic pressure causes fluid to shift from the intravascular compartment into the interstitial spaces. The result is diffuse pitting edema, often starting in the feet and ankles but potentially extending to the face and abdomen. Chronic kidney disease (CKD) impairs sodium and water excretion, further contributing to fluid retention.
Liver Disease
Liver cirrhosis reduces the synthesis of albumin, lowering plasma oncotic pressure in a similar mechanism to nephrotic syndrome. Portal hypertension — elevated pressure in the hepatic venous system — compounds this by driving fluid into the abdominal cavity (ascites) and peripheral tissues. Leg edema in the context of cirrhosis is typically accompanied by abdominal distension, jaundice, and stigmata of chronic liver disease (spider angiomata, palmar erythema, caput medusae).
Lymphedema
Lymphedema results from impaired lymphatic drainage, leading to accumulation of protein-rich fluid in the tissues. It produces non-pitting edema — firm, doughy swelling that does not indent with pressure. Secondary lymphedema is far more common than primary forms and most frequently follows lymph node dissection (breast cancer surgery), radiation therapy, or recurrent infections. Unlike venous edema, lymphedema does not fully resolve with overnight elevation.
Medication-Induced Edema
A number of widely prescribed medications are well-established causes of bilateral dependent edema. Calcium channel blockers (particularly dihydropyridines such as amlodipine and nifedipine) are among the most common culprits, causing arteriolar dilation that increases capillary hydrostatic pressure. NSAIDs cause sodium and water retention through inhibition of renal prostaglandins. Corticosteroids, certain antidepressants (MAOIs, gabapentinoids), thiazolidinediones (used in type 2 diabetes), and estrogen-containing hormonal therapies can also cause leg swelling. Reviewing a patient’s medication list is an essential step in any edema evaluation.
Hypothyroidism
In severe hypothyroidism, the deposition of glycosaminoglycans in the dermis produces non-pitting edema (myxedema), most prominent around the face, hands, and lower legs. This is typically a late-stage finding in undertreated or undiagnosed hypothyroidism and is accompanied by classic features: fatigue, cold intolerance, weight gain, bradycardia, constipation, and slowed reflexes. TSH measurement is a simple first-line test.
Diagnostic Approach: How Doctors Evaluate Swollen Legs
A structured approach to leg edema begins with a focused history and physical examination, followed by targeted investigations based on clinical suspicion.
Key History Questions
The clinician will typically ask: Is the swelling in one leg or both? How quickly did it develop? Is it better in the morning and worse by evening? Does it improve with leg elevation? Are there associated symptoms such as shortness of breath, chest pain, palpitations, or abdominal bloating? What medications is the patient taking? Any recent travel, surgery, or prolonged immobility? Any personal or family history of heart, kidney, or liver disease?
Physical Examination
Examination should assess the distribution of swelling (unilateral vs. bilateral), skin temperature and color, whether edema is pitting or non-pitting, the presence of varicosities, skin changes (hemosiderin, lipodermatosclerosis), and signs of systemic disease. Cardiovascular examination includes auscultation for heart sounds and lung crackles, assessment of jugular venous pressure (JVP), and blood pressure measurement. Abdominal examination should assess for ascites.
Investigations
Depending on clinical findings, investigations may include: full blood count, renal and liver function tests, serum albumin, thyroid function (TSH), urinalysis (proteinuria), BNP or NT-proBNP (heart failure marker), D-dimer (DVT/PE screening), ECG, chest X-ray, echocardiogram, and lower-limb venous Doppler ultrasound. The latter is the gold standard for DVT diagnosis. For more on cardiac investigations, see our article on Cardiac Diagnostic Tests: From ECG to Coronary Angiogram and our dedicated guide to the cardiac stress test.
Red Flag Symptoms: When to Seek Medical Attention
⚠️ See a Doctor Urgently (Same Day) If You Have:
- Sudden, unexplained swelling of one leg — especially after recent immobility
- New or worsening shortness of breath alongside leg swelling
- Leg swelling in the context of known heart, kidney, or liver disease
- Rapid weight gain of more than 2 kg in 48–72 hours
- Leg swelling accompanied by palpitations or irregular heartbeat
- Swelling that does not resolve after overnight elevation
Mild bilateral leg swelling that develops after a long day on your feet, a hot day, or prolonged sitting — and that fully resolves by the next morning — is generally benign. However, any swelling that is persistent, asymmetric, rapidly worsening, or associated with systemic symptoms deserves prompt medical evaluation. Early diagnosis and treatment are essential for conditions such as DVT, heart failure, and nephrotic syndrome. For patients experiencing heart palpitations alongside leg swelling, our articles on heart palpitations and dizziness with heart palpitations may be relevant.
Treatment Principles
Treatment of leg swelling is always directed at the underlying cause. There is no single universal remedy, and self-treating without a diagnosis is not recommended for persistent edema.
For heart failure, the cornerstone of management is diuretic therapy (loop diuretics such as furosemide), ACE inhibitors or ARBs, beta-blockers, and mineralocorticoid receptor antagonists, guided by a cardiologist. Daily weight monitoring and salt restriction are essential components of self-management.
For DVT, anticoagulation therapy — either low-molecular-weight heparin, direct oral anticoagulants (DOACs) such as rivaroxaban or apixaban, or warfarin — is initiated promptly to prevent clot propagation and pulmonary embolism. Duration of treatment depends on whether the DVT was provoked or unprovoked.
For chronic venous insufficiency, graduated compression stockings (at least 20–30 mmHg) form the basis of conservative management, alongside daily leg elevation and regular physical activity. Endovenous ablation or sclerotherapy may be considered for significant varicosities.
For medication-induced edema, the offending drug may be substituted or the dose adjusted after discussion with the prescribing physician. Patients should never stop cardiovascular medications without medical supervision.
For benign physiological swelling, self-help measures include elevating the legs above heart level for 30 minutes several times daily, reducing dietary sodium, wearing compression socks during long periods of standing or travel, staying well hydrated, and engaging in regular low-impact exercise such as walking or swimming.
Frequently Asked Questions
What is the most common cause of leg swelling?
The most common causes of bilateral leg swelling include prolonged standing or sitting, heart failure, chronic venous insufficiency, kidney disease, and certain medications. Unilateral swelling is more likely to indicate deep vein thrombosis (DVT), cellulitis, or lymphedema.
When is leg swelling an emergency?
Call 112 or 911 immediately if leg swelling is accompanied by sudden shortness of breath, chest pain, coughing up blood, severe one-sided leg pain with warmth and redness, confusion, or signs of anaphylaxis. These may indicate pulmonary embolism, acute heart failure, or DVT.
Can heart problems cause swollen legs?
Yes. Heart failure is one of the most common cardiac causes of bilateral leg swelling. When the heart cannot pump blood efficiently, fluid accumulates in the tissues of the lower limbs, causing pitting edema. Atrial fibrillation and cardiogenic shock can also contribute.
What is pitting edema and how is it tested?
Pitting edema is identified by pressing a finger firmly into the swollen area for 5 seconds. If an indentation (pit) remains after pressure is released, this is called pitting edema. It suggests fluid accumulation from systemic causes such as heart failure, kidney disease, or hypoalbuminemia.
What tests does a doctor order for leg swelling?
Depending on clinical suspicion, investigations may include complete blood count, metabolic panel (kidney and liver function), BNP or NT-proBNP (heart failure marker), D-dimer, lower limb Doppler ultrasound, chest X-ray, ECG, and echocardiogram.
Can medications cause leg swelling?
Yes. Several common drug classes are well-known causes of dependent edema, including calcium channel blockers (e.g., amlodipine), NSAIDs, corticosteroids, thiazolidinediones, certain antidepressants, and hormonal therapies such as estrogen-containing contraceptives.
Bibliography
- McDonagh TA, et al. 2021 ESC Guidelines for the diagnosis and treatment of acute and chronic heart failure. Eur Heart J. 2021;42(36):3599–3726. doi:10.1093/eurheartj/ehab368
- Konstantinides SV, et al. 2019 ESC Guidelines on acute pulmonary embolism. Eur Heart J. 2020;41(4):543–603. doi:10.1093/eurheartj/ehz405
- Hingorani AD, et al. Venous thromboembolism: incidence, risk factors and prevention. NEJM. 2008;358:1037–1052.
- Piazza G, Seddighzadeh A, Goldhaber SZ. Heart failure in patients with deep vein thrombosis. Am J Cardiol. 2008;101(7):1056–1059. PubMed
- Piazza G, Goldhaber SZ. Venous thromboembolism and heart failure: pathophysiology, predictability, prevention. JACC. 2020;75(4):401–409. JACC link
- Guo R, et al. Incidence and characteristic of deep venous thrombosis in hospitalized chronic heart failure patients. Heart Vessels. 2024. Springer link
- National Heart, Lung, and Blood Institute. Deep Vein Thrombosis. NIH. nhlbi.nih.gov
- Mayo Clinic. Deep vein thrombosis (DVT) — Symptoms and causes. mayoclinic.org
- American Heart Association. Heart Failure — Symptoms and Diagnosis. heart.org
- Ely JW, Osheroff JA, Chambliss ML, Ebell MH. Approach to leg edema of unclear etiology. J Am Board Fam Med. 2006;19(2):148–160.
- Cho S, Atwood JE. Peripheral edema. Am J Med. 2002;113(7):580–586.
- Trayes KP, Studdiford JS, Pickle S, Tully AS. Edema: diagnosis and management. Am Fam Physician. 2013;88(2):102–110.
- Erickson VS, et al. Ankle edema in heart failure: results from the registry to improve the use of evidence-based heart failure therapies. Circulation. 2008;118:S540.
