Leg pain at night is common, and it can be frustrating because it often arrives just as you are trying to sleep. The cause is not always the same: sometimes it is tired veins, sometimes a muscle cramp, a trapped nerve, restless legs or, less often, reduced blood flow in the arteries. This page explains how to tell the main types apart and when to get help. It is educational and cannot diagnose you.
Emergency signs. Call 995 if a leg suddenly turns cold, pale, blue or numb, or if leg pain comes with chest pain, breathlessness or coughing up blood. Get checked the same day for one leg that is suddenly swollen, painful and warm, or red skin that is spreading with fever.
What causes leg pain at night?
Several things make leg symptoms more noticeable after dark. You are no longer distracted, you are lying still, and your legs have had a full day of standing, walking or sitting. The most common groups of causes are:
- Veins. Weak valves let blood pool in the legs, causing aching, heaviness or throbbing.
- Muscles. Cramps, strain after exercise or a long day on hard floors.
- Nerves. Irritation or compression, for example from the lower back, or nerve damage linked to diabetes.
- Restless legs. An urge to move the legs, with uncomfortable sensations that are worse in the evening.
- Arteries. Narrowed arteries (peripheral arterial disease) can cause pain at rest, including when lying flat.
- Joints and bones. Arthritis or an old injury can flare when you lie still.
Aching legs at night: when the veins are involved
If your legs feel heavy, tight or achy by evening, the veins are a common suspect. When the one-way valves inside leg veins do not close properly, blood flows backwards and collects in the lower leg. This is known as chronic venous insufficiency. Typical clues are:
- Aching or heaviness that builds through the day and is worst after long periods standing or sitting
- Relief when you raise your legs, walk around or take a cool shower
- Visible varicose veins or fine spider veins
- Ankle swelling by evening that is lower in the morning (see swollen ankles)
- Itchy, dry or darkened skin near the ankles
- Throbbing or burning, sometimes described in our guide to vein pain in the leg
Heat and humidity make this worse, which is one reason many people in Singapore and the region notice it more. Vein pain often feels better in the morning because the legs have been level overnight. You can try our vein symptom check to see whether your symptoms fit a vein pattern. A doctor can confirm the cause with a painless ultrasound scan.
Leg cramps and other muscle causes
A sudden, tight, knotted pain in the calf or foot that wakes you from sleep is usually a muscle cramp. It may leave the muscle tender for a day. Cramps are common, especially in older adults and in pregnancy, and often have no clear cause. Our page on leg cramps at night covers causes, quick relief and prevention in detail. If the pain is a steady ache rather than a sudden spasm, think about the veins, nerves or joints instead.
Restless legs
If the main problem is an irresistible urge to move your legs, with creeping, crawling or pulling sensations that ease when you move, that points toward restless legs syndrome. It is worse when you sit or lie still in the evening. See our guide to restless leg syndrome.
Nerve pain
Nerve-related pain is often described as burning, tingling, shooting or like electric shocks, and may come with numbness. It can start in the lower back or buttock and travel down the leg (sciatica), or affect both feet in people with diabetes. Because it can look like vein pain, it is worth mentioning any numbness or tingling to your doctor.
Poor circulation in the arteries
Arteries carry blood down to the legs. If they are narrowed, the leg may hurt when walking and, in more advanced cases, at rest. A typical clue is pain in the foot or toes at night that eases when you let the leg hang over the side of the bed. Other clues include cold feet, shiny hairless skin, slow-healing sores and weak foot pulses. Risk factors include smoking, diabetes, high blood pressure, high cholesterol and older age. This is different from vein disease and needs medical assessment. If it comes on suddenly, call 995. For help comparing the two, see arterial vs venous ulcers.
A quick comparison
| Feature | Veins | Muscle cramp | Restless legs | Arteries | Nerves |
|---|---|---|---|---|---|
| Feels like | Ache, heaviness, throbbing | Sudden hard knot | Urge to move, crawling | Cramping or burning pain, cold foot | Burning, tingling, shooting |
| Eased by | Raising legs, walking | Stretching, walking | Moving the legs | Hanging leg down | Often position dependent |
| Often seen with | Varicose veins, swelling | Exercise, dehydration | Poor sleep, iron deficiency | Smoking, diabetes | Back pain, diabetes |
This is a guide only. Overlap is common, and a doctor needs to examine you.
What you can do at home
- Move regularly during the day and avoid long spells of standing or sitting still.
- Raise your legs above hip level for 15 to 20 minutes in the evening if the legs feel heavy.
- Do gentle calf stretches before bed.
- Keep a healthy weight, as extra weight puts more pressure on leg veins.
- Ask a pharmacist or doctor whether compression stockings are suitable for you; see the compression stockings guide. They should not be used if you have poor arterial circulation unless a doctor advises it.
- Note when the pain starts, where it is and what helps. This is useful information for a doctor.
Do not rely on supplements or creams as a cure for vein or circulation problems.
When to see a doctor
Call 995 immediately if:
- A leg suddenly becomes cold, pale, blue or numb, or you cannot move it
- Leg pain comes with chest pain, breathlessness or coughing up blood
Seek care the same day if one leg is suddenly swollen, painful, warm or discoloured, or if red, hot skin is spreading with fever. See blood clot in leg symptoms and swelling in one leg.
Book a visit soon if night pain is frequent, keeps waking you, is getting worse, comes with skin changes, sores that do not heal, visible veins or swelling, or does not fit a simple cramp. Your GP can examine the legs and pulses and arrange tests or a referral; see find a vein specialist. Unfamiliar terms are explained in the glossary.
This page is educational and does not replace personal medical advice.
Frequently asked questions
Why do my legs ache at night but not in the morning?
Gravity and a day on your feet can let blood pool in weak leg veins, so the ache often builds through the day and shows up when you finally sit or lie down. Rest, raising the legs and moving about usually ease it. If it happens most days, a vein check is reasonable.
Is night leg pain a sign of a blood clot?
Usually not, but a clot is possible if one leg is suddenly painful, swollen, warm or discoloured. That pattern needs a same-day medical check. Pain in both legs that has been present for months is much less likely to be a clot.
Can poor circulation cause leg pain only at night?
Yes. When the arteries are narrowed, pain in the foot or calf can come on when lying flat and ease when the leg hangs down. This is a sign to see a doctor, especially if the foot feels cold or the skin has changed colour.
Should I stretch or massage a painful leg at night?
Gentle stretching or walking around is fine for a cramp. Do not massage or stretch hard if one leg is swollen, warm and tender, because a clot needs to be ruled out first.
Sources and further reading
This article is general information, not personal medical advice. Please speak to a doctor about your own symptoms. How we create our content.