Swollen legs and feet usually result from fluid accumulating in the tissues, a condition broadly called edema. The causes range from something as ordinary as sitting too long on a flight to something as serious as heart failure, and the right response depends entirely on which cause is driving it. Because many different conditions funnel into the same visible symptom, figuring out why your legs are swelling matters more than simply trying to push the fluid out.
Gravity and Prolonged Sitting
The most common reason healthy people notice puffy ankles at the end of the day is straightforward: gravity pulls fluid downward, and if your leg muscles aren’t contracting enough to push blood back up toward your heart, fluid seeps out of capillaries and pools in the tissues around your feet and shins. Research on prolonged sitting confirms that uninterrupted time in a chair leads to measurable expansion of extracellular fluid in the lower legs within about 20 minutes.1PubMed Central. Breaking of Sitting Time Prevents Lower Leg Swelling—Comparison among Sit, Stand and Intermittent (Sit-to-Stand Transitions) Conditions This is the mechanism behind “economy class syndrome” on long flights, where hours of immobility cause noticeable ankle swelling and, in severe cases, can even contribute to blood clots.2PubMed Central. Gravity-Induced Lower-Leg Swelling Can Be Ameliorated by Ingestion of α-Glucosyl Hesperidin Beverage
Modeling of fluid transport in the lower limb shows that when tissue is already somewhat permeable and the lymphatic system isn’t clearing fluid fast enough, a positive feedback loop can develop: the more fluid accumulates, the more freely additional fluid percolates downward under gravity.3Scientific Reports. The effects of gravity and compression on interstitial fluid transport in the lower limb That’s why swelling tends to get progressively worse across the day and resolve overnight once you’re lying flat.
Salt and Diet
What you eat plays a role too, especially sodium. A study of older men found that daily salt intake correlated directly with the amount of leg edema measured in the late afternoon.4PubMed. Daily salt intake is associated with leg edema and nocturnal urinary volume in elderly men Excess sodium causes your body to hold onto water, which increases the volume of fluid your circulatory system has to manage. If you’re already prone to swelling for another reason, a high-salt meal can tip you over the threshold where you notice it.
Protein levels in the blood also matter. Albumin, a protein made by the liver, helps keep fluid inside your blood vessels by maintaining what’s called oncotic pressure. When albumin drops too low, as happens in severe liver disease, kidney disease, or malnutrition, the balance tips and fluid leaks out into the surrounding tissues.5Journal of Clinical Nephrology and Therapeutics. Hypoalbuminemia and Edema Formation: Understanding the Connection This kind of swelling tends to be generalized rather than confined to one leg, and it often shows up in the lower extremities first simply because gravity is strongest there.
Heart Failure and Kidney Disease
When swollen legs persist and worsen, heart failure is one of the first things doctors consider. A failing heart can’t pump blood forward efficiently, so pressure backs up in the veins. The body also activates hormonal systems designed to retain sodium and water, which in turn raises blood volume and venous pressure even further. The result is a vicious cycle: the kidneys hold onto fluid, central venous pressure climbs, and fluid gets forced out of the capillaries into the legs, ankles, and sometimes the abdomen.6PubMed Central. Edema formation in congestive heart failure and the underlying mechanisms
Heart-failure-related edema is typically bilateral and “pitting,” meaning when you press a thumb into the swollen shin, the dent stays visible for several seconds. It tends to worsen over the course of the day and improve somewhat overnight. People often also notice shortness of breath, fatigue, and weight gain from fluid retention. If swelling comes on gradually alongside these other symptoms, it warrants a prompt medical evaluation.
Kidney disease produces a similar pattern through slightly different pathways. When the kidneys can’t filter properly, sodium and water build up. The result is swelling that often starts around the eyes in the morning and shifts to the legs by evening, though severe cases involve both simultaneously.
Venous Insufficiency
The veins in your legs contain one-way valves that are supposed to keep blood flowing upward, back toward the heart. When those valves weaken or fail, blood pools in the lower legs. This condition, chronic venous insufficiency, is extremely common and causes a cascade of problems: blood pooling leads to increased pressure in the veins, which drives fluid into the surrounding tissue, triggers inflammation, and can eventually cause skin changes like darkened or thickened skin on the lower legs.7PubMed Central. Chronic venous insufficiency and venous leg ulcers: Aetiology, on the pathophysiology-based treatment If left untreated for years, the worst cases develop venous leg ulcers, which are open wounds that heal poorly.
Pregnancy is a specific risk factor for venous insufficiency. The growing uterus compresses the large veins in the pelvis, and hormonal changes make vein walls more relaxed. Combined with the increase in blood volume during pregnancy, these factors predispose pregnant women to both temporary and longer-lasting venous problems in the legs.8PubMed. The hemodynamic effects of pregnancy on the lower extremity venous system For most women, the swelling resolves after delivery, but some develop lasting valve damage.
When Only One Leg Swells
Swelling confined to a single leg raises a different set of concerns. One of the most important to rule out is deep vein thrombosis, a blood clot in one of the deep veins, usually in the calf or thigh. DVT typically causes unilateral swelling, pain, and warmth, and it’s a medical emergency because the clot can break loose and travel to the lungs. The tricky part is that these same symptoms can show up with a muscle strain, a Baker’s cyst, cellulitis, or other local problems, so doctors rely on ultrasound and blood tests rather than clinical appearance alone to confirm or rule it out.9PubMed Central. ABC of arterial and venous disease. Swollen lower limb-1: general assessment and deep vein thrombosis
The general rule of thumb: bilateral swelling that develops slowly and is worse at day’s end is more likely related to a systemic cause such as heart, kidney, or venous issues. Sudden, one-sided swelling, especially with pain, needs urgent attention. If you’re unsure, erring on the side of getting checked is the right call.
Lymphedema
Your lymphatic system acts as a drainage network, collecting excess fluid from the tissues and routing it back into the bloodstream. When this system is damaged or blocked, fluid accumulates, producing a distinctive type of swelling called lymphedema. Secondary lymphedema, the more common form in developed countries, is caused by outside forces such as surgical removal of lymph nodes, radiation therapy, tumors compressing lymphatic channels, or scar tissue.10Journal of the American Academy of Dermatology. Lower extremity lymphedema update: pathophysiology, diagnosis, and treatment guidelines It’s a well-known complication after cancer treatment, particularly for breast cancer, gynecological cancers, and melanoma involving lymph node removal in the groin.
Lymphedema tends to progress over time if untreated. Early on, the swelling is soft and pits when pressed. Later it becomes firm and fibrotic, and the skin thickens. Unlike heart-failure edema, lymphedema doesn’t respond well to diuretics because the problem isn’t excess fluid volume in the bloodstream but rather a bottleneck in the drainage system. Treatment relies on specialized compression therapy, manual lymphatic drainage, and meticulous skin care to prevent infections.
Clinicians evaluating lower limb edema often underestimate the role of the lymphatic system, even when other causes are also present. Multiple causes frequently overlap in the same patient, and the lymphatic component can quietly worsen if it isn’t specifically addressed.11PubMed Central. Diagnostic approach to lower limb edema
Lipedema, the Condition Mistaken for Everything Else
Lipedema is a chronic, painful fat-distribution disorder that looks like swelling but isn’t really edema in the traditional sense. It occurs almost exclusively in women and involves symmetrical buildup of abnormal fat in the buttocks, thighs, and lower legs.12PubMed. Cause and management of lipedema-associated pain One of the key distinguishing features is that lipedema spares the feet. The legs look heavy and swollen, but the feet remain normal-sized, producing a “bracelet” or cuff effect at the ankle.13Plastic and Reconstructive Surgery. Lipedema: A Clinical Entity Distinct from Lymphedema
Lipedema is widely underdiagnosed, partly because it’s confused with obesity, lymphedema, or simple weight gain. The fat deposited in lipedema doesn’t respond to diet or exercise, which adds to the frustration and frequently leads to years of misdiagnosis. Another hallmark is pain: the affected areas bruise easily and are tender to the touch, which doesn’t typically happen with regular body fat or most forms of edema.14PubMed. Lipedema: an overview of its clinical manifestations, diagnosis and treatment of the disproportional fatty deposition syndrome – systematic review If your legs have always been disproportionately larger than your upper body, the swelling is symmetrical, your feet are spared, and the tissue is painful, lipedema is worth discussing with a doctor who is familiar with the condition.
Medications That Cause Leg Swelling
A number of common medications can cause or worsen lower leg edema, and calcium channel blockers, a class of blood pressure drugs, are the most frequent culprits. These drugs work by relaxing the arteries to lower blood pressure, but they don’t relax the veins equally. That mismatch means more blood flows into the capillary beds of the legs while the veins can’t clear it as quickly, creating increased pressure that pushes fluid into the tissues.15PubMed Central. Calcium channel blocker-related peripheral edema: can it be resolved? This kind of edema happens without any underlying heart or kidney problem, which can be confusing for both patients and doctors.
Research also shows that calcium channel blockers interfere with a reflex in the leg’s blood vessels that normally tightens arterioles when you stand up, helping counteract the pull of gravity. Blocking that reflex allows even more fluid to leak out of capillaries during the hours you’re upright.16Journal of Human Hypertension. Calcium channel blockers, postural vasoconstriction and dependent oedema in essential hypertension The swelling is dose-dependent, meaning it tends to be worse at higher doses, and sometimes resolves if the medication is switched to a different class. Other drugs known to cause leg swelling include certain diabetes medications, corticosteroids, nonsteroidal anti-inflammatory drugs, and some antidepressants. If you notice new swelling after starting a medication, it’s worth flagging at your next appointment rather than assuming the worst.
Less Obvious Triggers
A few conditions that aren’t immediately associated with the legs can still produce lower-extremity swelling. Hypothyroidism can cause a puffy, non-pitting swelling throughout the body, including the legs, because of changes in how tissues retain water and certain sugar-protein molecules. In Graves’ disease, an overactive thyroid condition, a specific form of swelling called pretibial myxedema sometimes appears on the shins, driven by immune cells stimulating the production of certain compounds in the skin.17PubMed. Pretibial myxedema: pathophysiology and treatment options This localized shin swelling can look alarming but is distinct from the generalized edema caused by heart or kidney disease.
Obstructive sleep apnea is another underappreciated contributor. In people who are severely overweight with untreated sleep apnea, repeated drops in nighttime oxygen levels can raise pressure in the blood vessels of the lungs, which backs up pressure into the right side of the heart. That elevated back-pressure eventually manifests as swelling in the legs.18PubMed. Lower extremity edema and pulmonary hypertension in morbidly obese patients with obstructive sleep apnea Treating the sleep apnea, typically with a CPAP machine, can improve the leg swelling alongside the breathing problems.
What Actually Helps
The right treatment depends on the cause, but a few strategies help across most types of lower-leg swelling.
Movement is the simplest and most consistently effective. Your calf muscles act as a pump for the venous system, squeezing blood upward with every contraction. This “calf muscle pump” is the primary force driving venous blood from your legs back to your heart.19PubMed Central. Calf pump activity influencing venous hemodynamics in the lower extremity Even brief interruptions of sitting, such as standing up and shifting your weight for a minute or two every half hour, significantly reduce the fluid buildup that accumulates during prolonged immobility.1PubMed Central. Breaking of Sitting Time Prevents Lower Leg Swelling—Comparison among Sit, Stand and Intermittent (Sit-to-Stand Transitions) Conditions For people with chronic venous insufficiency, a structured calf-strengthening exercise program has been shown to improve the calf pump’s ability to move blood, reduce venous pressure, and improve quality of life, especially when combined with compression therapy.20Journal of Vascular Brasileiro. The impact of exercise training on calf pump function, muscle strength, ankle range of motion, and health-related quality of life in patients with chronic venous insufficiency at different stages of severity: a systematic review
Compression stockings apply graduated external pressure that helps push fluid back into the veins and lymphatic channels. Studies show that wearing compression stockings reduces calf circumference and counteracts the fluid accumulation that normally happens over the course of a day.21PubMed. Acute effect of wearing compression stockings on lower leg swelling and muscle stiffness in healthy young women They’re used for everything from preventing mild gravitational swelling in office workers to managing chronic venous insufficiency and lymphedema. The key is getting the right compression level and fit; stockings that are too loose won’t help, and stockings that are too tight can actually impede circulation.
Elevation works on the same gravitational principle that causes the swelling in the first place, just in reverse. Lying down with your legs above heart level allows gravity to assist fluid drainage. This is a reliable short-term strategy, but it’s not practical as a sole treatment for any chronic condition.
Reducing sodium intake helps if excess salt is contributing. The correlation between salt consumption and afternoon leg swelling is well-documented, and cutting back on processed foods, which account for the bulk of most people’s sodium intake, can make a noticeable difference.4PubMed. Daily salt intake is associated with leg edema and nocturnal urinary volume in elderly men
When Diuretics Work and When They Don’t
Diuretics, often called “water pills,” are the standard medical treatment for edema caused by heart failure, kidney disease, or other conditions involving systemic fluid overload. They work by making the kidneys excrete more sodium and water, reducing total fluid volume. But they aren’t a universal fix. Diuretic resistance, where the swelling doesn’t respond despite adequate doses, is a recognized problem. Causes include the body compensating by increasing sodium reabsorption elsewhere in the kidney, poor dietary sodium restriction, and certain pharmacological issues.22PubMed Central. Diuretic Resistance
For lymphedema, diuretics are largely ineffective because the problem isn’t too much fluid in the blood vessels but rather a drainage blockage in the tissues. For medication-induced edema from calcium channel blockers, diuretics treat the symptom rather than the cause, and switching medications is usually a better approach. For lipedema, diuretics don’t remove the abnormal fat deposits and can cause dehydration without reducing the leg size. Understanding why you’re swollen determines whether a diuretic is the right tool or just a detour.
Getting the Right Diagnosis
Because so many conditions converge on the same symptom, a careful diagnostic workup matters. Doctors typically start with a detailed history: is the swelling in one leg or both? Did it come on suddenly or gradually? Does it pit when pressed? Is there pain? Are there skin changes? These details point toward different categories of causes. Blood tests can check kidney function, liver function, albumin levels, thyroid hormones, and markers for blood clots. Ultrasound is the go-to imaging test for both DVT and venous insufficiency. In ambiguous cases, lymphoscintigraphy or MRI can evaluate the lymphatic system.
Patients with lower limb edema are frequently referred to vascular specialists, and it’s common for more than one cause to be present at the same time.11PubMed Central. Diagnostic approach to lower limb edema A person might have mild venous insufficiency that’s been manageable for years but tips into visible swelling after starting a calcium channel blocker. Or someone with obesity-related gravitational edema might have an unrecognized lymphatic component that worsens after a knee surgery. Addressing only the most obvious cause while ignoring contributing factors is a common reason treatment falls short. If your swelling isn’t improving with standard measures, asking your doctor whether a second cause might be in play is a reasonable conversation to have.
Swelling That Demands Urgent Attention
Most causes of swollen legs and feet develop slowly and aren’t emergencies, but a few patterns warrant same-day medical attention:
- Sudden one-sided swelling with pain: This could signal a deep vein thrombosis. The risk of pulmonary embolism makes prompt diagnosis essential.
- Rapid bilateral swelling with shortness of breath: This combination can indicate worsening heart failure or a new cardiac event, especially if accompanied by difficulty breathing when lying flat.
- Swelling with redness, warmth, and fever: Cellulitis, a bacterial skin infection, spreads quickly in swollen tissue because the excess fluid creates a hospitable environment for bacteria. It requires antibiotics.
- New swelling after surgery or a period of immobility: Post-surgical patients and people who have been immobilized, whether from illness, injury, or long-haul travel, are at elevated risk for DVT.
Chronic mild swelling that you’ve had for years and that resolves overnight is almost certainly less worrying than new, progressive, or painful swelling. Still, even longstanding edema is worth mentioning at a checkup, because it can be the first visible sign of venous insufficiency or early heart and kidney changes that are easier to manage if caught early.