sofidexFor patientsAre you a clinician? Clinical site

Health Library  ›  Questions  ›  What causes leg swelling?

Question · Foot, leg, and ankle swelling

What causes leg swelling?

Leg swelling is usually caused by fluid collecting in the tissues or by inflammation. Causes range from prolonged sitting, heat, pregnancy, medicines, and minor injuries to vein problems, infection, blood clots, or heart, kidney, liver, thyroid, or lymphatic conditions.

QuestionReviewed 2026-11-23sofidex editorial standards

One or both legs
The pattern can help narrow down the cause.
Common temporary causes
Prolonged sitting or standing, hot weather, pregnancy, and minor injuries.
Possible medicine causes
Some blood pressure medicines, pain medicines, steroids, hormones, and nerve-pain medicines.
Sudden one-sided swelling
May be caused by a blood clot and needs same-day assessment.

Fluid buildup and inflammation

Fluid collecting in the tissues is called edema. Leg swelling can also come from inflammation after an injury or infection, or from bleeding under the skin.

Weak valves in the leg veins can allow blood to collect in the lower legs. This may cause recurring ankle swelling, aching, visible veins, or brownish skin changes.

Other possible causes

Heart, kidney, liver, or thyroid problems can cause swelling, often in both legs. Damage or blockage in the lymphatic system, which helps drain fluid, can also cause swelling after surgery, cancer treatment, infection, or injury.

A blood clot in a deep leg vein often causes new swelling in one leg with pain, warmth, or redness. A skin infection may cause rapidly increasing swelling with hot, painful skin and sometimes fever.

What affects the likely cause

Useful clues include whether one or both legs are swollen, whether the swelling began suddenly or gradually, and whether it changes with movement, rest, or raising the legs. Recent travel, injury, pregnancy, surgery, medical conditions, and medicines can also matter.

For mild swelling after prolonged sitting or standing, walking, gently moving the ankles, raising the legs while resting, and avoiding one position for long periods may help. Do not stop prescribed medicine or take water tablets unless advised by a healthcare professional.

When to get help. Call emergency services if swelling occurs with difficulty breathing, chest pain, fainting, marked light-headedness, coughing up blood, or blue, grey, or unusually pale lips or skin. Seek same-day care for sudden one-sided swelling, especially with pain, warmth, redness, or tenderness; get prompt care for spreading redness, fever, severe pain, a cold or pale foot, or swelling after a serious injury.

Sources

  1. 1National Health Service. “Swollen ankles, feet and legs (oedema).”
  2. 2Patel H, Skok CJ, DeMarco A. “Peripheral Edema: Evaluation and Management in Primary Care.” American Family Physician . 2022;106(5):557–564.
  3. 3Merck Manual Professional Edition. “Edema.”
  4. 4Centers for Disease Control and Prevention. “About Venous Thromboembolism (Blood Clots).”
  5. 5American College of Obstetricians and Gynecologists. “Preeclampsia and High Blood Pressure During Pregnancy.”

Health information, not medical advice. Nothing here replaces talking to your own doctor about your own situation.