What Blood Tests Should I Get for Swollen Ankles?

The first blood and urine tests for swollen ankles are a comprehensive metabolic panel (kidney function, liver function and albumin), TSH and free T4 (thyroid) and a urinalysis (protein leaking into the urine). They look for kidney, liver and thyroid causes of fluid build-up. Swelling in both ankles often comes from vein problems, heat, standing or a medicine, which blood tests don’t show. One swollen, painful or red leg can be a blood clot, and swelling with shortness of breath can be heart failure: both need care the same day, not an online test.

Why these tests for swollen ankles

Swollen ankles are fluid that has leaked out of small blood vessels and collected in the tissues, pulled down by gravity. How long it has been there and whether it affects one leg or both are the two facts that guide a clinician most.

Swelling in both ankles that builds up slowly is common. Leaky leg veins (chronic venous insufficiency) are a frequent cause, and so are medicines such as some blood pressure pills (calcium channel blockers), anti-inflammatory painkillers and hormones. Sleep apnea and pregnancy can also cause it. None of these shows up on a blood test. What blood and urine tests can find are the body-wide causes: the kidneys leaking protein into the urine (nephrotic syndrome) or failing to clear fluid, a liver that makes too little albumin, and an underactive thyroid.

Family physicians start with a metabolic panel, liver tests, thyroid tests, a heart marker called BNP and a check for protein in the urine. This page covers the metabolic panel (which includes the liver tests and albumin), the thyroid and a urinalysis. BNP isn’t on this page; a clinician orders it when heart failure is possible, for example if you are also short of breath. Swelling in only one leg that comes on quickly is different: it needs checking for a blood clot the same day.

Possible Causes

Recommended Tests

All 4 recommended tests

$33.80 + one $18 order fee = $51.80 all-in

Add All 4 to Cart

The tests at a glance

TestPriceFastingResults
CMP$8.50Yes1 business days
TSH$7.50No1-2 business days
Free T4$8.80No1-2 business days
Urinalysis$9No1 business days

Plus one lab and physician order fee per order. Results times count from your blood draw.

Which tests for you

Both ankles, building up over weeks or months

Start with the CMP, TSH, free T4 and a urinalysis. Look at your medicines first, especially blood pressure pills such as amlodipine, anti-inflammatory painkillers and hormones. Swelling that is worse at the end of the day and better in the morning, with skin changes around the ankles, fits vein problems. Snoring, daytime sleepiness and pauses in breathing at night point to sleep apnea, which a clinician can check for.

One leg, or sudden swelling

Swelling in one leg that came on over hours or days, especially if it is painful, warm or red, needs a same-day check for a blood clot (deep vein thrombosis). That is done with a D-dimer blood test or an ultrasound ordered by a clinician, not with the tests on this page. Redness and heat with fever can also be a skin infection (cellulitis).

Pregnancy

Some ankle swelling is common in pregnancy. Sudden swelling of the face or hands, a severe headache, vision changes or pain under the ribs can be signs of preeclampsia: contact your prenatal care team or go to labor and delivery right away.

What blood tests can’t tell you

  • A blood clot in the leg: that needs a D-dimer test or an ultrasound ordered by a clinician.
  • Heart failure: a clinician orders a BNP level and an echocardiogram; neither is on this page.
  • Vein problems (chronic venous insufficiency) and lymphedema, which are found by an exam and sometimes an ultrasound.
  • Swelling caused by a medicine, which you and a clinician find by reviewing your list.
  • Sleep apnea, which needs a sleep study.

When to See a Doctor

See a clinician rather than (or as well as) ordering tests if you have:

  • Swelling with sudden shortness of breath, chest pain, a racing heart or coughing up blood: call 911. A clot may have traveled to the lungs.
  • Shortness of breath at rest or when lying flat, waking up gasping, or rapid weight gain from fluid: get care the same day; this can be heart failure.
  • One leg that is swollen, painful, warm or red: see a clinician or urgent care the same day to check for a clot.
  • Swelling with fever and red, hot, spreading skin: see a clinician the same day.
  • In pregnancy, sudden swelling of the face or hands, a severe headache or vision changes: contact your prenatal team right away.
  • Swelling with foamy urine, much less urine than usual, or yellow eyes: see a clinician soon.

Seek immediate medical attention if your symptoms are severe, rapidly worsening, or accompanied by warning signs (chest pain, shortness of breath, high fever). Blood tests are a valuable first step, but they don't replace evaluation by a healthcare professional.

Frequently Asked Questions

Which blood tests should I start with for swollen ankles?
A comprehensive metabolic panel (kidney and liver function and albumin), TSH and free T4, and a urinalysis for protein in the urine. Together they look for the kidney, liver and thyroid causes of swelling that blood work can find.
Why does my urine matter for swollen ankles?
When the kidneys leak a lot of protein into the urine, the blood loses albumin and fluid seeps into the tissues. That combination is called nephrotic syndrome. Foamy urine can be a clue. A urinalysis shows protein, and a clinician confirms how much with a urine protein measurement.
Can my blood pressure medicine cause swollen ankles?
Yes. Calcium channel blockers such as amlodipine are a well-known cause, and anti-inflammatory painkillers and hormones can contribute. Don’t stop a prescribed medicine on your own; ask your clinician, who may change the dose or the drug.
Is ankle swelling a sign of heart problems?
It can be, especially with shortness of breath, tiredness or needing more pillows to breathe at night. A clinician checks with an exam, a BNP blood test and often an echocardiogram. Swelling alone, without breathing symptoms, more often comes from veins or medicines.
Do I need to fast for these tests?
Usually not. The glucose value on the metabolic panel is easier to read after an 8-hour fast, so a morning draw works well, but the kidney, liver, albumin and thyroid results don’t depend on fasting.
My tests are normal but my ankles still swell. What next?
Normal results make kidney, liver and thyroid causes less likely. Vein problems, medicines, sleep apnea and lymphedema are the next things to look at, with an exam and sometimes an ultrasound. Raising your legs, moving during long periods of sitting and compression stockings help many people; ask a clinician which suits you.
Do I need a doctor’s visit to order these tests?
No. You order online, a physician reviews and authorizes the order, and you have your blood drawn at a Quest Diagnostics location. Bring your results to a clinician to discuss them.

Related Symptoms

What does an abnormal result mean?

All lab results explained →

Related Articles

Sources

The medical literature this page draws on.

  1. Peripheral Edema: Evaluation and Management in Primary Care. Patel H et al. Am Fam Physician 2022;106(5):557-564
  2. Edema: diagnosis and management. Trayes KP et al. Am Fam Physician 2013;88(2):102-10
  3. Diagnosis and Management of Nephrotic Syndrome in Adults. Kodner C. Am Fam Physician 2016;93(6):479-85
  4. Diagnosis and evaluation of heart failure. King M et al. Am Fam Physician 2012;85(12):1161-8

Content reviewed for accuracy by the JustLabs editorial team. Last reviewed December 2026.

This page is for informational purposes only and does not constitute medical advice. Consult a healthcare provider for interpretation of your results.