Swollen Feet and Ankles: What to Do and When to Worry

Swollen feet and ankles are one of the most common physical complaints, and most of the time they reflect something straightforward like standing too long, sitting through a long flight, or eating a salty meal. But swelling that appears suddenly in one leg, persists for days without an obvious trigger, or shows up alongside shortness of breath can signal conditions that need prompt medical attention. The challenge is knowing which kind of swelling you’re dealing with, because the harmless and the dangerous versions can look surprisingly similar at first glance.

Why Feet and Ankles Swell in the First Place

Your lower limbs sit at the bottom of a tall column of blood. Gravity constantly pushes fluid downward, and your body relies on a set of mechanisms to keep that fluid from pooling: tiny valves inside veins that prevent blood from flowing backward, calf muscles that squeeze veins like a pump when you walk, and capillary walls that form a tight barrier against fluid leaking into surrounding tissue. When any of those mechanisms falters, fluid seeps out of blood vessels and collects in the soft tissue around your ankles and feet. Doctors call this peripheral edema.

The rate at which fluid leaks from capillaries depends on two things: how much pressure builds up inside those tiny vessels, and how permeable the vessel walls become. Normally, precapillary sphincters and one-way venous valves keep pressure in check. When those valves fail, a condition known as venous insufficiency, pressure rises and fluid escapes. Venous insufficiency is remarkably widespread, affecting more than a third of people over 40, with the likelihood climbing as you age.1Scientific Reports. The effects of gravity and compression on interstitial fluid transport in the lower limb That’s why some degree of ankle swelling in the afternoon or evening is so common: it doesn’t necessarily mean something is wrong with your heart or kidneys. It often just means gravity has been winning all day.

Everyday Causes That Are Usually Not Dangerous

Most ankle swelling falls into the category of “annoying but benign.” A few common triggers account for the majority of cases people notice:

  • Prolonged sitting or standing: When your calf muscles aren’t contracting, they can’t pump blood upward efficiently. Office workers, long-haul drivers, and anyone stuck in a chair for hours often notice puffy ankles by the end of the day.
  • Long-distance travel: Flights and car rides combine immobility with cramped positions that compress veins. Passengers on long flights frequently develop noticeable swelling in their feet, ankles, and lower legs.2Phlebology. Effect of Long-Distance Flights on Oedema of the Lower Extremities
  • Heat: Warm weather causes blood vessels to dilate, which lowers resistance in the vessels and allows more fluid to move into surrounding tissue.
  • Excess salt: Sodium encourages your body to hold onto water. A particularly salty meal the night before can show up as puffy ankles the next morning.
  • Pregnancy: Increased blood volume, hormonal changes that relax vein walls, and the growing uterus pressing on pelvic veins all contribute. Mild ankle swelling during pregnancy is normal, though sudden or severe swelling warrants medical evaluation because it can signal preeclampsia.

In all of these scenarios, the swelling tends to be symmetric (both legs affected roughly equally), it gets better when you elevate your legs, and it doesn’t come with pain, redness, or warmth in one specific area. Those features help distinguish it from more worrisome causes.

Medications That Cause Swelling

Certain prescription drugs are well-known culprits, and the connection often catches people off guard because they don’t associate a blood pressure pill with swollen ankles. Calcium channel blockers, a class of medications widely prescribed for high blood pressure and chest pain, are among the most common offenders. Drugs like amlodipine, nifedipine, and felodipine relax the walls of arteries, which lowers blood pressure. The problem is that they don’t relax veins to the same degree, creating an imbalance: blood flows into the lower legs more freely but doesn’t drain out as efficiently, so pressure builds in the small capillaries and fluid leaks into the tissue.3PubMed Central. Calcium channel blocker-related periperal edema: can it be resolved? This kind of edema is considered one of the more common and bothersome side effects of calcium channel blockers.4Journal of Hypertension. Peripheral edema associated with calcium channel blockers: incidence and withdrawal rate – a meta-analysis of randomized trials

