What Causes Swelling in Your Feet and Legs?

Swelling in the feet and legs happens when fluid leaks out of small blood vessels and collects in surrounding tissue. The causes range from something as simple as sitting too long to serious conditions like heart failure, blood clots, or kidney disease. Whether the swelling affects one leg or both, came on suddenly or gradually, and whether it leaves an indent when you press on it all point toward different underlying problems.

How Fluid Ends Up in Your Tissues

Your blood vessels constantly filter fluid outward into tissues and reabsorb it back in. This balance depends on pressure inside the vessels, the protein content of your blood (which pulls fluid back in), and the integrity of vessel walls. When any of these shift, fluid accumulates faster than your body can drain it. Gravity makes the feet and legs the first place that excess fluid settles, since they’re the lowest point in your body.

Two broad categories explain most cases. Either something is pushing too much fluid out of the vessels (high pressure from heart problems, vein dysfunction, or prolonged standing) or something is failing to pull fluid back in (low protein levels from kidney or liver disease). Medications, pregnancy, and injury round out the list.

Prolonged Sitting or Standing

The most common and least worrying cause is simply being in one position for hours. When you sit at a desk all day, take a long flight, or work a job that keeps you on your feet, your calf muscles aren’t contracting enough to pump blood back up toward your heart. Fluid pools in your lower legs under the pull of gravity. This type of swelling is usually mild, affects both legs equally, and resolves once you move around or elevate your legs for 20 to 30 minutes. Hot weather makes it worse because heat causes blood vessels to widen, allowing more fluid to seep into tissues.

Chronic Venous Insufficiency

Your leg veins contain one-way valves that keep blood flowing upward toward your heart. When those valves weaken or get damaged, blood flows backward and pools in your lower legs. This condition, called chronic venous insufficiency, is one of the most frequent causes of persistent leg swelling.

Valve damage can happen in several ways. Some people are born with veins that don’t function well. In others, veins gradually stretch and widen with age, preventing valves from closing completely. The most common cause of significant valve damage is a prior blood clot (deep vein thrombosis), which leaves scar tissue that permanently warps the valve. Over time, the constant backward pressure forces fluid into surrounding tissue, causing swelling that worsens throughout the day and often comes with skin changes like darkening, thickening, or even open sores near the ankles.

Heart Failure

When your heart can’t pump blood efficiently, it backs up in the system like a bottleneck. Blood collects in the veins of your legs, lungs, and abdomen, and the increased pressure pushes fluid into tissues. Swelling from heart failure typically affects both legs and ankles, gets worse over the course of the day, and may be accompanied by shortness of breath, fatigue, and unexplained weight gain over days or weeks. That weight gain is fluid, not fat. Some people gain several pounds in just a few days before noticing their ankles are puffy.

Heart failure also triggers your kidneys to retain extra sodium and water, compounding the problem. If swelling in your legs appears alongside difficulty breathing when you lie flat, or you wake up at night gasping for air, those are strong signals that the heart is involved.

Kidney and Liver Disease

Your blood relies on a protein called albumin to act like a sponge, pulling fluid back into vessels from surrounding tissue. When your kidneys or liver aren’t working properly, albumin levels drop, and fluid has no reason to stay inside your blood vessels.

In kidney disease, particularly a condition called nephrotic syndrome, damaged filters in the kidneys let large amounts of protein spill into the urine instead of keeping it in the blood. The liver tries to compensate by producing more albumin, but it often can’t keep up. The result is widespread swelling, frequently noticeable around the eyes and in the legs.

Liver disease, especially cirrhosis, directly reduces the liver’s ability to manufacture albumin. Advanced cirrhosis also increases pressure in the veins draining the abdomen, which can cause fluid buildup in the belly (ascites) alongside leg swelling. If you notice your abdomen growing larger while your legs also swell, liver problems deserve investigation.

Blood Clots

