Why Are My Feet and Ankles Swelling?

Swollen feet and ankles are usually caused by fluid collecting in the soft tissue of your lower legs, pulled there by gravity and held in place by one of several possible triggers. The swelling might be harmless, like sitting too long on a flight, or it could signal something that needs medical attention, like a blood clot or heart trouble. The key to figuring out what’s going on lies in the details: whether one leg is swollen or both, how quickly it came on, and what other symptoms you’re experiencing.

How Fluid Ends Up in Your Feet

Your body constantly moves fluid between your bloodstream and surrounding tissues. Two forces keep this process balanced: the pressure your blood exerts on vessel walls pushing fluid out, and proteins in your blood (mainly one called albumin) pulling fluid back in. When either force gets thrown off, fluid leaks into tissue faster than it can be reabsorbed. Because your feet and ankles sit at the lowest point of your body, gravity ensures that’s where excess fluid pools first.

You can test the type of swelling at home by pressing a finger firmly into the swollen area for about five seconds. If a dent remains after you lift your finger, that’s called pitting edema, and how deep the pit goes tells you how severe the swelling is. A shallow 2-millimeter indent that bounces back immediately is mild. A deep 8-millimeter pit that takes two to three minutes to fill back in is the most severe grade and worth prompt medical evaluation.

Vein Problems in Your Legs

One of the most common reasons for chronic foot and ankle swelling is a condition where the one-way valves inside your leg veins stop working properly. These tiny flap-like valves are supposed to open to let blood flow upward toward your heart and snap shut to prevent it from falling back down. When they weaken or get damaged, blood pools in your lower legs, building up pressure that forces fluid into surrounding tissue.

Valve damage in the deep veins is most often a lasting consequence of a previous blood clot. But valves in the veins closer to the surface can fail on their own, sometimes from a preexisting weakness in the vessel wall, hormonal changes, or simply years of standing. The progression tends to follow a pattern: first spider veins, then visible varicose veins, then persistent swelling, then skin changes like darkening or thickening near the ankles, and in advanced cases, open sores that are slow to heal. Not everyone moves through every stage, but recognizing the earlier signs gives you a chance to intervene before it gets worse.

Heart, Kidney, and Liver Conditions

When both feet and ankles swell at the same time, it often points to something systemic rather than a local leg problem. Heart failure is one of the more serious possibilities. When the heart can’t pump blood efficiently, your body interprets the sluggish circulation as a drop in blood volume and responds by telling the kidneys to hold onto sodium and water. This backup plan worked well for our ancestors who were actually losing blood, but in heart failure it just adds more fluid to an already overloaded system.

Kidney disease causes swelling through a different route. Healthy kidneys filter waste while keeping essential proteins in your blood. When the kidneys are damaged, they can leak large amounts of protein into the urine, sometimes more than 3.5 grams in a single day. Since albumin accounts for roughly 75 to 80 percent of the pulling force that keeps fluid inside your blood vessels, losing it means fluid seeps out into your tissues with nothing to draw it back.

Liver disease, particularly cirrhosis, creates a similar problem from the other direction. The liver manufactures albumin, so when it loses functioning cells, production drops and the same low-protein swelling develops. Liver-related swelling often shows up in the abdomen as well as the legs, and it may be accompanied by yellowing of the skin.

Medications That Cause Swelling

If your swelling started around the same time as a new prescription, the medication itself could be responsible. Calcium channel blockers, a common class of blood pressure drugs, are one of the most frequent culprits. They work by relaxing blood vessel walls, but that relaxation also lets more fluid leak out of capillaries in the legs. The dihydropyridine type causes ankle swelling in anywhere from 1 to 15 percent of people who take them.

Other medications known to promote fluid retention include anti-inflammatory painkillers (like ibuprofen and naproxen), certain diabetes drugs, some antidepressants, and steroids like prednisone. If you suspect a medication is causing your swelling, don’t stop it on your own, but do bring it up with whoever prescribed it. There are often alternative options or add-on treatments that help.

