
Swollen legs affect millions of people worldwide and range from a mild annoyance after a long flight to a warning sign of serious organ disease. The medical term for this type of swelling is peripheral edema, and it happens when excess fluid collects in the tissues of the lower limbs. One leg or both may be involved, and severity can range from slight puffiness around the ankles to painful swelling that makes walking difficult.
If you have noticed that your legs look puffy, feel heavy, or leave a dent when you press the skin with your finger (called “pitting”), this guide will walk you through the most common causes, the red flags that need urgent attention, and the treatments that actually work.
What Is Peripheral Edema?
Peripheral edema is fluid retention in the legs, ankles, and feet. Under normal conditions, your body maintains a careful balance between fluid inside blood vessels and fluid in the surrounding tissues. When something disrupts that balance, fluid leaks out faster than the lymphatic system can drain it, and the tissues begin to swell.
You can test for edema at home by pressing a fingertip firmly into the skin over your shinbone for about five seconds. If the pressure leaves a visible dent that takes several seconds to fill back in, you have pitting edema. The depth of the pit roughly corresponds to severity: a shallow dent that rebounds quickly is Grade 1, while a deep pit that lasts 15 seconds or longer is Grade 3 or 4.
Doctors grade edema on a four-point scale, and the grade helps determine how aggressively the underlying cause needs to be investigated. Mild swelling after a long day on your feet usually resolves overnight. Swelling that persists through the morning or gets worse over days deserves a medical evaluation.
Common Causes of Swollen Legs
Leg swelling has many possible causes, from everyday habits to serious medical conditions. Understanding where yours falls on that spectrum is the first step toward the right treatment.
Prolonged Sitting or Standing
Gravity pulls fluid downward. When you sit at a desk for eight hours or stand behind a counter all day, the calf muscles that normally pump blood back toward the heart stay inactive. Blood pools in the lower veins, pressure increases, and fluid seeps into the surrounding tissue. This is the single most common cause of mild leg swelling in otherwise healthy adults.
Office workers, long-haul travelers, and people with sedentary jobs are especially prone. Sitting or standing still for hours lets fluid collect in the lower legs.
Venous Insufficiency
Your leg veins contain one-way valves that keep blood moving upward. When those valves weaken or become damaged, blood flows backward and pools in the lower legs. This condition, called chronic venous insufficiency (CVI), is one of the most common vascular disorders and affects about 1 in 20 adults, according to Cleveland Clinic, and becomes more common after age 50.
Early signs include varicose veins, leg heaviness at the end of the day, and mild ankle swelling. Over time, untreated CVI can lead to skin discoloration, thickening of the skin around the ankles, and even open sores called venous ulcers.
Deep Vein Thrombosis (DVT)
A blood clot that forms in one of the deep veins of the leg can partially or fully block blood flow, causing sudden swelling, pain, warmth, and redness. DVT is a medical emergency because a piece of the clot can break off and travel to the lungs, causing a potentially fatal pulmonary embolism.
Risk factors include recent surgery, prolonged bed rest, long flights, cancer, hormonal birth control, pregnancy, obesity, and a family history of clotting disorders. If one leg suddenly swells more than the other and feels warm or tender, seek medical attention immediately.
Heart Failure
When the heart cannot pump blood efficiently, pressure builds up in the veins that return blood from the legs. Fluid then leaks into surrounding tissue. Heart-failure-related edema typically affects both legs equally, worsens throughout the day, and may be accompanied by shortness of breath, fatigue, and weight gain from fluid retention.
The swelling often starts in the ankles and moves upward as the condition progresses. If you also notice swelling in the abdomen, a persistent cough, or difficulty breathing when lying flat, those are strong signals that the heart may be involved.
Kidney Disease
Healthy kidneys filter excess fluid and sodium from the blood. When kidney function declines, the body retains both, and fluid accumulates in the legs, feet, and sometimes around the eyes. The National Kidney Foundation notes that swelling in the legs and ankles is one of the earliest visible symptoms of kidney disease.
Kidney-related edema tends to be symmetric (both legs equally affected) and may be worse in the morning. A simple blood test measuring creatinine and a urine test for protein can help your doctor assess kidney function.
Liver Disease
Advanced liver disease reduces the production of albumin, a protein that helps keep fluid inside blood vessels. Low albumin levels allow fluid to leak into the tissues, causing edema in the legs and a condition called ascites (fluid buildup in the abdomen). Cirrhosis, hepatitis, and fatty liver disease can all progress to this stage.
Lymphedema
The lymphatic system is a network of vessels that drains excess fluid from tissues and returns it to the bloodstream. When lymph nodes are damaged or removed (often during cancer treatment) or when the lymphatic vessels are malformed, fluid builds up in the affected limb. Lymphedema usually affects one leg more than the other and tends to worsen gradually over months or years.
Unlike most other causes of leg swelling, lymphedema does not respond well to diuretic medications. Treatment centers on manual lymph drainage, compression garments, and specialized exercise.
Medications That Cause Leg Swelling
Several commonly prescribed medications list leg swelling among their side effects. Calcium channel blockers (used for high blood pressure), corticosteroids, NSAIDs such as ibuprofen and naproxen, certain diabetes medications, and hormone replacement therapy can all cause fluid retention. If your swelling started shortly after beginning a new medication, talk to your prescribing doctor before stopping it on your own.
Pregnancy and Hormonal Changes
Swollen ankles and feet are extremely common during pregnancy, especially in the third trimester. The growing uterus puts pressure on the veins that return blood from the legs, and hormonal changes cause the body to retain more fluid. Mild pregnancy swelling is normal, but sudden or severe swelling, particularly if accompanied by headaches or vision changes, can be a sign of preeclampsia and requires immediate medical attention.
Hormonal fluctuations during the menstrual cycle can also cause mild, cyclical fluid retention in the days leading up to a period.
When to See a Doctor
Not every case of swollen legs requires a trip to the emergency room, but certain warning signs should prompt urgent evaluation:
Seek emergency care if you experience: sudden swelling in one leg with pain, warmth, or redness (possible DVT); swelling accompanied by chest pain or difficulty breathing (possible pulmonary embolism); or leg swelling after a recent injury with an inability to bear weight (possible fracture).
Schedule a medical appointment if: swelling persists for more than a few days without improving; both legs swell and you have a history of heart, kidney, or liver disease; the skin over the swollen area becomes discolored, thickened, or develops sores; or swelling is accompanied by unexplained weight gain of more than 2 kg (about 5 pounds) in a week.
Your doctor will likely order blood tests, a urine analysis, and possibly imaging such as a duplex ultrasound of the leg veins or an echocardiogram to evaluate heart function.
How Swollen Legs Are Diagnosed
Diagnosis starts with a physical examination and a detailed medical history. Your doctor will ask when the swelling started, whether it affects one leg or both, what makes it better or worse, and whether you have other symptoms.
Common diagnostic tests include a duplex ultrasound (the standard test for DVT and venous insufficiency), blood tests (BNP for heart failure, creatinine for kidney function, liver function panel, and thyroid function), urinalysis (to check for protein leakage that signals kidney damage), and imaging (CT scan, MRI, or lymphoscintigraphy in suspected lymphedema cases).
The results of these tests guide treatment by pinpointing the underlying cause rather than simply masking the symptom.

