How it worksSafetyHealth libraryOur mission Sign in Start a free consult
Pymander
Free consult

What causes muscle cramps at night?

Updated Sep 3, 20261 min readAnswer
On this pageShort answer What to do Common questions Related questions Sources
Short answer

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 causes muscle cramps at night? Ask our AI doctor - a straight answer in plain language, free, 24/7. Start a free consult Free · Private · 24/7
Cramps waking you up? Text a free AI doctorStart a free AI doctor consult

What to do

1Stretch it out mid-cramp:toes to shin, or stand and bear weight.
2Do bedtime calf stretches:the NHS wall routine, nightly.
3Review medications:diuretics and statins are on the suspect list.
4Escalate the unusual:one-sided swelling, warmth, weakness, or numbness is not a normal cramp.

Common questions

What causes muscle cramps at night?

Night leg cramps - sudden, vise-like tightening of the calf or foot that jolts you awake - usually have no single dramatic cause. The everyday drivers: muscle fatigue from more activity than usual, long stretches of sitting or standing, dehydration, and simply getting older (they get more common with age). Pregnancy brings them on, especially later on. Some medications list them as a side effect - diuretics and statins among them. What to do in the moment: stretch and massage the muscle - for a calf cramp, straighten the leg and pull your toes up toward your shin, or stand and put weight on that leg. Painkillers will not stop a cramp mid-strike (they work too slowly) but acetaminophen or ibuprofen can ease the soreness left behind. Prevention has one best-evidenced move: calf stretches before bed - the NHS routine is leaning into a wall with the leg straight, holding the stretch, repeated for a few minutes, ideally three times a day with the last round just before bed. See a doctor if cramps are frequent and severe, come with leg swelling, redness or warmth, weakness, or numbness, or started with a new medication - persistent cramping occasionally points to circulation, nerve, or electrolyte issues. Pymander is a free AI doctor, 24/7 by text, that can help you work out your pattern.

About this page. Written and maintained by the Pymander Health team. Last updated September 3, 2026.

Questions about this?Start a free consult