Fluid leaks out of the small vessels all day and is carried back by the veins and lymphatics. Gravity pulls it to the ankles; lying down overnight lets it return. When the return system is slow, or the body is holding more fluid than usual, the ankles show it first.
What it feels like from inside
Tight shoes by afternoon, an imprint from socks, a dent that stays when pressed, heaviness in the legs, and swelling that is worse after standing, sitting on a plane, or a hot day.
The ordinary explanations
Standing or sitting for long periods, heat, salt, being overweight, pregnancy, and — very commonly — medicines: certain blood pressure tablets, some painkillers, steroids, and hormone treatments. Varicose veins and previous leg injuries slow the return on that side.
The explanations worth knowing about
The heart, kidneys and liver all regulate fluid, and each can cause swelling when struggling. Swelling that is new, both sides, and paired with breathlessness, weight gain or reduced urine is the pattern that needs a look. Swelling in one leg only, sudden and painful, is a different problem with a different urgency.
What helps
Moving the calves — walking, or ankle circles when seated — because the calf muscle is the pump. Legs up above hip level in the evening. Less salt. Support stockings put on before getting out of bed. A medicine review, which fixes a surprising share of cases.
What to raise, and what not to wait on
Worth mentioning at a routine appointment: swelling most evenings, swelling that started with a new medicine, or swelling with weight gain. Worth raising promptly: one swollen, painful or hot leg, or swelling with breathlessness, especially lying flat.