Treatments for Swollen Legs
Treatment depends on the underlying cause. Here are the approaches most commonly recommended by healthcare professionals.
Leg Elevation
Raising your legs above the level of your heart helps gravity drain fluid back toward the center of your body. Prop your legs on two or three pillows while lying down, and aim for 20 to 30 minutes, three to four times a day. This is the simplest and most immediately effective measure for mild edema.
Compression Therapy
Compression stockings apply graduated pressure to the legs, with the tightest compression at the ankle and decreasing pressure moving upward. This supports the vein valves and helps push fluid back into circulation. Compression is a cornerstone treatment for venous insufficiency, lymphedema, and post-DVT recovery. Over-the-counter stockings provide 15 to 20 mmHg of compression and are fine for mild swelling. Medical-grade stockings (20 to 30 mmHg or higher) require a proper fitting and a healthcare provider’s guidance.
Exercise and Movement
Walking, swimming, cycling, and calf raises activate the calf muscle pump, which is the main driver of venous return from the legs. Even simple ankle circles and foot flexes while seated can make a measurable difference during long flights or desk work. The American Heart Association recommends regular physical activity as part of edema management for patients with heart failure.
Dietary Changes
Excess sodium causes the body to retain water. Reducing salt intake to less than 2,300 mg per day (and ideally below 1,500 mg for those with heart or kidney disease) can significantly reduce fluid retention. Read nutrition labels carefully. Processed foods, canned soups, deli meats, and restaurant meals are the biggest sources of hidden sodium.
Increasing potassium-rich foods such as bananas, sweet potatoes, spinach, and avocados can help counterbalance sodium and support kidney function. Always check with your doctor before making major dietary changes if you have kidney disease, as potassium restrictions may apply.
Medications
Diuretics (water pills) are the most commonly prescribed medications for edema. They help the kidneys excrete excess sodium and water. Furosemide (Lasix) is the most frequently used loop diuretic, but thiazide diuretics and potassium-sparing diuretics are also options depending on the underlying condition.
Diuretics are not appropriate for every type of swelling. They are ineffective for lymphedema and may be harmful if the swelling is caused by DVT. This is why identifying the cause before starting treatment matters.
Medical and Surgical Procedures
For venous insufficiency, procedures such as endovenous laser ablation, radiofrequency ablation, or sclerotherapy can close malfunctioning veins and redirect blood flow through healthier vessels. DVT may be treated with blood thinners (anticoagulants) or, in severe cases, clot-dissolving medications or a procedure to remove the clot.
Lymphedema is managed with complete decongestive therapy (CDT), which combines manual lymph drainage, compression bandaging, exercise, and skin care. In advanced cases, surgical options such as lymphovenous anastomosis or vascularized lymph node transfer may be considered.
Preventing Swollen Legs
Prevention focuses on keeping blood and lymph fluid moving and reducing the factors that contribute to fluid retention.
Stay active. Walk for at least 30 minutes a day. If your job involves long periods of sitting, set a timer to stand and walk around every 30 to 60 minutes. Simple calf raises at your desk can help between walks.
Watch your salt. Cook at home more often, choose fresh foods over processed options, and season with herbs and spices instead of salt. Even small reductions in daily sodium can reduce swelling noticeably within a week.
Wear compression stockings if you are at risk for venous insufficiency or have a job that requires standing all day. Put them on first thing in the morning before swelling starts.
Elevate your legs for 15 to 20 minutes in the evening, especially after a long day. This is a simple habit that pays off significantly over time.
Maintain a healthy weight. Extra body weight puts additional pressure on leg veins and makes it harder for the heart to circulate blood efficiently.
Stay hydrated. It sounds counterintuitive, but drinking enough water actually helps the kidneys flush excess sodium and reduces fluid retention.
Swollen Legs During Pregnancy
Pregnancy-related swelling deserves its own section because the causes, timeline, and treatment differ from other forms of edema. During pregnancy, blood volume increases by up to 50%, and the growing uterus compresses the inferior vena cava (the large vein returning blood from the lower body), which slows venous return from the legs.
Most pregnant women notice swelling beginning in the second trimester and peaking in the third. The swelling tends to be worse in hot weather, after standing for long periods, and toward the end of the day.
Safe management during pregnancy includes elevating the legs, wearing maternity compression stockings, sleeping on the left side (which takes pressure off the inferior vena cava), walking regularly, and avoiding standing in one position for extended periods. Avoid diuretics during pregnancy unless specifically prescribed by your obstetrician.
Warning sign: sudden, severe swelling in the face, hands, or legs, particularly if accompanied by headaches, visual disturbances, or upper abdominal pain, may indicate preeclampsia. Contact your healthcare provider immediately.
Home Remedies and Self-Care Tips
These strategies complement medical treatment but should not replace it if your swelling has a diagnosed underlying cause.
Epsom salt soaks. Dissolving Epsom salt (magnesium sulfate) in warm water and soaking your feet and lower legs for 15 to 20 minutes may help reduce mild swelling. The magnesium can be absorbed through the skin and may support muscle relaxation.
Massage. Gentle upward massage toward the heart can encourage fluid drainage. Use firm, smooth strokes starting at the ankle and moving toward the knee. Avoid deep massage if DVT has not been ruled out.
Cold compresses. Applying a cold pack wrapped in a towel to swollen areas for 10 to 15 minutes can constrict blood vessels and temporarily reduce swelling, especially after an injury.
Supportive footwear. Avoid tight shoes and high heels when your legs are swollen. Choose supportive, comfortable shoes that do not restrict circulation around the ankle.
Frequently Asked Questions
What causes swollen legs in elderly people?
Aging weakens vein valves and reduces muscle mass in the calves, both of which contribute to poor circulation and fluid buildup. Heart failure, kidney disease, and medication side effects are also more common in older adults. A medical evaluation is important to rule out serious causes.
Can swollen legs be a sign of something serious?
Yes. While many cases have benign causes such as prolonged sitting or high salt intake, leg swelling can also signal heart failure, kidney disease, liver disease, DVT, or lymphedema. Persistent or worsening swelling always warrants a medical checkup.
How long does it take for swollen legs to go down?
Mild swelling from standing or sitting too long usually resolves overnight with leg elevation. Swelling caused by an underlying medical condition may take days to weeks to improve with treatment, and some chronic conditions require ongoing management.
Is walking good for swollen legs?
Yes, in most cases. Walking activates the calf muscle pump, which pushes blood and fluid back toward the heart. Start with short walks and gradually increase duration. The exception is if you suspect DVT (sudden swelling in one leg with pain), in which case you should seek medical advice before exercising.
Should I drink more or less water if my legs are swollen?
Drink adequate water. Dehydration signals the body to retain more fluid, which can worsen swelling. Unless your doctor has placed you on a fluid restriction (common with severe heart or kidney disease), aim for six to eight glasses of water per day.
Do compression socks really help with leg swelling?
Yes. Studies consistently show that graduated compression stockings reduce swelling, improve venous return, and decrease symptoms of heaviness and aching. They are most effective when worn throughout the day and put on before swelling starts in the morning.
The Bottom Line
Swollen legs are common, and the cause is usually something manageable. Sitting too long, eating too much salt, or standing all day at work are behind most mild cases. But because leg swelling can also be the first visible sign of heart, kidney, or vein disease, it is worth paying attention to patterns: when the swelling starts, how long it lasts, whether one leg or both are affected, and what other symptoms come with it.
Start with the basics. Elevate your legs, cut back on sodium, move more during the day, and try compression stockings if swelling is a recurring problem. If those measures do not bring relief within a week, or if swelling is sudden, severe, or accompanied by pain, redness, or shortness of breath, see your doctor. Early diagnosis leads to better outcomes for virtually every condition on this list.
Medical Disclaimer: This article is for informational purposes only and does not replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider with questions about a medical condition. If you think you may have a medical emergency, call your doctor or emergency services immediately.
Related reading on BetterLifeCarez:
- Type 2 Diabetes: Symptoms, Causes, Diagnosis and Treatment
- How Much Water Do You Really Need Daily?
- 10,000 Steps a Day: What the Science Really Says
- Desk Posture and Sitting All Day: What Works
Sources
Everyday Health and Wellness
Browse every related article on this topic in one place.









Comments are closed.