A deep vein thrombosis (DVT) is a blood clot that forms in a deep vein, usually in one leg. It’s one of the most important causes to recognize quickly because the clot can break loose and travel to the lungs, creating a life-threatening emergency called a pulmonary embolism.

DVT typically causes swelling in only one leg, not both. Other signs include pain or cramping that often starts in the calf, warmth in the affected leg, and skin that turns red or purple. Not everyone with a DVT has all of these symptoms, and some people have a clot with only mild swelling.

If sudden one-sided leg swelling comes with shortness of breath, chest pain that worsens when you breathe deeply, a rapid pulse, dizziness, or coughing up blood, those are warning signs that a clot may have reached the lungs. That situation requires emergency care immediately.

Medications That Cause Swelling

Several common medications cause foot and leg swelling as a side effect. The most notorious are calcium channel blockers, a class of blood pressure drugs. These medications widen blood vessels, which drops blood pressure but also allows more fluid to leak into tissues. The swelling is dose-related: at low doses, roughly 1 to 15% of people develop ankle swelling, but at high doses taken long-term, that number can exceed 80%.

Other medications that frequently cause leg swelling include certain diabetes drugs, anti-inflammatory painkillers (NSAIDs like ibuprofen and naproxen), steroids like prednisone, and some hormone therapies including estrogen. If your swelling started or worsened after beginning a new medication, that connection is worth raising with whoever prescribed it. Stopping or switching the drug often resolves the problem, but never adjust a prescription on your own.

Pregnancy-Related Swelling

Swelling in the feet and ankles is a normal part of most pregnancies. The growing uterus presses on veins that return blood from the legs, your blood volume increases substantially, and hormonal changes cause blood vessels to relax and widen. Mild, gradual swelling that worsens later in the day is expected, particularly in the third trimester.

What’s not normal is sudden swelling, especially in the face and hands. A rapid increase in swelling or sudden weight gain can signal preeclampsia, a pregnancy complication involving dangerously high blood pressure. Preeclampsia can develop quickly and requires prompt medical attention to protect both mother and baby.

How Swelling Gets Evaluated

One of the first things a clinician does is press a finger into the swollen area for a few seconds and then release it. If the pressure leaves a visible dent that takes time to bounce back, that’s called pitting edema, and the depth and recovery time help gauge severity. A shallow 2-millimeter indent that rebounds immediately is grade 1. An 8-millimeter pit that takes two to three minutes to fill back in is grade 4, the most severe.

Whether the swelling affects one leg or both matters enormously. One-sided swelling points toward a blood clot, an injury, or a localized vein problem. Swelling in both legs suggests a systemic issue like heart, kidney, or liver disease, venous insufficiency, or a medication side effect.

Blood work helps narrow the cause. Testing typically includes markers for heart function, thyroid levels, liver function, kidney function, and the amount of protein spilling into your urine. If heart failure is suspected, an ultrasound of the heart (echocardiogram) is usually the next step. For possible blood clots, an ultrasound of the leg veins can confirm or rule out a DVT.

Reducing Swelling at Home

For mild, gravity-related swelling, a few strategies make a noticeable difference. Elevating your legs above heart level for 20 to 30 minutes several times a day helps fluid drain back into circulation. Compression socks or stockings apply steady pressure that supports your veins and keeps fluid from pooling. Moving your legs regularly, even just flexing your ankles and calves while seated, activates the muscle pump that pushes blood upward.

Reducing sodium intake helps because excess salt causes your body to retain water. Staying physically active keeps your circulatory system working efficiently. Avoiding long stretches of sitting or standing without a break is one of the simplest interventions. If you’re on a long flight or work at a desk, get up and walk for a few minutes every hour or so.

These measures help with benign, lifestyle-related swelling. If the swelling is new, worsening, one-sided, or accompanied by pain, skin changes, shortness of breath, or weight gain, the cause needs to be identified before self-care alone will be effective.