Leg Swelling: Labs, Diagnosis, and Next Steps

At a glance
- Whether swelling is unilateral or bilateral is the single most useful triage question: one leg raises concern for DVT or a local problem, both legs point toward a systemic cause
- First-line labs typically include a basic metabolic panel, CBC, BNP or NT-proBNP, liver panel, urinalysis with a protein-to-creatinine ratio, and TSH
- D-dimer combined with a clinical probability score (such as the Wells score) is the standard pathway used to decide who needs a compression ultrasound for possible DVT
- A BNP under roughly 100 pg/mL makes heart failure an unlikely cause of the swelling
- Low serum albumin, especially when quite low, contributes to edema by reducing the oncotic pressure that normally keeps fluid inside blood vessels
- Pitting edema is graded from trace to severe and helps track whether treatment is working
- Chronic venous insufficiency is widely regarded as the most common cause of leg edema seen in ambulatory adult patients
- New leg swelling together with shortness of breath, chest pain, or a hot, painful calf warrants same-day medical evaluation
Why Legs Swell: The Physiology Behind Peripheral Edema
Fluid stays inside blood vessels because of a balance between hydrostatic pressure (pushing fluid out of capillaries) and oncotic pressure (pulling fluid back in, driven mainly by albumin). When that balance breaks, fluid leaks into the space between cells, and gravity pulls it toward the feet and ankles. Every common cause of leg swelling disrupts one or both of these forces.
Hydrostatic vs. Oncotic Forces
Hydrostatic pressure rises when blood pools in the leg veins. This happens with prolonged sitting or standing, venous insufficiency, or right-sided heart failure. Peripheral edema is a recognized and common presenting symptom in heart failure with preserved ejection fraction (HFpEF), and international heart failure guidelines discuss it as part of the diagnostic picture rather than a rare finding [1]. Some occupational research has suggested that standing for long periods at work may be associated with a higher rate of venous problems over time, supporting standing time as a plausible contributor to venous disease risk.
Oncotic pressure drops when serum albumin falls. Nephrotic syndrome, liver cirrhosis, and severe malnutrition all deplete albumin, and edema becomes more likely as albumin drops further, with very low levels (around 2.0 g/dL or below) almost always producing visible swelling [3].
The Lymphatic Safety Valve
The lymphatic system normally drains excess interstitial fluid. When lymph nodes are damaged, removed, or scarred (after surgery, radiation, or infection), that backup system fails and lymphedema follows. In high-income countries, lymphedema after breast cancer treatment (from axillary lymph node surgery or radiation) is one of the most common forms clinicians encounter, and it can develop months to years after treatment [4]. Worldwide, lymphedema also occurs from other causes such as parasitic infection in endemic regions, which is a different clinical picture from post-cancer lymphedema and is not typically what a primary care workup in the United States is evaluating.
Common Causes of Leg Swelling
The differential diagnosis for leg swelling is broad, but the clinical approach narrows quickly based on one question: is the swelling in one leg or both?
Unilateral Swelling
Single-leg edema raises concern for a local or structural cause. Deep vein thrombosis (DVT) is the diagnosis clinicians most want to rule out quickly. The general population incidence of DVT is roughly 1 to 2 cases per 1,000 adults per year, but the risk rises sharply after surgery, hospitalization, or prolonged immobility [5]. Cellulitis, a ruptured Baker cyst, compartment syndrome, and musculoskeletal injury can also cause one-sided swelling and need to be distinguished from a clot.
A meaningful calf circumference difference between legs, combined with a Wells score suggesting moderate or high pretest probability, raises the likelihood of DVT enough that clinicians typically move straight to a D-dimer and, depending on the result, duplex ultrasound [6].
Bilateral Swelling
Both legs swelling at the same time points toward a systemic process. Heart failure, chronic kidney disease, liver cirrhosis, medication side effects, and venous insufficiency are the leading causes. Calcium channel blockers, particularly amlodipine and nifedipine, are well documented to cause dose-dependent peripheral edema; reported rates vary across studies and with dose, with some series reporting edema in a meaningful minority of users at higher doses [7]. Because the range reported in the literature is wide, a medication review with a prescriber is more useful than fixating on a single percentage.
Heavy proteinuria (nephrotic-range protein loss) is a well-established cause of severe bilateral leg edema together with low albumin, and current kidney disease guidance addresses this pattern as part of CKD evaluation [8]. Hypothyroidism causes a distinctive non-pitting swelling called myxedema, which does not indent with pressure the way fluid-driven edema does.
Medication-Induced Edema
Several drug classes cause fluid retention. NSAIDs reduce renal prostaglandin synthesis and promote sodium retention. Thiazolidinediones (pioglitazone, rosiglitazone) increase fluid retention through renal sodium reabsorption. Gabapentin and pregabalin are associated with peripheral edema in a meaningful share of patients taking them, based on a systematic review and meta-analysis of pregabalin's adverse event profile [9]. Before ordering extensive testing, checking the medication list for a temporal link between a new drug and new swelling can save time and cost.
The Diagnostic Workup: Which Labs to Order
A structured lab panel can differentiate cardiac, renal, hepatic, and venous causes within a day or two. The American Academy of Family Physicians recommends a stepwise approach starting with basic bloodwork and urine studies before moving to more specialized testing [10].
First-Tier Labs
Basic metabolic panel (BMP). Creatinine and BUN assess kidney function; a substantially reduced estimated GFR often contributes to fluid overload. A low sodium level in the setting of edema can suggest dilutional hyponatremia, often tied to heart failure.
Complete blood count (CBC). Anemia can worsen edema by increasing the heart's workload. Severe anemia can independently contribute to peripheral swelling.
B-type natriuretic peptide (BNP) or NT-proBNP. This is the most useful single test for separating cardiac from non-cardiac edema. In the landmark Breathing Not Properly Multinational Study, a BNP below roughly 100 pg/mL had a high negative predictive value for excluding heart failure in patients presenting with dyspnea [11]. NT-proBNP cutoffs are age-adjusted, and results should always be interpreted alongside the clinical picture rather than as a stand-alone yes-or-no test.
Urinalysis with a spot protein-to-creatinine ratio. Proteinuria signals nephrotic syndrome or chronic kidney disease. A spot ratio in the nephrotic range supports that diagnosis without requiring a full 24-hour urine collection.
Second-Tier Labs
Hepatic function panel. Albumin, AST, ALT, and bilirubin screen for liver disease. Low albumin together with elevated bilirubin and a prolonged INR raises concern for cirrhosis. The Model for End-Stage Liver Disease (MELD) score can help quantify how advanced liver dysfunction is once cirrhosis is suspected.
Thyroid-stimulating hormone (TSH). Hypothyroidism is an easy-to-miss cause of edema. A large population survey of thyroid disease prevalence found that subclinical and overt hypothyroidism become more common with age, which is part of why TSH is a reasonable low-cost screening test in unexplained edema [12].
D-dimer. This fibrin degradation product helps rule out DVT when combined with a low clinical probability score; a negative D-dimer in a patient with a low Wells score has a strong negative predictive value for DVT [6]. A positive D-dimer is nonspecific on its own and needs confirmatory imaging, since many things besides clots (infection, recent surgery, pregnancy, older age) raise it.
A Practical Decision Framework for Leg Swelling
Lab values and imaging only matter if they change what happens next. The table below lays out the small number of facts that actually shift management, along with the exceptions that override the general rule.
| What you notice | Most likely driver | What changes the plan | What to do next |
|---|---|---|---|
| One leg swollen, warm, tender, or larger in circumference than the other | DVT until ruled out | Wells score and D-dimer result | Same-day D-dimer and clinical scoring; go straight to compression ultrasound if probability is moderate-to-high regardless of D-dimer [6] |
| Both legs swollen plus new shortness of breath, orthopnea, or rapid weight gain | Heart failure or fluid overload | BNP/NT-proBNP result and recent weight trend | Same-day evaluation; a gain of about 2 pounds in 24 hours (or roughly 5 pounds in a week) in someone with known heart failure is a standard trigger to contact the treatment team [1][23] |
| Swelling with foamy urine or puffiness around the eyes in the morning | Nephrotic-range proteinuria | Spot urine protein-to-creatinine ratio | Urgent urinalysis and BMP; refer to nephrology if the ratio is markedly elevated or albumin is low |
| Swelling that started within weeks of a new medication (calcium channel blocker, NSAID, gabapentin/pregabalin, pioglitazone) | Drug-induced edema | Temporal relationship to the drug, not lab values | Discuss stopping or switching the medication with the prescriber before pursuing an extensive workup [7][9] |
| Both legs, worse by end of day, better after elevation overnight, no breathlessness or systemic symptoms | Chronic venous insufficiency or dependent edema | Response to elevation and compression, ankle-brachial index if arterial disease is possible | Trial of leg elevation and graduated compression stockings; check for peripheral arterial disease before compressing if pulses are weak |
| Tense, severely painful swelling after trauma or a fracture, pain out of proportion to the injury | Compartment syndrome | This is a surgical emergency, not a lab-driven workup | Go to an emergency department immediately; do not wait for outpatient labs or imaging |
| Non-pitting swelling, dry skin, fatigue, weight gain | Hypothyroidism (myxedema) | TSH result | Check TSH; treat with levothyroxine if confirmed, expect gradual improvement over weeks |
The exceptions matter more than the general rule: a low Wells score with a negative D-dimer can still need repeat evaluation if symptoms progress, a normal BNP does not fully exclude early or right-sided heart failure, and any red-flag combination (breathlessness, chest pain, a hot painful leg, or pain out of proportion to exam) should move a patient toward urgent in-person care rather than outpatient lab draws.
Imaging and Functional Studies
Labs narrow the differential. Imaging confirms it.
Compression Duplex Ultrasound
This is the first-line imaging study for suspected DVT, with meta-analyses reporting high sensitivity and specificity for detecting proximal clots [14]. The test is non-invasive, takes 15 to 30 minutes, and requires no contrast. Clinicians generally proceed to ultrasound in patients with high clinical probability even when the D-dimer is negative, because no test is perfect and missed DVT carries real risk.
Echocardiography
When BNP is elevated, transthoracic echocardiography measures ejection fraction, valve function, and right heart pressures. A reduced ejection fraction confirms heart failure with reduced ejection fraction (HFrEF), while signs of elevated right-sided pressures can point to pulmonary hypertension as a contributor to bilateral edema.
CT Venography and MR Venography
These are reserved for cases where ultrasound is inconclusive or a pelvic vein obstruction is suspected. May-Thurner syndrome (compression of the left iliac vein by the right iliac artery) is an uncommon but recognized cause of lower extremity DVT that is best identified on cross-sectional imaging when suspected [15].
Lymphoscintigraphy
This is the reference-standard test for confirming lymphedema. A radioactive tracer injected into the web spaces of the feet maps lymphatic drainage; delayed or absent uptake in lymph nodes confirms lymphatic dysfunction. It is typically ordered after venous and systemic causes have been excluded.
When to Worry: Red Flags That Require Urgent Evaluation
Not all leg swelling is benign. Certain presentations call for same-day or emergency evaluation.
Signs of DVT or Pulmonary Embolism
Unilateral calf swelling with warmth, redness, and pain deserves prompt evaluation. A swollen leg together with sudden chest pain, a fast heart rate, or low oxygen saturation suggests a clot may have traveled to the lungs. Venous thromboembolism, including pulmonary embolism, is a significant contributor to preventable death in the United States, which is part of why rapid identification of DVT is treated as a priority rather than something to watch and wait on [16].
Acute Heart Failure
Bilateral leg swelling with new or worsening shortness of breath, orthopnea, or waking up breathless at night deserves urgent attention. Rapid weight gain over a day or two in a patient with known heart failure signals possible decompensation. Heart failure management guidelines recommend daily weight monitoring at home, with a roughly 2-pound increase in 24 hours used as a common, practical threshold for contacting a clinician [23].
Compartment Syndrome
Tense swelling with pain that seems out of proportion to the injury, especially after trauma or a fracture, is a surgical emergency. Compartment syndrome is diagnosed clinically and, when needed, with intracompartmental pressure measurement; delayed treatment increases the risk of irreversible muscle and nerve damage, which is why suspected cases go to an emergency department rather than an outpatient workup [17].
Nephrotic Syndrome, New Onset
Periorbital puffiness in the morning that shifts to leg edema by evening, together with foamy urine, raises concern for nephrotic-range proteinuria. A markedly elevated spot urine protein-to-creatinine ratio supports the diagnosis, and a kidney biopsy is often needed afterward to identify the underlying cause.
Treatment: Matching Therapy to the Cause
Effective treatment depends on an accurate diagnosis. Treating the swelling without addressing why it is happening tends to lead to recurrence.
Diuretic Therapy
Loop diuretics (furosemide, bumetanide, torsemide) are the mainstay of edema management in heart failure and kidney disease. The DOSE trial, a randomized study in patients with acute decompensated heart failure, found that a higher intravenous furosemide strategy produced greater fluid loss and symptom relief than a lower-dose strategy, without a significant difference in kidney function at 72 hours [18].
Starting doses vary by cause, and exact dosing needs to be individualized by a treating clinician based on kidney function, current medications, and response. Nephrotic edema often needs higher diuretic doses because furosemide bound to albumin is lost in the urine along with the protein.
Compression Therapy
Graduated compression stockings are commonly recommended as first-line, non-drug therapy for chronic venous insufficiency and lymphedema. A Cochrane review of compression therapy in patients with venous disease found a benefit in preventing recurrence of venous leg ulcers [19]; smaller studies also report reductions in leg swelling and symptoms with graduated compression, though the size of that benefit varies across studies and populations, so it should be seen as a supportive, generally safe measure rather than a precisely quantified fix. Compression is contraindicated in significant peripheral arterial disease, since it can worsen ischemia, so an ankle-brachial index is worth checking first if pulses are weak or the patient has known vascular disease.
Anticoagulation for DVT
Current hematology society guidelines recommend direct oral anticoagulants (such as rivaroxaban or apixaban) as first-line treatment for acute DVT in most patients, with a minimum treatment duration of three months [20]. The EINSTEIN-DVT trial found rivaroxaban was noninferior to standard treatment with enoxaparin followed by warfarin for preventing recurrent venous thromboembolism [21]. A recognized advantage of direct oral anticoagulants over the older enoxaparin-to-warfarin approach is that they do not require injectable bridging therapy or routine blood monitoring, which simplifies treatment for many patients, though the right anticoagulant and duration still depend on individual bleeding risk, kidney function, and the cause of the clot [20].
Treating the Underlying Disease
Options that target the cause rather than just the fluid include albumin infusion alongside diuretics for nephrotic edema that is not responding to diuretics alone, dietary sodium restriction for heart failure and cirrhotic edema, levothyroxine for hypothyroid myxedema, and switching or stopping a medication for drug-induced edema (for example, moving from a calcium channel blocker to a different class of blood pressure medication, in consultation with a prescriber). Lymphedema is generally managed with complete decongestive therapy, combining manual lymphatic drainage, compression bandaging, exercise, and skin care.
Lifestyle Measures
Elevating the legs above heart level for short periods several times a day reduces hydrostatic pressure locally. Reducing dietary sodium can produce measurable improvement in edema within about a week for many people, though individual response varies. Regular walking activates the calf muscle pump, which is a normal mechanism that improves venous return during activity and is part of why prolonged inactivity worsens dependent swelling [2].
Monitoring and Follow-Up
Edema management is rarely a single encounter. Tracking response to treatment requires structured follow-up.
What to Monitor at Home
Daily morning weight on the same scale, at the same time, after using the bathroom, is one of the simplest tools for catching fluid shifts early. A weight increase beyond a level agreed with the treatment team (commonly discussed as around 1 kg in a day or 2 kg in a week for people with heart failure) is worth a call rather than a wait-and-see approach. Measuring leg circumference at the same spot each time gives a rough but useful way to track whether swelling is improving or worsening.
Lab Rechecks
Electrolytes and creatinine are usually rechecked one to two weeks after starting or adjusting diuretic therapy, since diuretics can lower potassium and affect kidney function. A downward trend in BNP over time supports that heart failure treatment is working. Repeat urinalysis at four to six weeks can track how proteinuria is responding in nephrotic syndrome.
When to Escalate
Edema that persists despite maximum diuretic doses raises concern for diuretic resistance. Adding a second diuretic that acts at a different part of the kidney (sequential nephron blockade, commonly with metolazone) can help overcome resistance, but this combination increases the risk of significant potassium and magnesium loss and needs closer electrolyte monitoring.
Refractory edema in heart failure sometimes prompts consideration of ultrafiltration. The CARRESS-HF trial, however, found no benefit of ultrafiltration over a stepped pharmacologic (diuretic-based) approach in patients with acute decompensated heart failure and worsening kidney function, and more adverse events in the ultrafiltration group [22]. Current practice generally reserves ultrafiltration for patients who have genuinely failed aggressive diuretic protocols, not as a routine first escalation.
Frequently asked questions
What causes leg swelling?
How is leg swelling diagnosed?
When should I worry about leg swelling?
What blood tests are needed for leg swelling?
Can medications cause leg swelling?
What is the difference between pitting and non-pitting edema?
How do doctors rule out a blood clot in the leg?
Do compression stockings help with leg swelling?
How much sodium should I eat if I have leg swelling?
What does a high BNP level mean for leg swelling?
Can thyroid problems cause leg swelling?
When are diuretics used for leg swelling?
References
- McDonagh TA, Metra M, Adamo M, et al. 2021 ESC Guidelines for the diagnosis and treatment of acute and chronic heart failure (2022 focused update). Eur Heart J. 2023;44(37):3627-3639. https://pubmed.ncbi.nlm.nih.gov/36017532
- Tuchsen F, Hannerz H, Burr H, Krause N. Prolonged standing at work and hospitalisation due to varicose veins: a 12 year prospective study. Occup Environ Med. 2005;62(12):847-850. https://pubmed.ncbi.nlm.nih.gov/16299094
- Siddall EC, Radhakrishnan J. The pathophysiology of edema formation in the nephrotic syndrome. Kidney Int. 2012;82(6):635-642. https://pubmed.ncbi.nlm.nih.gov/22718186
- Rockson SG. Lymphedema after breast cancer treatment. N Engl J Med. 2018;379(20):1937-1944. https://www.nejm.org/doi/full/10.1056/NEJMcp1803290
- Heit JA. Epidemiology of venous thromboembolism. Nat Rev Cardiol. 2015;12(8):464-474. https://pubmed.ncbi.nlm.nih.gov/26076949
- Wells PS, Anderson DR, Rodger M, et al. Evaluation of D-dimer in the diagnosis of suspected deep-vein thrombosis. N Engl J Med. 2003;349(13):1227-1235. https://www.nejm.org/doi/full/10.1056/NEJMoa023153
- Sica DA. Calcium channel blocker-related peripheral edema: can it be resolved? J Clin Hypertens. 2003;5(4):291-295. https://pubmed.ncbi.nlm.nih.gov/12939574
- KDIGO 2024 Clinical Practice Guideline for the Evaluation and Management of CKD. Kidney Int. 2024;105(4S):S1-S350. https://pubmed.ncbi.nlm.nih.gov/38490803
- Zaccara G, Gangemi P, Perucca P, Specchio L. The adverse event profile of pregabalin: a systematic review and meta-analysis. Epilepsia. 2011;52(4):826-836. https://pubmed.ncbi.nlm.nih.gov/21320112
- Trayes KP, Studdiford JS, Pickle S, Tully AS. Edema: diagnosis and management. Am Fam Physician. 2013;88(2):102-110. https://www.aafp.org/pubs/afp/issues/2013/0715/p102.html
- 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/full/10.1056/NEJMoa020233
- Canaris GJ, Manowitz NR, Mayor G, Ridgway EC. The Colorado thyroid disease prevalence study. Arch Intern Med. 2000;160(4):526-534. https://pubmed.ncbi.nlm.nih.gov/10695693
- Cho S, Atwood JE. Peripheral edema. Am J Med. 2002;113(7):580-586. https://pubmed.ncbi.nlm.nih.gov/12459405
- Goodacre S, Sampson F, Thomas S, et al. Systematic review and meta-analysis of the diagnostic accuracy of ultrasonography for deep vein thrombosis. BMC Med Imaging. 2005;5:6. https://pubmed.ncbi.nlm.nih.gov/16202135
- Peters F, et al. May-Thurner syndrome: diagnosis and management. Vasc Med. 2012;17(4):256-263. https://pubmed.ncbi.nlm.nih.gov/23485836
- Beckman MG, Hooper WC, Critchley SE, Ortel TL. Venous thromboembolism: a public health concern. Am J Prev Med. 2010;38(4 Suppl):S495-S501. https://pubmed.ncbi.nlm.nih.gov/20331949
- McQueen MM, Gaston P, Court-Brown CM. Acute compartment syndrome: who is at risk? J Bone Joint Surg Br. 2000;82(2):200-203. https://pubmed.ncbi.nlm.nih.gov/10755426
- Felker GM, Lee KL, Bull DA, et al. Diuretic strategies in patients with acute decompensated heart failure (DOSE). N Engl J Med. 2011;364(9):797-805. https://www.nejm.org/doi/full/10.1056/NEJMoa1005419
- Nelson EA, Bell-Syer SE. Compression for preventing recurrence of venous ulcers. Cochrane Database Syst Rev. 2014;(9):CD002303. https://www.cochranelibrary.com/cdsr/doi/10.1002/14651858.CD002303.pub3/full
- Ortel TL, Neumann I, Ageno W, et al. American Society of Hematology 2020 guidelines for management of venous thromboembolism: treatment of deep vein thrombosis and pulmonary embolism. Blood Adv. 2020;4(19):4693-4738. https://pubmed.ncbi.nlm.nih.gov/33007077
- EINSTEIN Investigators. Oral rivaroxaban for symptomatic venous thromboembolism. N Engl J Med. 2010;363(26):2499-2510. https://www.nejm.org/doi/full/10.1056/NEJMoa1007903
- Bart BA, Goldsmith SR, Lee KL, et al. Ultrafiltration in decompensated heart failure with cardiorenal syndrome (CARRESS-HF). N Engl J Med. 2012;367(24):2296-2304. https://www.nejm.org/doi/full/10.1056/NEJMoa1210357
- Heidenreich PA, Bozkurt B, Aguilar D, et al. 2022 AHA/ACC/HFSA Guideline for the Management of Heart Failure: A Report of the American College of Cardiology/American Heart Association Joint Committee on Clinical Practice Guidelines. Circulation. 2022;145(18):e895-e1032. https://www.ahajournals.org/doi/10.1161/CIR.0000000000001063
