Swollen legs and ankles happen when excess fluid builds up in the tissue beneath your skin, a condition doctors call peripheral edema. The fluid leaks out of tiny blood vessels when pressure inside them gets too high, when the vessels become too permeable, or when your body can’t drain fluid efficiently through the lymphatic system. The causes range from standing too long on a hot day to serious heart or kidney problems, so understanding the pattern of your swelling helps narrow down what’s behind it.
How Fluid Ends Up in Your Legs
Your circulatory system constantly pushes fluid out of capillaries and reabsorbs it. This process stays balanced through a combination of blood pressure inside the vessels, protein levels in your blood (which pull fluid back in), and lymphatic drainage that sweeps up whatever’s left over. When any part of this system tips out of balance, fluid pools in the lowest point gravity can take it: your feet, ankles, and lower legs.
Five mechanisms can trigger this imbalance: rising pressure inside your blood vessels, falling protein levels in your blood, increased leakiness of vessel walls, higher pressure in the surrounding tissue pulling fluid out, or sluggish lymphatic drainage. Most causes of leg swelling involve one or more of these mechanisms working together.
Venous Insufficiency: The Most Common Culprit
Chronic venous insufficiency is by far the leading cause of persistent leg and ankle swelling. Your leg veins contain one-way valves that push blood upward toward your heart. When those valves weaken or fail, blood flows backward and pools in your lower legs, raising pressure inside the veins until fluid seeps into surrounding tissue. More than 25 million adults in the United States have varicose veins, and over 6 million have more advanced venous disease.
The valve damage often traces back to a previous blood clot in the deep veins, but it also develops gradually from age, obesity, pregnancy, or jobs that require prolonged standing. The swelling from venous insufficiency tends to be soft and leaves an indentation when you press on it. Over time, the skin around your inner ankle can turn reddish-brown, become thickened and hardened, and eventually break down into slow-healing ulcers. Roughly 20% of people with chronic venous insufficiency eventually develop these ulcers.
Prevalence climbs sharply with age. Studies using ultrasound screening found venous insufficiency in about 21% of men and 12% of women over age 50.
Heart Failure and Organ Disease
When your heart can’t pump blood efficiently, it backs up in the veins leading to your heart, and the extra pressure pushes fluid into your legs, feet, and abdomen. Heart failure is one of the most important systemic causes of bilateral leg swelling. The swelling tends to worsen throughout the day and improve overnight when you’re lying flat, though in more advanced cases it may be present all the time.
Kidney disease causes swelling through a different route. Damaged kidneys lose their ability to filter waste and regulate fluid balance. They may also leak protein into the urine, which lowers the protein concentration in your blood. Since blood proteins act like sponges that hold fluid inside your vessels, losing them means more fluid escapes into your tissues. When protein loss in urine exceeds about 3.5 grams per day, the resulting swelling can be dramatic and widespread.
Liver disease, particularly cirrhosis, also reduces the liver’s production of blood proteins and raises pressure in the veins draining the abdomen, contributing to both abdominal fluid buildup and leg swelling.
Blood Clots: When One Leg Swells Suddenly
A deep vein thrombosis (DVT) is a blood clot that forms in one of the deep veins of the leg. It typically causes sudden swelling in just one leg, along with pain or cramping that often starts in the calf, warmth over the affected area, and skin that may turn red or purple. This is a medical emergency because the clot can break loose and travel to the lungs.
The key distinction is that DVT almost always affects one leg, not both. If you develop rapid, unexplained swelling in a single leg, especially after a long flight, surgery, or a period of immobility, that pattern warrants urgent evaluation.
Medications That Cause Swelling
Several common medications trigger leg and ankle swelling as a side effect. Calcium channel blockers, a widely prescribed class of blood pressure drugs, are the most frequent offenders. These medications relax the walls of small arteries, which lets more fluid leak out at the capillary level. The swelling is dose-dependent: it occurs in 1 to 15% of patients at standard doses but can affect more than 80% of people taking high doses long-term.
Adding a second type of blood pressure medication that works on a different pathway can cut the risk of swelling by about 38%. Other medications known to cause fluid retention include certain diabetes drugs, anti-inflammatory painkillers (NSAIDs), steroids, and some hormone therapies including estrogen.
Pregnancy Swelling vs. Preeclampsia
Mild ankle swelling during pregnancy is extremely common and usually harmless, driven by the extra blood volume and pressure from the growing uterus on pelvic veins. It tends to be worst in the third trimester and at the end of the day.
Preeclampsia is a different situation entirely. It develops after 20 weeks of pregnancy and involves high blood pressure (140/90 mmHg or higher) along with protein in the urine. The swelling pattern shifts: instead of just ankles, you notice puffiness in your hands and face, often coming on rapidly. Preeclampsia can progress to seizures and organ damage, so sudden facial or hand swelling during pregnancy needs prompt medical attention.
Lymphedema: A Different Kind of Swelling
Lymphedema occurs when the lymphatic system, a network of vessels that drains excess fluid from tissues, becomes blocked or damaged. The swelling it produces feels different from venous edema. Early on, the skin feels doughy and you can still press a dent into it. Over time, the tissue becomes thick, firm, and fibrous, losing that pitting quality entirely.
A useful physical sign is the Stemmer sign: try to pinch and lift the skin on top of your second toe. If the skin is too thick to pinch, that points toward lymphedema. The swelling often extends across the top of the foot, giving the toes a squared-off, boxy appearance. Lymphedema affects one leg in about 70% of cases and both legs in the remaining 30%. It commonly develops after cancer surgery or radiation that damages lymph nodes, but it can also be inherited or appear without a clear trigger.
Everyday Triggers
Not all leg swelling signals a medical problem. Gravity alone is enough to cause mild ankle puffiness after a long day on your feet or a lengthy flight. Heat expands blood vessels and increases fluid leakage, which is why swelling tends to be worse in summer. Sitting or standing in one position for hours reduces the pumping action of your calf muscles, which normally helps push blood back up toward your heart.
High sodium intake plays a direct role. Excess salt causes your body to retain water to keep blood chemistry in balance, and that extra fluid has to go somewhere. The American Heart Association recommends staying under 1,500 mg of sodium per day for the general population. For people already dealing with heart failure, guidelines suggest limiting sodium to 2,000 mg daily and total fluid intake to about 50 ounces.
How Severity Is Measured
If you visit a doctor for leg swelling, they’ll likely press a finger into the swollen area and observe what happens. This simple test produces a grading scale from 1 to 4. Grade 1 means a shallow 2 mm dent that bounces back immediately. Grade 2 leaves a 3 to 4 mm pit that rebounds within 15 seconds. Grade 3 creates a 5 to 6 mm pit that takes up to a minute to fill back in. Grade 4, the most severe, leaves an 8 mm depression that persists for two to three minutes.
The grade helps determine next steps. Mild, grade 1 pitting that comes and goes with activity or time of day is a very different clinical picture from persistent grade 3 or 4 pitting that doesn’t resolve overnight.
Managing Swelling at Home
Compression stockings are the frontline tool for managing chronic leg swelling. They work by applying graduated pressure that’s tightest at the ankle and gradually loosens toward the knee, helping push fluid back into circulation. For mild swelling, over-the-counter stockings rated at 15 to 20 mmHg are sufficient. Moderate edema from varicose veins or post-surgical swelling responds to 20 to 30 mmHg stockings. Severe chronic venous insufficiency or lymphedema requires 30 to 40 mmHg, which typically needs a prescription and proper fitting.
Elevating your legs above heart level for 20 to 30 minutes several times a day lets gravity work in your favor. Regular walking activates the calf muscles that serve as a natural pump for venous return. Reducing sodium intake, losing excess weight, and avoiding prolonged standing or sitting without breaks all help reduce fluid accumulation over time. For swelling caused by medications, the fix often involves adjusting the dose or switching to an alternative, which is a conversation worth having with whoever prescribed the medication.

