What Causes Your Feet and Legs to Swell?

Swelling in the feet and legs happens when fluid leaks out of tiny blood vessels and gets trapped in the surrounding tissue. This is called peripheral edema, and the causes range from standing too long on a hot day to serious conditions involving the heart, kidneys, or veins. The underlying trigger is always the same: something has shifted the balance of fluid pressure inside and outside your blood vessels, or your body’s drainage system can’t keep up.

How Fluid Builds Up in Your Lower Body

Your blood vessels constantly filter fluid out into surrounding tissue and then pull it back in. Two forces control this exchange: the pressure of blood pushing fluid out through vessel walls, and the pull of proteins in your blood drawing fluid back in. When these forces fall out of balance, fluid accumulates in the spaces between your cells. Gravity pulls that excess fluid downward, which is why swelling shows up in your feet and legs first.

Several things can tip this balance. Higher pressure inside your veins pushes more fluid out. Lower protein levels in your blood reduce the pulling force that brings fluid back. Damage to vessel walls lets fluid leak more freely. And if your lymphatic system, the network of channels that drains excess fluid from tissue, is blocked or damaged, fluid simply has nowhere to go.

Vein Problems

Chronic venous insufficiency is one of the most common causes of leg swelling. Your leg veins contain one-way valves that push blood upward toward your heart. When those valves weaken, widen, or get scarred from a previous blood clot, blood flows backward and pools in the lower legs. This raises the pressure inside the veins, which forces fluid into the surrounding tissue. Over time, the high pressure also damages smaller blood vessels in the area, making the problem worse.

The valves can fail in the veins close to the surface (causing varicose veins), in the deep veins, or in the connecting veins between the two systems. When a connecting vein fails, high-pressure blood from the deep system floods into the lower-pressure surface veins, stretching them out and preventing their valves from closing properly. The result is persistent swelling, often worse at the end of the day or after long periods of standing.

Heart Failure

When the heart can’t pump blood effectively, pressure backs up in the veins. That elevated pressure transmits down to the smallest blood vessels in your legs, pushing fluid into the surrounding tissue. At the same time, reduced blood flow to the kidneys triggers a chain of hormonal responses. Your body activates systems that tell the kidneys to hold on to sodium and water, expanding your blood volume further and making the swelling worse.

This creates a vicious cycle. The extra fluid increases the workload on an already struggling heart, which reduces kidney blood flow even more, which triggers more fluid retention. Swelling from heart failure is typically present in both legs, worsens throughout the day, and may be accompanied by shortness of breath, fatigue, or a need to prop yourself up on pillows to sleep comfortably.

Kidney Disease

Your kidneys filter about 180 liters of fluid per day and regulate how much sodium and water your body retains. When kidney function declines, the kidneys can’t excrete sodium efficiently, so fluid builds up in the bloodstream and eventually leaks into tissue. In nephrotic syndrome, a condition where the kidneys leak large amounts of protein into the urine, the loss of blood proteins reduces the pulling force that keeps fluid inside your vessels. Swelling from kidney problems tends to be widespread, affecting the legs, feet, hands, and sometimes the face.

Medications That Cause Swelling

A surprisingly large number of common medications can cause fluid retention in the legs. Blood pressure drugs called calcium channel blockers are among the worst offenders. A 2011 meta-analysis found that roughly 25% of patients on these drugs developed peripheral edema, and the swelling was severe enough that a quarter of those affected stopped taking the medication. These drugs work by relaxing the arteries that feed into capillaries but don’t relax the veins on the other side, which raises pressure inside the capillaries and forces fluid out.

Anti-inflammatory painkillers (NSAIDs like ibuprofen and naproxen) cause swelling through a different mechanism. They constrict blood vessels in the kidneys, reducing the filtration rate and triggering the body to retain sodium and water. Steroids promote salt and water retention through their effect on kidney hormones. Diabetes medications in the thiazolidinedione class cause edema in 3% to 5% of people when used alone, and the rate climbs to 13% to 16% when combined with insulin. Certain antidepressants, hormone therapies, and cancer treatments can also trigger noticeable leg swelling.

