What causes muscle cramps at night?
Last updated September 3, 2026.
Night cramps usually come from muscle fatigue, long sitting or standing, dehydration, or age - plus pregnancy and some medications (diuretics, statins). Mid-cramp: stretch and massage - straighten the leg, pull toes toward your shin, or stand on it. Painkillers work too slowly to stop a cramp but ease the soreness after. The best-evidenced prevention is calf stretches before bed - lean into a wall, leg straight, hold, repeat for a few minutes. See a doctor for frequent severe cramps, or cramps with swelling, redness, warmth, weakness, or numbness, or ones starting with a new medication. Pymander is a free AI doctor, 24/7 by text, and can help you work out your pattern.
What to do
- Stretch it out mid-cramp: toes to shin, or stand and bear weight.
- Do bedtime calf stretches: the NHS wall routine, nightly.
- Review medications: diuretics and statins are on the suspect list.
- Escalate the unusual: one-sided swelling, warmth, weakness, or numbness is not a normal cramp.
Related questions
- How much water should you drink a day?
- What causes heel pain in the morning?
- What helps sciatica pain?
- Can an online doctor help with insomnia?