Lifestyle and Dietary Triggers

Not all foot swelling signals disease. Sitting or standing in one position for hours, especially during long flights or desk-bound workdays, slows blood return from your legs and lets fluid accumulate. Hot weather compounds the effect because your blood vessels dilate in the heat, making it easier for fluid to escape into tissues.

Salt plays a direct role. Sodium causes your body to hold onto water, and most people consume far more than they need. The American Heart Association recommends staying under 1,500 milligrams of sodium per day. For context, a single fast-food meal can easily exceed that. If your swelling tends to worsen after salty meals and improve overnight, cutting back on processed foods, canned soups, and restaurant dishes is a reasonable first step. Carrying extra body weight also increases the pressure on veins in your legs and pelvis, making swelling more likely.

Pregnancy-Related Swelling

Some degree of foot and ankle swelling is normal during pregnancy, especially in the third trimester, as the growing uterus puts pressure on pelvic veins and blood volume increases substantially. But sudden or severe swelling after 20 weeks of pregnancy can be an early sign of preeclampsia, a serious condition diagnosed when blood pressure reaches 140/90 or higher along with protein in the urine. Preeclampsia can progress quickly and affect both mother and baby, so new or worsening swelling during pregnancy deserves a prompt call to your provider, particularly if it comes with headaches, vision changes, or upper abdominal pain.

One Leg vs. Both: Why It Matters

The pattern of your swelling is one of the most useful clues for narrowing down the cause. Swelling in both legs that develops gradually tends to point toward systemic issues: heart, kidney, or liver problems, medication side effects, or vein insufficiency affecting both legs. It’s rarely an emergency on its own, though it does warrant investigation if it persists.

Swelling in just one leg is a different story. A sudden, painful swelling in one calf or ankle, especially if the skin feels warm or looks red, raises concern for a deep vein thrombosis, which is a blood clot in the leg. This is a medical urgency because the clot can break loose and travel to the lungs. Infection (cellulitis) can look similar, with warmth, redness, and tenderness over the swollen area. One-sided swelling that develops slowly and doesn’t hurt when you press on it is more characteristic of a blockage in the lymphatic system, which drains fluid from tissues back into the bloodstream.

What You Can Do at Home

For mild, non-urgent swelling, a few practical strategies can make a noticeable difference. Elevating your feet above heart level for 20 to 30 minutes several times a day helps gravity work in your favor, draining fluid back toward your core. Regular movement matters too: even short walks or calf raises at your desk activate the muscle pump in your lower legs that pushes blood back up through your veins.

Compression stockings apply graduated pressure to your legs, tightest at the ankle and looser as they go up, which helps prevent fluid from settling. Over-the-counter options at the 15 to 20 mmHg level provide mild support and work well for swelling related to prolonged sitting or standing. A 20 to 30 mmHg stocking is the most commonly prescribed strength for moderate swelling or early vein disease. Higher pressures, 30 to 40 mmHg and above, are reserved for more significant vein problems or lymphedema and should be fitted with professional guidance.

Reducing sodium intake is one of the simplest and most effective changes you can make. Aim for under 2,000 milligrams a day as a practical ceiling if you’re dealing with persistent swelling. Reading nutrition labels becomes essential here, since sodium hides in unexpected places like bread, condiments, and deli meats. Staying well hydrated with water, counterintuitively, helps your kidneys flush excess sodium rather than holding onto it.

When Swelling Signals Something Urgent

Most foot and ankle swelling resolves with simple measures or turns out to have a manageable cause. But certain combinations of symptoms need fast attention. Sudden swelling in one leg with pain, warmth, or redness could mean a blood clot. Swelling in both legs paired with shortness of breath, difficulty breathing when lying flat, or chest tightness may indicate worsening heart function. Swelling that appears alongside decreased urination, foamy urine, or unexplained fatigue could point to kidney trouble. And any rapid onset of swelling during pregnancy after the 20-week mark, especially with headache or vision changes, should be evaluated the same day.