
Why Do My Legs Hurt at Night? Causes and Relief
This voice experience is generated by AI.
If your legs hurt at night, the most common explanations are muscle cramps, restless legs syndrome, nerve pain, arthritis, or circulation problems. The pattern is the clue: a sudden hard calf knot points to cramp, an urge to move points to restless legs, and burning feet point to nerves. One-sided swelling or pain is different and needs prompt medical attention.
General information only, not medical advice. See a doctor for repeated night leg pain.
Why Legs Hurt at Night: Read the Pattern
Night does not create most leg pain. Lying still, tired muscles, and fewer distractions make symptoms easier to notice. Mayo Clinic notes that most night cramps have no known cause and likely reflect tired muscles and nerve issues.
- Muscle fatigue and cramps: A cramp is a sudden tightening, usually in the calf, lasting seconds to 10 minutes, sometimes leaving soreness for up to 24 hours, according to the NHS. Overuse, sitting for long periods, pregnancy, some medicines, and dehydration symptoms can contribute.
- Restless legs syndrome: The National Institute of Neurological Disorders and Stroke describes an irresistible urge to move, with aching, pulling, crawling, or creeping sensations that worsen at rest and at night and ease with movement.
- Nerve pain (neuropathy): MedlinePlus says tingling or burning often starts in the toes and feet, and diabetes is the most common cause. That differs from a calf cramp; see diabetes numbness and tingling.
- Circulation problems: NHLBI says peripheral artery disease usually causes leg pain when walking that goes away with rest; pain at rest is a severe sign. A cold, pale, or blue foot also needs review.
- Arthritis: NIAMS notes osteoarthritis commonly affects knees and hips, with joint pain and brief stiffness after rest. Pain centered in a joint fits arthritis better than cramp; compare arthritis symptoms.

Pain starting in the lower back and traveling down one leg is a different pattern. MedlinePlus says sciatica usually affects one side; see sciatica vs. lower back pain to compare.
Cramps vs. Restless Legs vs. Nerve Pain
| Feature | Night cramp | Restless legs | Nerve pain |
|---|---|---|---|
| Main feeling | Hard, painful knot | Urge to move | Burning, tingling, numbness |
| Timing | Sudden, seconds to minutes | Evening and at rest | Often ongoing, noticed at night |
| Relief | Stretching the muscle | Moving or walking | Treat the cause; protect feet |
Cleveland Clinic also separates cramps from restless legs: cramps are intense muscle spasms, while restless legs cause an uncomfortable crawling urge to move.
What Helps
During a cramp, stretch and massage the muscle, flex your foot upward, or stand and put weight on the leg if safe. The NHS says regular calf stretching may reduce cramps, though it may not stop them completely.
Before bed, stretch your calves, keep covers loose at the foot of the bed, and avoid a sudden jump in exercise intensity. Drink fluids during the day, but do not force excess water at night. Review new medicines with a doctor rather than stopping them yourself.
For restless legs, regular sleep, moderate exercise, leg massage, a warm bath, and cutting back on alcohol, nicotine, and caffeine may help, according to NINDS. Persistent symptoms may need iron checks or prescription treatment.
For joint, nerve, or circulation pain, treatment depends on the cause. Do not rely on stretching alone if pain is in a joint, both feet burn, walking brings on calf pain, or symptoms keep waking you.
When to See a Doctor
Book an appointment if cramps disturb sleep, last longer than 10 minutes, or come with numbness or swelling. Also seek review for repeated urge-to-move symptoms, burning or numb feet, joint swelling, leg pain when walking, slow-healing sores, or new weakness.
Seek urgent care for one-sided leg swelling, pain, warmth, or redness; chest pain; shortness of breath; coughing blood; a suddenly cold, pale, painful leg; or sudden weakness or numbness. The CDC warns that deep vein thrombosis needs prompt attention and a clot traveling to the lungs needs immediate care.
Frequently Asked Questions
Rest and lying still can reveal problems that movement masks. Night cramps strike when muscles are inactive, restless legs worsen in the evening and at rest, and nerve pain may feel stronger without daytime distractions. The pattern matters: a sudden hard calf knot suggests cramp, while an urge to move suggests restless legs.
It can be, but often it is not. Peripheral artery disease more typically causes leg pain when walking that eases with rest. Pain at rest, a cold or pale foot, or sores that heal slowly need prompt medical review. One-sided swelling, warmth, or redness can signal a blood clot.
Stretch the cramped muscle, flex your foot up toward your face for a calf cramp, massage the muscle, and stand or walk if you can do so safely. Regular calf stretching, fluids during the day, and loose covers at the foot of the bed may reduce how often cramps happen.
A cramp is a sudden, painful tightening that makes the muscle feel hard, usually for seconds to minutes. Restless legs cause an uncomfortable urge to move, often with crawling, pulling, or aching sensations that ease while you move and return when you lie still. Restless legs are usually not severely painful.
Yes. Diabetes is the most common cause of peripheral neuropathy, which can cause tingling, burning, numbness, or deep pain starting in the toes and feet. Symptoms may be noticed more at night. New numbness, burning feet, weakness, or foot sores should be reviewed by a doctor.
Seek urgent care for one-sided leg swelling or pain with warmth or redness, chest pain, shortness of breath, coughing blood, a suddenly cold pale painful leg, or sudden weakness or numbness. These can signal a blood clot, poor blood flow, or another condition needing immediate treatment.