ThisCalculator

Everyday

Edema in Feet and Ankles: Causes & Relief

Updated · Standard formula, shown below

Edema risk score 7.5 /10
Time standing (hours)
4 h
You entered
Age (years)
45 yr
You entered

Edema in the feet and ankles is the medical term for swelling caused by fluid trapped in the body’s tissues, and it can range from a minor nuisance after a long flight to a sign of a more serious underlying condition. This article explains what causes this swelling, how to tell if it’s a temporary issue or a reason to see a doctor, and what you can do at home to find relief. You’ll learn the key differences between common causes, practical self-care steps, and the warning signs that should never be ignored.

What Is Edema and Why Does It Happen?

Edema is the accumulation of excess fluid in the spaces between your body’s cells, often in the lower extremities. Your circulatory system constantly moves fluid through blood vessels, and a network of lymphatic vessels drains the excess back into your bloodstream. When this balance is disrupted—whether by gravity, increased pressure in the veins, or changes in the blood’s protein content—fluid leaks out of the capillaries and pools in the surrounding tissue, causing visible swelling.

In the feet and ankles, gravity plays a major role. When you sit or stand for long periods, the veins in your legs work against gravity to return blood to your heart. If the one-way valves in those veins weaken (a condition called venous insufficiency), blood can pool, and the increased pressure forces fluid into the tissue. This is why you might notice more swelling at the end of the day or after a long car ride.

Common Causes of Foot and Ankle Swelling

The causes range from everyday lifestyle factors to serious medical conditions. Here are the most common ones:

  • Prolonged sitting or standing: Gravity pulls fluid down, and lack of muscle movement means less pumping action to push it back up. This is often called “dependent edema.”
  • High salt intake: Excess sodium makes your body retain water. A salty meal can cause noticeable swelling within hours, especially in people who are sensitive to salt.
  • Pregnancy: Hormonal changes and the growing uterus put pressure on the pelvic veins, slowing blood return from the legs. Some swelling is normal, but sudden or severe swelling can signal preeclampsia, a dangerous condition.
  • Medications: Certain drugs list edema as a side effect, including calcium channel blockers (for blood pressure), nonsteroidal anti-inflammatory drugs (NSAIDs), steroids, and some antidepressants.
  • Venous insufficiency: Damaged or weakened vein valves fail to push blood upward efficiently, leading to chronic swelling, varicose veins, and skin changes.
  • Heart, liver, or kidney disease: These organs help regulate fluid balance. Heart failure can cause fluid to back up into the legs; kidney disease can cause sodium and water retention; liver cirrhosis can alter blood protein levels and pressure.
  • Lymphedema: Damage to the lymphatic system—often from surgery, radiation, or infection—prevents proper drainage of lymph fluid, causing a heavier, more persistent swelling.
  • Blood clots: A deep vein thrombosis (DVT) blocks blood flow in a leg vein, causing sudden swelling, often in one leg, accompanied by pain and warmth. This is a medical emergency.

Less common causes include an allergic reaction, an injury (sprain or fracture), or a side effect of certain infections. If the swelling is in only one leg, it’s more likely to be a local problem like a clot, injury, or infection, whereas bilateral swelling more often points to a systemic issue.

How to Tell If It’s Serious: Red Flags

Most foot and ankle swelling is temporary and harmless, but some signs demand immediate medical attention. Seek emergency care if you experience:

  • Swelling in one leg that is sudden, painful, or accompanied by warmth and redness (possible blood clot).
  • Shortness of breath, chest pain, or difficulty breathing (possible pulmonary embolism or heart failure).
  • Swelling that pits when you press on it and doesn’t bounce back, especially if it worsens at night.
  • Fever, redness, or warmth in the swollen area (possible infection).
  • Swelling that develops suddenly during pregnancy, especially in the face or hands, along with headache or vision changes.
  • Skin that breaks down, becomes discolored, or weeps fluid.

If your swelling is persistent, progressive, or accompanied by other symptoms like fatigue, decreased urination, or weight gain, make an appointment with your doctor. They can run blood tests, urine tests, or imaging to identify the root cause.

Home Remedies and Self-Care That Actually Work

For mild, temporary edema, these strategies can help reduce fluid buildup:

  1. Elevate your legs: Prop your feet up above heart level for 15-30 minutes, several times a day. This uses gravity to help drain fluid back toward your core.
  2. Move regularly: Take a short walk every hour if you sit or stand for work. Calf muscle contractions pump blood upward—this is your natural “secondary heart.”
  3. Reduce salt: Aim for less than 2,300 mg of sodium per day (about one teaspoon of salt). Watch out for hidden sodium in processed foods, canned soups, and restaurant meals.
  4. Wear compression stockings: These graduated stockings are tighter at the ankle and looser at the calf, which helps push fluid up. They come in different pressure levels—ask a pharmacist or doctor which is right for you. Put them on in the morning before swelling worsens.
  5. Stay hydrated: Drinking enough water may seem counterintuitive, but dehydration can actually make your body hold onto sodium and water. Aim for 8-10 cups a day unless your doctor advises otherwise.
  6. Cool water soaks: Soaking your feet in cool (not icy) water for 15 minutes can constrict blood vessels and reduce swelling. Avoid hot water, which can worsen it.
  7. Exercise: Low-impact activities like walking, swimming, or cycling promote circulation. Avoid prolonged standing or sitting without breaks.