Other medications that can trigger ankle swelling include certain diabetes drugs (particularly thiazolidinediones like pioglitazone), nonsteroidal anti-inflammatory drugs like ibuprofen when used regularly, corticosteroids such as prednisone, and some antidepressants. Hormone therapies containing estrogen or testosterone also promote fluid retention. If you notice new swelling after starting a medication, bring it up with your prescriber rather than simply stopping the drug. In many cases a dose adjustment or a switch to a different medication resolves the problem without compromising treatment.

When Swelling Points to a Vein Problem

Chronic venous insufficiency is the most common vascular cause of persistent leg swelling. Vein valve dysfunction appears to be the central issue: when one-way valves inside leg veins stop closing properly, blood flows backward and pools in the lower legs, raising pressure and pushing fluid out of the veins and into tissue.5PubMed. Chronic venous insufficiency Over time, the elevated pressure can damage the downstream vein walls further, creating a self-reinforcing cycle. People with venous insufficiency often notice swelling that worsens through the day, aching or heavy legs, skin changes around the ankles (darkening, thickening, or an itchy rash), and in advanced cases, slow-healing ulcers near the inner ankle.

A more acute and dangerous vein problem is deep vein thrombosis (DVT), a blood clot forming in a deep leg vein. DVT typically shows up as sudden swelling in one leg rather than both, often accompanied by pain, tenderness, and sometimes warmth or redness. The one-sided pattern is a key distinguishing feature. Clinical assessment alone is unreliable because several other conditions can mimic DVT, so doctors rely on imaging, usually duplex ultrasound, to confirm or rule out a clot.6PubMed Central. ABC of arterial and venous disease. Swollen lower limb-1: general assessment and deep vein thrombosis DVT matters urgently because a clot can break loose and travel to the lungs, causing a pulmonary embolism. If you develop sudden, painful swelling in one leg, especially after surgery, prolonged immobility, or a long flight, seek medical evaluation the same day.

Heart, Liver, and Kidney Connections

When swelling in both legs persists and doesn’t resolve overnight, it sometimes reflects a problem with one of the body’s major organ systems. Heart failure is probably the best-known culprit. When the heart can’t pump blood forward efficiently, pressure builds in the venous system and backs up into the legs. The body’s response makes things worse: sensing reduced blood flow, the kidneys retain sodium and water, expanding blood volume and increasing pressure further. The result is fluid accumulation that shows up as swelling in the ankles and legs, along with breathlessness, fatigue, and sometimes a bloated feeling in the abdomen.7PubMed Central. Edema formation in congestive heart failure and the underlying mechanisms The swelling from heart failure tends to worsen over the course of the day and improve somewhat after a night in bed, though in advanced cases it may not fully resolve.

Liver disease, particularly cirrhosis, causes swelling through a different route. A damaged liver produces less albumin, a protein that helps keep fluid inside blood vessels by maintaining what’s known as oncotic pressure. When albumin levels drop, fluid leaks out of vessels more easily and accumulates in the legs and abdomen. In patients with advanced cirrhosis, the combination of low albumin and increased pressure in the portal vein system can lead to significant edema and ascites (fluid collecting in the abdominal cavity).8Hepatology. Albumin in Advanced Liver Diseases: The Good and Bad of a Drug!

Kidney disease contributes in yet another way. Failing kidneys lose their ability to excrete sodium and water efficiently, leading to fluid overload throughout the body. Certain kidney diseases also cause protein to leak into the urine, which, like liver disease, lowers blood albumin and makes edema worse. Swelling from kidney problems tends to be generalized rather than limited to the legs, often showing up around the eyes and face in the morning before settling into the ankles later in the day.

Less Obvious Causes Worth Knowing About

A few causes of swollen feet and ankles don’t fit neatly into the “vein problem” or “organ failure” categories and are worth knowing about because they tend to be underrecognized.

