Varicose veins & venous insufficiency

Leg Swelling: Why It Happens and When to Worry

Leg swelling is usually venous, but not always. When it's normal, when it's a warning sign, and what to do, explained by a vascular surgeon.

By Dr. Vicente Mosquera ·Jul 7, 2026 · 7 min read

Key points

  • Leg swelling, especially in the calves and ankles, at the end of the day is usually due to a venous return problem, but it is not the only cause.
  • If it affects both legs and improves in the morning, it is most often venous or postural.
  • If it appears suddenly in a single leg, with pain or warmth, thrombosis must be ruled out: see a doctor promptly.
  • Swelling can also come from the heart, the kidneys, the liver or certain medications, so it is worth assessing the overall picture.

Informative and educational content, reviewed by Dr. Vicente Mosquera. It does not replace the consultation, diagnosis or treatment of a healthcare professional.

Leg swelling, especially in the calves and ankles, is one of those discomforts almost everyone has noticed at some point, particularly after a long day or in hot weather. Most of the time it has to do with the return of blood through the veins, but it is worth knowing how to tell when it is harmless and when it deserves a visit to the doctor.

Why ankles swell

Swelling (doctors call it edema) is the accumulation of fluid in the tissues. In the legs it is first noticed in the ankles because that is the lowest point, where gravity works against you.

When venous return is not working quite right, some of the fluid stays in the lower areas instead of draining back up toward the heart. That is why this type of edema tends to appear in the afternoon and improve after sleeping with the legs horizontal.

The most common cause: venous origin

In many people, swelling that appears in the afternoon in both ankles and eases by morning is venous in origin: it reflects venous insufficiency in which the valves in the veins close poorly and overload the system.

It is usually accompanied by heavy legs, varicose veins, itching or cramps. It is a common and treatable problem, and it responds well to compression measures and, when appropriate, to treatments for venous reflux.

Other causes: it is not always venous

It is a mistake to attribute all swelling to the veins. The differential diagnosis includes causes worth keeping in mind:

OriginClues to look for
Venous / posturalBoth legs, worsens in the afternoon, improves when raised
Venous thrombosisA single leg, sudden onset, pain and warmth
Heart, kidney or liverBoth legs, may come with shortness of breath or generalized swelling
LymphedemaFirm swelling that typically also affects the foot and toes
MedicationsBegins after starting certain drugs (some blood pressure medications, anti-inflammatories…)

When swelling affects both legs and persists, these causes should be ruled out in an orderly way before focusing only on the veins.

Dr. Vicente Mosquera Rey

It is important to assess whether one leg swells or both, the timing, the shape of the edema and any associated skin signs. A single leg that suddenly swells with pain suggests thrombosis; both legs, swelling gradually, point to venous causes or a systemic condition.

— Dr. Vicente Mosquera Rey, physician specializing in Angiology and Vascular and Endovascular Surgery

Warning signs

Seek prompt assessment — or emergency care — if the swelling:

  • Appears suddenly in a single leg, with pain or warmth: possible venous thrombosis.
  • Comes with shortness of breath or chest pain: in that case, go to the emergency room.
  • Comes with redness and fever, or with a wound on the ankle that will not heal.

What you can do

For venous or postural swelling, the same measures that support venous return help: walking daily, raising your legs while resting, avoiding staying still for long periods, moderating salt intake, controlling your weight, and using compression stockings if they have been prescribed. It is important to have an assessment with Doppler ultrasound to clarify the cause.

In summary

Ankle swelling is usually venous or postural, especially if it affects both legs and improves in the morning. But it should not be assumed: a single leg that suddenly swells calls for ruling out thrombosis, and swelling in both legs can have a systemic origin. When in doubt, a vascular assessment sets things straight.

Frequently asked questions

Why do my ankles swell at the end of the day?

Because after many hours standing or sitting, fluid accumulates in the lower part of the legs due to gravity and venous return that is working less efficiently. It usually improves when you lie down and raise your legs, and by the morning the ankles are no longer swollen.

When is leg swelling dangerous?

When it appears suddenly in a single leg, with pain, warmth or redness, because it may indicate venous thrombosis. Also if it comes with shortness of breath or chest pain, which calls for an emergency room visit.

Is ankle swelling always due to the veins?

No. It is a very common cause, but swelling in both legs can also be due to heart, kidney or liver problems, certain medications, or lymphedema. That is why it is worth assessing the full picture before attributing it only to the veins.

What helps reduce leg swelling?

Walking, raising your legs while resting, avoiding staying still for long periods, moderating salt intake, controlling your weight, and using compression stockings if they have been prescribed. If swelling persists despite these measures, a medical assessment is advisable.

More about the treatment: Varicose veins & venous insufficiency.

How can we help you?

Get in touch and we will review your case

In accordance with data protection regulations, we provide the following information about the processing of your data: Data controller: Vicente Mosquera Rey. Purpose: to handle your request and contact you to provide the information requested. Your rights: access, rectification, portability, erasure, restriction and objection, as well as other rights detailed in the additional information. + info: you can find more detailed information in our privacy policy.