Pregnancy Swelling vs. Preeclampsia

Some degree of foot and leg swelling is normal during pregnancy, especially in the third trimester. The growing uterus compresses pelvic veins, blood volume increases by nearly 50%, and hormonal changes make blood vessels more permeable. Most pregnant women notice mild puffiness in their feet by the end of the day.

Preeclampsia is a more serious condition marked by high blood pressure and protein in the urine, often with swelling of the legs, hands, face, or entire body. A woman with mild preeclampsia may notice only slight puffiness in her hands or feet, which makes it hard to distinguish from normal pregnancy swelling based on appearance alone. That’s why blood pressure and urine protein are checked at every prenatal visit. Warning signs of severe preeclampsia include persistent headache, visual changes, upper abdominal pain, nausea, and difficulty breathing.

Lymphedema

Lymphedema occurs when the lymphatic system can’t drain fluid from the tissue properly. Unlike swelling from vein problems, lymphedema typically involves the foot and toes, not just the ankle and calf. The fluid that accumulates is protein-rich, which over time triggers inflammation and tissue changes that make the condition progressively harder to treat.

In early stages, the swelling is soft and can be reduced with compression. As it advances, the skin develops deep creases, cracks, and blisters that are vulnerable to infection. In the most severe cases, the skin becomes hard, irregular, and discolored, and compression can no longer reduce the swelling. Lymphedema can be inherited, but it more commonly develops after cancer treatment that involves removing or damaging lymph nodes, or after radiation therapy.

Lifestyle and Dietary Factors

Prolonged sitting or standing lets gravity do its work unopposed. Without the muscle contractions of walking to pump blood back up through your leg veins, fluid gradually pools in your lower extremities. Long flights, desk jobs, and extended periods on your feet all contribute.

High sodium intake plays a role too, though the mechanism is more complex than “salt makes you retain water.” When you consume excess salt, your kidneys concentrate that sodium in the urine, and the process of excreting it actually triggers your body to conserve water internally. Health guidelines recommend keeping sodium intake at or below roughly 6 grams of salt per day (about 2,300 milligrams of sodium), but population studies consistently show average intakes closer to 9 to 12 grams per day. Obesity also contributes to leg swelling both by increasing pressure on pelvic veins and by raising the risk of conditions like obstructive sleep apnea, which can lead to chronic edema through elevated pressure in the lung’s blood vessels.

Pitting vs. Non-Pitting Edema

When you press a finger into swollen tissue and it leaves a temporary dent, that’s pitting edema. Clinicians grade it on a four-point scale: Grade 1 leaves a shallow 2-millimeter indent that bounces back immediately, while Grade 4 leaves an 8-millimeter pit that takes two to three minutes to refill. Pitting edema generally points to fluid overload from heart, kidney, liver, or vein problems.

Non-pitting edema, where the tissue feels firm and doesn’t indent, suggests lymphedema or myxedema (swelling caused by an underactive thyroid). Lipedema, a condition involving abnormal fat deposits in the legs, also produces non-pitting swelling and is frequently misdiagnosed as simple weight gain or lymphedema.

One Leg vs. Both Legs

The pattern of swelling offers a strong clue about its cause. Swelling in just one leg raises concern for a localized problem: a blood clot (deep vein thrombosis), an infection like cellulitis, an injury, or a blockage in the lymphatic system on that side. A deep vein thrombosis typically causes swelling along with calf pain or cramping, skin discoloration (redness or a purplish hue), and warmth in the affected leg. If a clot breaks loose and travels to the lungs, it can cause sudden shortness of breath, chest pain that worsens with deep breathing, rapid pulse, dizziness, or coughing up blood.

Swelling in both legs points toward a systemic cause: heart failure, kidney disease, liver cirrhosis, medication side effects, or chronic venous insufficiency affecting both limbs. Bilateral swelling that develops gradually over weeks or months, worsens through the day, and improves overnight is a classic pattern for venous or cardiac causes.