Idiopathic edema is a condition seen almost exclusively in women of reproductive age where fluid retention occurs without any identifiable heart, liver, kidney, or vein disease. The swelling is typically positional: worst in the feet and abdomen after standing or sitting for a long time, and sometimes noticeable in the fingers and around the eyes after sleeping. It often comes with an uncomfortable sense of bloating, headaches, and significant weight fluctuation from morning to evening.9Endocrinology and Metabolism Clinics of North America. Idiopathic edema. Pathogenesis, clinical features, and treatment. The diagnosis is made by excluding other causes, which can be frustrating for people living with it. Paradoxically, chronic use of diuretics can perpetuate the problem through rebound fluid retention once the drug wears off.

Thyroid disorders can also cause a distinctive type of lower-leg swelling. In Graves’ disease (overactive thyroid) and occasionally in Hashimoto’s thyroiditis, a condition called pretibial myxedema produces thickened, waxy-looking skin on the shins and ankles. Unlike typical edema, this swelling is “non-pitting,” meaning it doesn’t leave an indentation when you press on it with your finger.10PubMed Central. Pretibial Myxedema Associated with Euthyroid Hashimoto’s Thyroiditis: A Case Report That non-pitting quality is a useful clue. Hypothyroidism (underactive thyroid) can cause a more generalized puffiness throughout the body, sometimes mistaken for weight gain.

Lymphedema, where the lymphatic drainage system is impaired, is another important cause. It can develop after surgery or radiation therapy that damages lymph nodes (particularly common after breast cancer treatment affecting the arm, or after pelvic surgery affecting the legs), or it can occur on its own. Lymphedema tends to be progressive, starting with soft swelling that pits when pressed and gradually becoming firmer and harder to reduce.

What You Can Do at Home

For the everyday, gravity-and-lifestyle variety of swelling, a few simple strategies make a genuine difference:

  • Elevate your legs: Prop your feet above the level of your heart for 15 to 30 minutes a few times per day. This uses gravity in your favor to help fluid drain back toward the trunk. Even raising your feet on a footstool while sitting helps.
  • Move regularly: If your job involves long periods of sitting or standing, take short walking breaks every hour. Activating your calf muscles keeps the venous pump working.
  • Reduce salt intake: Cutting back on processed foods and restaurant meals, which tend to be heavy on sodium, can reduce the amount of water your body holds onto.
  • Compression stockings: Graduated compression stockings apply more pressure at the ankle and less toward the knee, which helps push fluid upward. They are a standard recommendation for venous insufficiency and can help manage swelling on flights and during long periods of standing.
  • Stay hydrated: It sounds counterintuitive, but drinking enough water discourages your body from retaining fluid. Dehydration triggers sodium and water retention.

One important caution with compression stockings: they are not appropriate for everyone. If you have significant peripheral artery disease, where blood flow to the legs is already compromised, external compression can further reduce circulation and cause harm.11Surgery. Swelling of the legs and feet If you have known artery disease, or if your feet are cool and pale with weak pulses, check with your doctor before using compression garments.

When to See a Doctor

Occasional mild ankle swelling that goes away overnight and has an obvious cause (a long day on your feet, a hot afternoon, a salty dinner) usually doesn’t need medical evaluation. But certain patterns warrant a visit:

  • Sudden swelling in one leg: Especially with pain, tenderness, warmth, or redness. This raises concern for DVT and needs same-day evaluation.
  • Swelling with shortness of breath: Fluid in the lungs (pulmonary edema) alongside leg swelling can indicate heart failure or another serious condition. If you feel unable to breathe comfortably while lying flat, that’s an emergency.
  • Swelling that doesn’t improve with elevation: Persistent edema that lasts days despite elevating your legs suggests the cause may not be gravitational.
  • Skin changes around the ankles: Darkening, hardening, or breakdown of skin over the lower legs can indicate chronic venous insufficiency that may need treatment to prevent ulcers.
  • New swelling after starting a medication: Document the timing and discuss it with your prescriber.
  • Swelling with reduced urine output, facial puffiness, or foamy urine: These combinations raise concern about kidney problems.

How Doctors Figure Out the Cause

