Leg Swelling: What Could Be Causing It?

At a glance
- Most common cause / chronic venous insufficiency affecting an estimated 150 million people worldwide
- Most dangerous acute cause / deep vein thrombosis (DVT), which carries a 25% risk of pulmonary embolism if untreated
- One-leg vs. Both legs / unilateral swelling points toward DVT, cellulitis, or Baker's cyst; bilateral swelling points toward systemic disease
- Key diagnostic test / compression duplex ultrasound is the first-line imaging for suspected DVT per ACC/AHA guidelines
- Pitting vs. Non-pitting / pitting edema suggests fluid overload; non-pitting edema suggests lymphatic obstruction or myxedema
- Red-flag symptoms / sudden onset, warmth, redness, chest pain, or shortness of breath require same-day evaluation
- First-line treatment / depends entirely on cause; diuretics for cardiac edema, anticoagulation for DVT, compression for venous insufficiency
- Medications that commonly cause bilateral leg swelling / amlodipine, nifedipine, gabapentin, NSAIDs, and corticosteroids
- Prevalence of heart failure edema / roughly 50% of patients with symptomatic heart failure report lower-extremity edema as a presenting complaint
How Doctors Categorize Leg Swelling
Leg swelling is not a single disease. It is a physical sign that reflects fluid accumulation in the interstitial space of the lower extremity, and the cause determines both prognosis and treatment.
Clinicians divide edema into two broad categories: unilateral (one leg only) and bilateral (both legs). This distinction alone narrows the differential diagnosis considerably. Unilateral swelling usually reflects a local process in that limb. Bilateral swelling almost always points toward a systemic condition affecting the heart, kidneys, liver, or lymphatics.
Pitting vs. Non-Pitting Edema
Pressing a finger firmly against the shin for five seconds and releasing it reveals whether the swelling pits. Pitting means the fluid can be displaced, which points toward sodium-and-water retention from cardiac, renal, or hepatic causes, or from venous insufficiency. Non-pitting edema resists that displacement and suggests the interstitial space contains protein-rich fluid or fibrous tissue. Lymphedema and hypothyroid myxedema are the two most common non-pitting presentations.
Acute vs. Chronic Onset
Onset timing is equally telling. A leg that swells over hours warrants immediate exclusion of DVT or cellulitis. Swelling that has crept up over weeks to months is more consistent with venous insufficiency, heart failure, or medication side effects. The American College of Cardiology notes that roughly 50% of patients with newly diagnosed symptomatic heart failure present with bilateral lower-extremity edema as one of the first symptoms they notice [1].
Deep Vein Thrombosis: The Cause You Cannot Miss
DVT occurs when a blood clot forms in a deep vein of the calf, thigh, or pelvis. Left untreated, clot propagation can result in pulmonary embolism (PE), which carries a 30-day mortality of roughly 10% in confirmed PE cases according to the RIETE registry (N=15,944) [2].
Classic Presentation and Risk Factors
The classic presentation is one swollen, warm, tender leg, often accompanied by a dull ache that worsens with standing. Classic risk factors include recent surgery (particularly orthopedic procedures), prolonged immobility, active cancer, pregnancy, oral contraceptive use, and inherited thrombophilia such as Factor V Leiden.
The Wells DVT score assigns points to each clinical feature. A score of 2 or higher classifies patients as "DVT likely" and warrants immediate compression duplex ultrasound. If ultrasound is negative but clinical suspicion remains high, a D-dimer assay and repeat imaging at 5 to 7 days are recommended under the 2023 American Society of Hematology (ASH) guidelines [3].
Treatment
Anticoagulation is the standard of care. Direct oral anticoagulants (DOACs) such as rivaroxaban 15 mg twice daily for 21 days followed by 20 mg daily, or apixaban 10 mg twice daily for 7 days followed by 5 mg twice daily, are first-line per ASH 2023 [3]. Warfarin remains an option where DOACs are contraindicated.
Chronic Venous Insufficiency: The Most Prevalent Cause
Chronic venous insufficiency (CVI) affects an estimated 150 million people globally and is responsible for the majority of leg swelling seen in outpatient primary care [4]. Incompetent venous valves allow blood to pool in the lower extremities, raising venous hydrostatic pressure and pushing fluid into surrounding tissue.
Recognizing CVI
Swelling is typically bilateral, worse at the end of the day, and relieves overnight with leg elevation. Patients often describe a feeling of heaviness or aching. Skin changes progress over time: early stages show dilated superficial veins and mild pitting edema; advanced CVI produces lipodermatosclerosis (thickened, discolored skin), hemosiderin deposition (a brownish staining), and eventually venous ulceration near the medial malleolus.
Evidence-Based Management
Graduated compression stockings (30 to 40 mmHg) remain the backbone of CVI management and have been shown to reduce edema volume by 20 to 30% in randomized trials [4]. Leg elevation above the level of the heart for 30 minutes three to four times daily provides additional benefit. For patients with persistent symptoms despite conservative care, endovenous ablation (thermal or chemical) of incompetent saphenous veins produces durable relief with a technical success rate exceeding 90% at one year [5].
Heart Failure
Heart failure (HF) reduces the heart's ability to pump blood forward effectively, causing sodium and water retention and a rise in venous pressure that drives fluid into dependent tissues. Bilateral ankle and lower-leg pitting edema is one of the Framingham criteria for HF diagnosis.
Distinguishing Cardiac Edema
Cardiac edema is almost always bilateral and symmetrical. It tends to be soft, pitting, and gravity-dependent, meaning it shifts to the sacrum in bedridden patients. Associated symptoms include exertional dyspnea, orthopnea (needing two or more pillows to breathe at night), and a third heart sound (S3 gallop) on auscultation.
B-type natriuretic peptide (BNP) < 100 pg/mL has a negative predictive value of 90% for ruling out HF as the cause of dyspnea and edema in acute presentations, per the BREATHING NOT PROPERLY trial (N=1,586) [6].
Treatment
Loop diuretics, specifically furosemide, remain the primary tool for decongestion. The DOSE trial (N=308) found that high-dose furosemide (2.5 times the patient's oral dose administered intravenously) produced greater fluid removal with no significant difference in renal outcomes compared to low-dose strategy at 72 hours [7]. Guideline-directed medical therapy for reduced ejection fraction, including ACE inhibitors or sacubitril/valsartan, beta-blockers, mineralocorticoid receptor antagonists, and SGLT2 inhibitors, also reduces edema burden by addressing the underlying cardiac dysfunction.
Kidney Disease and Nephrotic Syndrome
The kidneys regulate fluid balance by controlling sodium excretion and oncotic pressure through albumin synthesis. Two kidney-related mechanisms produce leg edema.
Nephrotic Syndrome
Nephrotic syndrome causes massive urinary protein loss, which drops serum albumin below 2.5 g/dL. Low oncotic pressure allows plasma to leak into the interstitium. The edema is classically soft and pitting, often first appearing around the eyes (periorbital edema) and then progressing to the legs. A 24-hour urine protein exceeding 3.5 grams per day confirms the diagnosis.
Chronic Kidney Disease
Advanced chronic kidney disease (stages 4 to 5) reduces sodium excretion capacity. Fluid accumulates systemically. Unlike nephrotic syndrome, serum albumin may be near-normal. Treatment centers on sodium restriction (below 2 grams daily), loop diuretics, and, if end-stage, renal replacement therapy.
Liver Disease and Portal Hypertension
Cirrhosis produces two distinct mechanisms of leg edema. First, the diseased liver synthesizes less albumin, lowering oncotic pressure. Second, portal hypertension raises hydrostatic pressure in mesenteric veins, promoting ascites formation and secondary sodium retention that also affects peripheral veins.
Leg edema in cirrhosis is almost always accompanied by ascites. A serum-to-ascites albumin gradient (SAAG) of 1.1 g/dL or higher confirms portal hypertension as the driver [8]. Sodium restriction to 2 grams per day plus the combination of spironolactone (100 to 400 mg daily) and furosemide (40 to 160 mg daily) in a 100:40 ratio is the standard first-line approach per AASLD guidelines.
Lymphedema
Lymphedema results from impaired lymphatic drainage, leaving protein-rich fluid stranded in the interstitial space. It is the prototypical cause of non-pitting edema.
Primary vs. Secondary Lymphedema
Primary lymphedema arises from congenital lymphatic abnormalities (Milroy disease is the classic example). Secondary lymphedema is far more common and follows damage to lymph nodes from cancer surgery, radiation therapy, infection (filariasis is the leading global cause), or trauma. Breast-cancer-related lymphedema affects 20 to 30% of women who undergo axillary lymph node dissection [9].
Diagnosis and Treatment
Lymphoscintigraphy is the definitive imaging study. Complete decongestive therapy (CDT), which combines manual lymphatic drainage, multilayer compression bandaging, therapeutic exercise, and skin care, is the standard treatment. A 2022 Cochrane review (14 trials, N=573) found that CDT reduced excess limb volume by a mean of 59% compared to compression alone [9]. Surgical options including lymphovenous anastomosis show promise for early-stage disease.
Medication-Induced Edema
Several widely prescribed drug classes cause bilateral leg swelling as a direct pharmacological effect. Recognizing this prevents unnecessary workup for systemic disease.
Common Offenders
Dihydropyridine calcium channel blockers are the most frequent culprit. Amlodipine causes peripheral edema in 5 to 10% of patients at standard doses and up to 30% at 10 mg daily [10]. The mechanism is preferential arterial vasodilation that raises capillary hydrostatic pressure without compensatory venous dilation. Switching to a non-dihydropyridine agent such as diltiazem or combining amlodipine with an ACE inhibitor substantially reduces this side effect.
Other common offenders include:
- Gabapentinoids (gabapentin, pregabalin): edema in 5 to 8% of users
- NSAIDs: sodium retention causing bilateral pitting edema
- Systemic corticosteroids: dose-dependent fluid retention
- Thiazolidinediones (pioglitazone, rosiglitazone): fluid retention via renal tubular mechanisms, which the FDA flagged in a 2007 safety update [11]
The approach is straightforward: if the temporal relationship between drug initiation and edema onset is clear, reduce the dose or switch agents before pursuing more invasive evaluation.
Cellulitis and Skin Infections
Cellulitis, a bacterial infection of the dermis and subcutaneous fat, causes unilateral erythema, warmth, tenderness, and swelling. Staphylococcus aureus and Streptococcus pyogenes account for the majority of cases. Entry points include tinea pedis (athlete's foot), minor abrasions, and skin breakdown from venous stasis.
The Eron classification grades cellulitis from Class I (no systemic signs) to Class IV (sepsis). Class I and II cellulitis is managed with oral antibiotics. Cephalexin 500 mg four times daily for 5 to 7 days covers the typical streptococcal organism. MRSA coverage with trimethoprim-sulfamethoxazole or doxycycline is added when risk factors exist.
A practical clinical framework for distinguishing cellulitis from DVT with concomitant edema: cellulitis produces erythema with defined borders that can be traced with a skin marker to monitor spread, fever above 38 degrees Celsius in roughly 40% of cases, and leukocytosis. DVT produces a tense, diffuse swelling without overlying erythema unless superficial thrombophlebitis is also present. When both are suspected simultaneously, compression ultrasound should be performed first, because anticoagulation for DVT and the activity restrictions for cellulitis management are not mutually exclusive.
Hypothyroidism and Myxedema
Severe or untreated hypothyroidism causes myxedema, a form of non-pitting edema produced by the accumulation of glycosaminoglycans in the dermis. Unlike most other forms of edema, myxedema does not respond to diuretics. The skin feels dough-like and does not pit even with sustained pressure.
Associated features include cold intolerance, fatigue, constipation, bradycardia, and delayed relaxation of deep tendon reflexes. A TSH above 10 mIU/L with a low free T4 confirms primary hypothyroidism. Treatment with levothyroxine, titrated to normalize TSH, gradually resolves the myxedema over weeks to months.
Musculoskeletal Causes: Baker's Cyst and Trauma
A Baker's cyst (popliteal cyst) is a fluid-filled bursa that develops at the back of the knee, usually secondary to intra-articular pathology such as osteoarthritis or a meniscal tear. When the cyst ruptures, fluid tracks down into the calf and mimics a DVT, producing acute unilateral calf swelling and pain. Ultrasound differentiates the two reliably. Treatment addresses the underlying joint pathology rather than the cyst itself.
Post-traumatic edema from sprains, fractures, and muscle contusions is common and usually self-limited. Elevation, ice, compression (the RICE protocol), and NSAIDs manage acute cases. Persistent swelling after trauma warrants imaging to exclude occult fracture, hematoma, or compartment syndrome.
Pregnancy-Related Leg Swelling
Physiologic edema affects up to 75% of pregnant women in the third trimester. Increased plasma volume, progesterone-driven venous relaxation, and uterine compression of the inferior vena cava all contribute. This type of edema is bilateral, non-pitting, and resolves within days of delivery.
Edema that is sudden in onset, unilateral, or associated with hypertension (systolic blood pressure at or above 140 mmHg or diastolic at or above 90 mmHg) and proteinuria raises concern for preeclampsia, a condition that requires immediate obstetric evaluation. The American College of Obstetricians and Gynecologists (ACOG) Task Force on Hypertension in Pregnancy defines severe-range blood pressure as requiring antihypertensive treatment within 30 to 60 minutes to prevent maternal stroke [12]. DVT risk is also five times higher in pregnancy compared to age-matched non-pregnant women [13].
Diagnosing Leg Swelling: A Practical Approach
Diagnosis starts with the history and physical exam. The following questions guide the workup:
- Is swelling unilateral or bilateral?
- Did it appear over hours, days, or weeks?
- Is the skin warm, red, or tender?
- Does swelling pit?
- What medications is the patient taking?
- Are there symptoms of dyspnea, orthopnea, or weight gain?
Laboratory Tests
A targeted panel typically includes a complete metabolic panel (kidney and liver function, albumin), TSH, BNP or NT-proBNP, complete blood count, and urinalysis with urine protein-to-creatinine ratio. D-dimer is obtained when DVT is in the differential and pretest probability is low to intermediate.
Imaging
Compression duplex ultrasound is the first-line study for suspected DVT, with a sensitivity of 94% and specificity of 98% for proximal DVT [3]. Echocardiography is ordered when cardiac edema is suspected. MRI lymphangiography or lymphoscintigraphy is reserved for suspected lymphedema when the diagnosis is uncertain.
When to Seek Urgent or Emergency Care
Certain presentations demand same-day or emergency evaluation. Seek care immediately if leg swelling is accompanied by:
- Chest pain or sudden shortness of breath (possible pulmonary embolism)
- Unilateral swelling with warmth and redness that developed over hours
- Swelling following recent surgery or extended travel
- Fever above 38 degrees Celsius with skin redness spreading beyond original margins
- In pregnancy: new swelling with headache, visual changes, or blood pressure readings at or above 140/90 mmHg
Do not wait for a scheduled appointment when any of these red flags apply.
Frequently asked questions
›What causes leg swelling?
›How is leg swelling diagnosed?
›When should I worry about leg swelling?
›Can leg swelling be a sign of heart problems?
›Does leg swelling go away on its own?
›What medications cause leg swelling?
›Is leg swelling serious?
›Can leg swelling be caused by kidney problems?
›What is the difference between edema and lymphedema?
›How do I reduce leg swelling at home?
References
- Yancy CW, Jessup M, Bozkurt B, et al. 2013 ACCF/AHA Guideline for the Management of Heart Failure. J Am Coll Cardiol. 2013;62(16):e147-e239. https://www.ahajournals.org/doi/10.1161/CIR.0b013e31829e8776
- Jimenez D, de Miguel-Diez J, Guijarro R, et al. Trends in the Management and Outcomes of Acute Pulmonary Embolism: Analysis From the RIETE Registry. J Am Coll Cardiol. 2016;67(2):162-170. https://pubmed.ncbi.nlm.nih.gov/26791063/
- Lim W, Le Gal G, Bates SM, et al. American Society of Hematology 2018 guidelines for management of venous thromboembolism: diagnosis of venous thromboembolism. Blood Adv. 2018;2(22):3226-3256. https://pubmed.ncbi.nlm.nih.gov/30482764/
- Rabe E, Guex JJ, Puskas A, Scuderi A, Fernandez Quesada F; VCP Coordinators. Epidemiology of chronic venous disorders in geographically diverse populations: results from the Vein Consult Program. Int Angiol. 2012;31(2):105-115. https://pubmed.ncbi.nlm.nih.gov/22466974/
- Nesbitt C, Bedenis R, Bhattacharya V, Stansby G. Endovenous ablation (radiofrequency and laser) and foam sclerotherapy versus open surgery for great saphenous vein varices. Cochrane Database Syst Rev. 2014;(7):CD005624. https://www.cochranelibrary.com/cdsr/doi/10.1002/14651858.CD005624.pub3/full
- Maisel AS, Krishnaswamy P, Nowak RM, et al. Rapid Measurement of B-Type Natriuretic Peptide in the Emergency Diagnosis of Heart Failure. N Engl J Med. 2002;347(3):161-167. https://www.nejm.org/doi/10.1056/NEJMoa020233
- Felker GM, Lee KL, Bull DA, et al. Diuretic Strategies in Patients with Acute Decompensated Heart Failure (DOSE Trial). N Engl J Med. 2011;364(9):797-805. https://www.nejm.org/doi/10.1056/NEJMoa1005419
- Runyon BA; AASLD. Introduction to the revised American Association for the Study of Liver Diseases Practice Guideline management of adult patients with ascites due to cirrhosis 2012. Hepatology. 2013;57(4):1651-1653. https://pubmed.ncbi.nlm.nih.gov/23463403/
- Jeffs E, Ream E, Taylor C, Bick D. Clinical effectiveness of decongestive treatments on excess arm volume and patient-centered outcomes in women with early breast cancer-related lymphedema: a systematic review. JBI Database System Rev Implement Rep. 2018;16(2):453-506. https://pubmed.ncbi.nlm.nih.gov/29419622/
- Makani H, Bangalore S, Romero J, Htyte N, Berrios RS, Messerli FH. Peripheral edema associated with calcium channel blockers: incidence and withdrawal rate, a meta-analysis of randomized trials. J Hypertens. 2011;29(7):1270-1280. https://pubmed.ncbi.nlm.nih.gov/21558958/
- U.S. Food and Drug Administration. FDA Drug Safety Communication: Updated safety information regarding thiazolidinediones and risk of heart failure. FDA.gov. https://www.fda.gov/drugs/drug-safety-and-availability/fda-drug-safety-communication-fda-warns-about-heart-failure-risk-type-2-diabetes-medicines
- American College of Obstetricians and Gynecologists. ACOG Practice Bulletin No. 222: Gestational Hypertension and Preeclampsia. Obstet Gynecol. 2020;135(6):e237-e260. https://pubmed.ncbi.nlm.nih.gov/32443079/
- Heit JA, Kobbervig CE, James AH, Petterson TM, Bailey KR, Melton LJ. Trends in the Incidence of Venous Thromboembolism during Pregnancy or Postpartum: A 30-Year Population-Based Study. Ann Intern Med. 2005;143(10):697-706. https://www.annals.org/aim/article-abstract/718990