Why Do My Legs and Feet Swell? Causes Explained

Swollen legs and feet happen when excess fluid builds up in the tissues below your skin, a condition called edema. This is one of the most common reasons people visit a doctor, and the causes range from something as simple as sitting too long to serious conditions involving the heart, kidneys, or blood vessels. The key to understanding your swelling is paying attention to whether it affects one leg or both, how quickly it appeared, and what other symptoms came with it.

How Fluid Ends Up in Your Legs

Your body constantly moves fluid between your bloodstream and the surrounding tissues. This exchange depends on a careful balance of pressures inside and outside your blood vessels. When that balance tips, fluid leaks out faster than it drains back in, and gravity pulls it down to your legs and feet.

Five things can throw off this balance: pressure building up inside your veins, the walls of tiny blood vessels becoming too leaky, a drop in blood proteins that normally hold fluid inside your vessels, increased pressure in the tissue itself, or a sluggish lymphatic system that can’t drain fluid fast enough. Most causes of leg swelling trace back to one or more of these mechanisms.

Common Everyday Causes

Not all leg swelling signals a medical problem. Prolonged sitting or standing is the most frequent trigger, especially during long flights, car rides, or desk-bound workdays. When your calf muscles aren’t contracting, they can’t help push blood back up toward your heart. Fluid pools in the lowest points of your body.

High sodium intake makes the problem worse. Salt causes your body to retain water, and that extra fluid has to go somewhere. Hot weather compounds the effect because your blood vessels dilate in the heat, allowing more fluid to seep into surrounding tissues. Tight clothing or shoes that restrict circulation can also contribute. For many people, mild swelling that appears by evening and resolves overnight falls into this category.

Heart Failure and Swelling

When your heart can’t pump blood efficiently, it backs up in the system. Blood and fluid collect in your lungs and legs over time, a hallmark of congestive heart failure. The swelling typically affects both legs and worsens throughout the day, especially after standing or walking.

Heart-related swelling rarely shows up alone. You’ll usually also notice shortness of breath (particularly when lying flat or during physical activity), fatigue, and sometimes swelling in the abdomen. If your leg swelling comes with any of these symptoms, it points toward something your heart is struggling with rather than a local problem in the legs themselves. The swelling develops gradually over weeks or months as heart function declines.

Vein Problems in the Legs

Chronic venous insufficiency is one of the most common causes of persistent leg swelling. Your leg veins have one-way valves that keep blood moving upward against gravity. When those valves weaken or fail, blood flows backward and pools in your lower legs. Over time, pressure builds in the veins and forces fluid into surrounding tissue.

The signs are distinctive. You might notice varicose veins, a feeling of heaviness or aching that worsens as the day goes on, and eventually brownish skin discoloration near the ankles. In advanced cases, the skin can break down into ulcers that are difficult to heal. Risk factors include age, obesity, pregnancy, and jobs that require long hours on your feet. Unlike heart failure, venous insufficiency tends to cause more swelling in the lower legs and ankles than higher up.

Kidney Disease and Protein Loss

Your kidneys filter blood and keep essential proteins circulating in your bloodstream. When they malfunction, a condition called nephrotic syndrome can develop, where the kidney’s filters become inflamed and let too much protein leak into your urine. The protein that drops most significantly is albumin, which normally acts like a sponge inside your blood vessels, holding fluid in place.

With low albumin levels, fluid escapes into tissues throughout the body. Swelling shows up in the legs, ankles, and feet, but also in less typical places like around the eyes and in the lower abdomen. If you notice puffy eyelids alongside swollen legs, that combination is a strong signal that the kidneys may be involved. Urine that looks foamy or bubbly can be another clue, since excess protein creates visible froth.

Medication Side Effects

Several widely prescribed medications cause leg swelling as a side effect. Calcium channel blockers (used for high blood pressure) are among the most common culprits, with some types causing noticeable ankle swelling in a significant percentage of users. Certain diabetes medications, steroids, hormone therapies including estrogen and testosterone, and some antidepressants can also promote fluid retention. NSAIDs like ibuprofen contribute to swelling by causing the body to hold onto sodium and water.

If your swelling started within a few weeks of beginning a new medication, that timing is worth mentioning to whoever prescribed it. Adjusting the dose or switching to an alternative often resolves the problem.

When One Leg Swells: Blood Clots

Swelling in just one leg deserves special attention. A deep vein thrombosis, or DVT, is a blood clot that forms in a deep vein, usually in the leg. The clot blocks normal blood flow and causes fluid to back up behind it.

DVT symptoms include swelling in one leg (not both), pain or cramping that often starts in the calf, skin that feels warm to the touch, and a change in skin color to red or purple. The danger isn’t just the leg itself. If the clot breaks free and travels to the lungs, it becomes a pulmonary embolism, which can be life-threatening. Risk factors include recent surgery, long periods of immobility, cancer, pregnancy, and use of hormonal birth control. Sudden, unexplained swelling in one leg with pain or warmth is something to get checked urgently.

Pregnancy-Related Swelling

Mild swelling in the feet and ankles is normal during pregnancy, particularly in the third trimester. The growing uterus puts pressure on the veins returning blood from the legs, and hormonal changes cause the body to retain more fluid.

The concern arises when swelling is sudden, severe, or accompanied by headaches, vision changes, or upper abdominal pain. These can signal preeclampsia, a serious pregnancy complication diagnosed when blood pressure rises to 140/90 mmHg or higher along with excess protein in the urine after the 20th week of pregnancy. Preeclampsia requires immediate medical management because it can escalate quickly and threaten both mother and baby.

How Doctors Evaluate Swelling

One of the first things a clinician does is press a finger into the swollen area for several seconds, then release. If the pressure leaves an indentation that slowly fills back in, that’s called pitting edema, and the depth of the dent helps gauge severity. A 2-millimeter indent that bounces back immediately is grade 1 (mild). At the other end, an 8-millimeter indent that takes two to three minutes to fill back in is grade 4 (severe).

Beyond the physical exam, the diagnostic path depends on what’s suspected. Blood tests can check protein levels, kidney function, and markers that suggest heart strain. An ultrasound of the leg veins can reveal blood clots or valve problems. Whether the swelling is in one leg or both, whether it developed suddenly or gradually, and what other symptoms are present all shape which tests make sense.

Reducing Swelling at Home

For mild, everyday swelling that isn’t linked to a medical condition, a few strategies make a real difference. Elevating your legs above heart level for 20 to 30 minutes several times a day helps gravity drain fluid back toward your core. Compression socks or stockings apply steady pressure that supports your veins and prevents fluid from pooling.

Movement matters more than most people realize. Even short walks or calf raises activate the muscle pump in your lower legs, which squeezes blood upward through your veins. If you sit for long periods, setting a reminder to get up every hour can prevent the end-of-day swelling many people experience. Reducing sodium in your diet helps your body hold onto less water overall, which means less fluid available to leak into your tissues.

For swelling tied to an underlying condition like heart failure, venous insufficiency, or kidney disease, these same strategies often help, but they work best alongside treatment of the root cause. The swelling is a symptom, and lasting improvement depends on addressing what’s driving it.