When you show up with swollen legs and the cause isn’t immediately clear, the evaluation typically starts with a physical exam and medical history. Your doctor will check whether the swelling is one-sided or bilateral, whether it pits when pressed, and whether there are skin changes, varicose veins, or signs of infection. Blood tests often include kidney function, liver function, albumin levels, thyroid hormones, and sometimes a brain natriuretic peptide (BNP) level to screen for heart failure.

If a vein problem is suspected, duplex ultrasound is the go-to imaging test. It can detect blood clots, evaluate valve function, and assess blood flow in the leg veins. In one study of patients presenting with leg swelling of unknown cause, ultrasound alone detected obvious venous problems in about a fifth of cases, while the addition of lymphatic imaging brought the diagnostic yield up to about two-thirds.12PubMed Central. Routine diagnostic venous ultrasound and las for leg edema of unknown cause In nearly a quarter of patients, neither venous nor lymphatic imaging found a structural abnormality, and the swelling was attributed to functional causes. The point is that a clear explanation isn’t always found, which can be unsatisfying but also somewhat reassuring: when the workup is negative for serious disease, the swelling is often manageable with conservative measures.

The Pitting Test and What It Tells You

You’ve probably seen or heard of the “press-and-hold” test for edema. Press a thumb firmly into the swollen area for several seconds, then release. If an indentation lingers for a few moments, that’s pitting edema. It’s a useful home check, but it has limitations. The depth and duration of the pit roughly correlate with the severity of the edema, and clinical tools that measure pitting depth correlate well with standardized venous disease severity scores.13PubMed. Detection and quantitation of venous leg edema with the edema ruler and ultrasound But the pitting test doesn’t tell you the cause. Most edema from heart failure, venous insufficiency, kidney disease, and medications will pit. Lymphedema pits early on but becomes non-pitting as the tissue fibroses over time. And thyroid-related pretibial myxedema is characteristically non-pitting from the start. So while the test is a quick way to confirm that swelling is present and roughly gauge its severity, it can’t substitute for a proper evaluation when the cause is unclear.

Swelling During and After Surgery

Post-surgical swelling is common enough to deserve its own mention. After orthopedic procedures on the knee, hip, or ankle, significant edema is expected and can persist for weeks or even months. Pelvic and abdominal surgeries can temporarily impair venous and lymphatic drainage from the legs. In most cases the swelling resolves gradually as healing progresses, but it’s important to follow your surgical team’s advice about when to start moving, whether to wear compression devices, and what warning signs to watch for. DVT risk is elevated after many types of surgery, so one-sided swelling with calf pain in the postoperative period should be reported promptly.

Cancer treatment deserves special attention. Removal of lymph nodes during cancer surgery, or radiation to areas where lymph nodes cluster, can permanently impair lymphatic drainage. Lymphedema that develops after breast cancer treatment typically affects the arm on the surgical side, but pelvic cancers and their treatments can cause chronic leg swelling. Early intervention with specialized physical therapy and compression garments makes a meaningful difference in managing lymphedema, so bringing up any new persistent swelling with your oncology team sooner rather than later is worthwhile.

Swelling in Older Adults

Aging stacks the deck in several ways. Vein valves wear out gradually, which is why venous insufficiency becomes so prevalent past middle age. Reduced mobility means less activation of the calf muscle pump. Older adults are more likely to be on medications that cause fluid retention. And the chances of having underlying heart, kidney, or liver disease all increase with age. The practical consequence is that mild bilateral ankle swelling in a 75-year-old may have a different significance than the same swelling in a 30-year-old, even if it looks identical. In older adults, new or worsening edema deserves a lower threshold for medical evaluation, particularly if it’s accompanied by any change in exercise tolerance, breathing, or urine output.

Immobility in particular becomes a compounding factor. An older person recovering from an illness or injury who spends most of the day in a chair or bed can develop substantial leg swelling within days, even without any new disease. The fix is the same as for anyone: gentle movement, periodic elevation, and attention to fluid and salt intake. But the challenge is that the swelling can mask other problems. A new DVT in a person with chronically swollen legs is easy to miss if nobody notices that one leg has gotten more swollen than the other. Staying alert to asymmetry matters.