Overview
Painless swelling of the feet, ankles, and legs is called edema. It's common, especially in older adults, and gravity makes it show up most in the lower body. Pressing on the swollen area may leave a dent that slowly fills in.
Swelling in both legs is usually from fluid buildup caused by posture, weight, pregnancy, vein problems, medicines, or a problem with the heart, kidneys, or liver. Sudden swelling in just one leg can be a blood clot, which is dangerous.
When to get medical care
Causes
Common causes include standing or sitting for a long time, long flights or car rides, being overweight, older age, hot weather, pregnancy, menstrual changes, and weak leg veins (venous insufficiency, often with varicose veins). Other causes include a blood clot in the leg (DVT), a leg injury or surgery, an infection, medicines (some blood pressure drugs, steroids, NSAIDs, hormones, and some antidepressants and diabetes drugs), and heart failure, kidney disease, or liver disease. In pregnancy, severe swelling can be a sign of preeclampsia.
OwieClear has pages on 12 conditions that can cause swollen ankles, feet, or both legs. Each shows how soon to get care.
Common causes
- Swelling in the legs, ankles, or body (edema)See a doctor if it doesn't get better
Puffiness from extra fluid in the tissues, most often in the feet, ankles, and legs.
- Poor vein circulation and leg ulcers (venous insufficiency)See a doctor if it doesn't get better
Leg veins that don't push blood back to the heart well, often after blood clots or with varicose veins.
- Heart failureOften needs care today
The heart doesn't pump as strongly as it should, so fluid can build up.
- Constrictive pericarditisSee a doctor if it doesn't get better
A thickened, stiff sac around the heart that stops it from filling properly, after past pericarditis, heart surgery, radiation, or tuberculosis.
Less likely causes
- Heart murmur or valve problemSee a doctor if it doesn't get better
A whooshing sound a doctor hears through the stethoscope.
- Mitral regurgitation (leaky mitral valve)See a doctor if it doesn't get better
A heart valve problem where the mitral valve doesn't close tightly and blood leaks backward.
- Cardiomyopathy (weak or thickened heart muscle)See a doctor if it doesn't get better
A disease of the heart muscle that makes it harder for the heart to pump.
- Tricuspid regurgitationSee a doctor if it doesn't get better
A leak in the tricuspid valve on the right side of the heart, often caused by lung disease, high lung pressure, or a pacemaker wire.
- Kaposi sarcomaSee a doctor if it doesn't get better
A cancer that forms purple, red, or brown patches or bumps on the skin, inside the mouth, or in other organs.
- Lymphatic filariasis (elephantiasis)See a doctor if it doesn't get better
A parasitic worm infection spread by mosquitoes in tropical areas that damages the lymph vessels.
- Ménétrier diseaseSee a doctor if it doesn't get better
A rare stomach condition with very thick stomach folds that leak protein.
- Thiamine (vitamin B1) deficiencySee a doctor if it doesn't get better
Low thiamine can cause tiredness, numb or burning feet, weak legs, and swelling.
What you can do at home
- Raise your legs above your heart when lying down, several times a day.
- Move around. Walk and exercise your legs to pump fluid back toward the heart. On long trips, get up and move often.
- Cut back on salt in your diet.
- Wear support stockings (compression socks), putting them on first thing in the morning.
- Avoid tight clothing around your thighs or legs.
- Lose weight if needed, which takes pressure off your legs.
- Don't stop any medicine without talking to your doctor, even if you think it's causing the swelling.
Medicines
There's no safe over-the-counter medicine for swelling. Water pills (diuretics) are prescription only and are used when the cause calls for them. Avoid taking NSAIDs like ibuprofen regularly, as they can make swelling worse.
At the doctor
The doctor will look for the cause by checking your heart, lungs, belly, and legs.
Questions you may be asked
- Which parts swell and whether it's one leg or both
- When it started and whether it comes and goes
- What makes it better or worse, like time of day or position
- Whether you've had blood clots or varicose veins
- Your medicines
- Other symptoms, like shortness of breath, weight gain, or less urine
- Whether you could be pregnant
The exam
A physical exam of the heart, lungs, abdomen, lymph nodes, legs, and feet.
Tests
- Blood tests for kidney, liver, and heart function
- A urine test
- A Doppler ultrasound of the leg veins to look for a clot
- A chest X-ray
- An ECG or echocardiogram (heart ultrasound)
Prevention
You can reduce everyday swelling.
- Don't sit or stand in one position for hours; take walking breaks
- Keep a healthy weight
- Limit salt
- Exercise regularly to keep leg muscles and veins strong
- Wear compression socks on long trips or if you stand all day
Check your symptoms
Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.
Sources
Last updated 2026-11-13.