If these measures don’t help within a few days, or if the swelling is accompanied by pain, redness, or shortness of breath, contact a healthcare provider.

How Doctors Diagnose and Treat Edema

When you see a doctor for edema, they’ll start with a thorough history and physical exam. They’ll check for pitting (pressing a finger into the swollen area to see if an indentation remains), measure the circumference of both legs, and listen to your heart and lungs. They may order:

  • Blood tests: To check kidney and liver function, albumin levels, and B-type natriuretic peptide (BNP) for heart strain.
  • Urinalysis: To look for protein or blood, which can indicate kidney disease.
  • Ultrasound: A Doppler ultrasound of the leg veins can detect blood clots or venous insufficiency.
  • Chest X-ray or echocardiogram: If heart failure is suspected, these imaging tests show fluid in the lungs or heart function.

Treatment targets the underlying cause. For venous insufficiency, compression therapy and leg elevation are the mainstays. For heart failure, diuretics (“water pills”) help the kidneys remove excess fluid, along with medications to improve heart function. For kidney or liver disease, the focus is on managing the organ condition. In all cases, reducing salt is a cornerstone of therapy.

Prevention: Habits That Keep Swelling Away

The best way to manage edema is to prevent it from happening in the first place. Incorporate these habits into your daily routine:

  • Move every hour: Set a timer to stand, stretch, or walk for a few minutes. If you’re on a long flight, do ankle pumps (flex and point your toes) regularly.
  • Watch your weight: Excess weight puts more pressure on leg veins, making it harder for blood to return to the heart.
  • Choose the right shoes: Avoid tight shoes or socks that restrict circulation. Supportive, comfortable shoes are best.
  • Sleep with a pillow under your legs: Elevating your legs slightly while sleeping can prevent morning swelling.
  • Limit alcohol: Alcohol can dehydrate you and affect heart and liver function, both of which can contribute to edema.

If you have a chronic condition like heart failure or venous insufficiency, follow your treatment plan closely and report any sudden changes in swelling to your doctor.

Frequently Asked Questions

Why are my ankles swollen but my feet are not?

This often happens because gravity pulls fluid to the lowest point, which is the ankles when you’re sitting or standing. The ankle joint has less tissue to absorb the fluid, so it becomes more noticeable there. It’s also common in early stages of venous insufficiency, where the veins in the lower leg struggle to push blood upward.

Can drinking more water help reduce swelling?

Yes, in many cases. When you’re dehydrated, your body releases hormones that cause you to retain sodium and water. Drinking adequate fluids helps your kidneys flush out excess sodium and reduces the signal to hold onto water. However, if you have heart or kidney failure, your doctor may restrict fluids, so always follow their advice.

How long does edema take to go away?

It depends on the cause. Mild edema from a salty meal or long flight can resolve within 24-48 hours with elevation and movement. Edema from venous insufficiency may improve within a few weeks of consistent compression and elevation. If it’s due to a serious condition like heart failure, it may take days or weeks of medication to control, and it may come back if the underlying condition isn’t managed.

Is it safe to massage swollen feet and ankles?

Gentle massage can help stimulate lymphatic drainage and reduce swelling, but it’s important to avoid deep pressure or massage over areas with a known blood clot, as this could dislodge it. If you have diabetes or peripheral artery disease, massage may be risky—check with your doctor first. For best results, massage toward the heart (from foot to knee) with light strokes.

Can compression socks make swelling worse?

Not usually, but they can if they’re too tight or the wrong size. A properly fitted compression stocking should feel snug but not painful, and it should not cause numbness, tingling, or skin irritation. If you have significant peripheral artery disease, compression can reduce blood flow and worsen the problem—so it’s best to get a doctor’s advice before using them.

What’s the difference between edema and lymphedema?

Edema is a general term for any fluid buildup, while lymphedema specifically refers to swelling caused by a damaged or blocked lymphatic system. Lymphedema tends to be more chronic, often affects one limb, and can lead to skin thickening and a feeling of heaviness. It’s commonly seen after lymph node removal during cancer surgery, but can also be congenital. Treatment focuses on manual lymphatic drainage, compression, and exercise.

Related

Formula used
in t | Time standing (hours) | h | 4 | 0
in a | Age (years) | yr | 45 | 18
out score | Edema risk score | /10 | min(10, (t * 1.5) + (a - 30) / 10) | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.