Skip to main content
Reading mode: standard
Symptom guide Evidence-graded4-min read

Muscle cramps

The 2 a.m. calf cramp. Muscle cramps, spasms and charley horses that arrive in perimenopause and won't leave.

The one that jolts you out of sleep. The one in the foot the second you point your toes in a yoga class. The one in the hamstring at the bus stop. New, frequent, painful muscle cramps in midlife are a real, well-documented pattern — and mostly, they're fixable.

Educational · not medical advice

Is this just for menopause?

Perimenopause first, but if your hormones shape your health (endo, PMDD, ADHD, after cancer, trans and non-binary included), you're in the right room. Here's how this guide applies to you: the patterns and questions below follow hormone changes, whatever set them off, so read them against your own history and take what fits to your doctor or specialist.

Find guides for your body
On this page
Text size

In short

  • What it is: Estrogen influences how muscle cells handle magnesium, potassium and calcium.
  • Why it happens: Four things stacking.
  • What helps in 2 minutes: Magnesium glycinate or citrate, 200 to 400 mg most nights. The best-studied cheap intervention for nocturnal leg cramps; that range is what trials use, not a dose set for you.

Listen

Free, no sign-in. Nila doesn't send play activity anywhere. Your choices, saved sounds and finished listens stay on this device.

1:37 · What's happening

About, device voice

Read transcript

The one that jolts you out of sleep. The one in the foot the second you point your toes in a yoga class. The one in the hamstring at the bus stop. New, frequent, painful muscle cramps in midlife are a real, well-documented pattern — and mostly, they're fixable.

Four things stacking. Most of them respond to small changes.

Electrolyte handling shifts with estrogen. Estrogen supports magnesium and potassium retention. As it drops, more is lost through sweat and urine. Cramps are often the first visible sign, before any blood test reads low.

Dehydration is under-noticed at 45. Thirst signals blunt with age. The exact same day that felt fine at 30 leaves you two glasses short at 48. Night calf cramps are one of the earliest quiet flags.

Statins and diuretics are common triggers. Statins can cause muscle cramping and pain in a subset of people. Blood-pressure diuretics deplete potassium and magnesium. Both are worth a medication review, not a stop-taking-it decision.

Restless legs and cramps are cousins, not the same. Cramps are a locked, painful contraction. Restless legs is an urge to move without pain. They can co-exist, but the workup and fix differ — see the restless-legs guide if that's the fit.

What's happening • Reviewed Jul 2026 • Guide • Guide reading

1:50 · What you can try

About, device voice

Read transcript

Start with the cheap, boring, high-evidence tools. Most people see a real drop inside two weeks.

Magnesium glycinate or citrate, 200 to 400 mg most nights. The best-studied cheap intervention for nocturnal leg cramps; that range is what trials use, not a dose set for you. Glycinate is gentler on the gut than oxide. Give it a fortnight before judging, and check with a doctor or pharmacist first if you have kidney disease.

Add electrolytes, not just water. Plain water can dilute sodium further. A pinch of salt and a squeeze of citrus in your first glass, or a low-sugar electrolyte sachet on hot or active days, prevents most cramps.

Stretch the calf and hamstring before bed. Two minutes of a wall calf-stretch and a seated forward fold, most nights, reduces night cramps in trials. Ridiculous ratio of effort to result.

Break up cramp with the opposite muscle, not massage. When the calf locks, pull your toes hard toward your shin (dorsiflex). It stops the spasm faster than rubbing the belly of the muscle.

Review medications and blood tests. Ask for magnesium, potassium, vitamin D and B12. Discuss statins, diuretics and any new prescriptions. Never stop on your own — bring the pattern to your doctor.

MHT restores some of the mineral-handling story. Many people report cramps quiet noticeably on transdermal estrogen. Not the reason to start MHT alone, but a real side benefit worth naming.

What you can try • Reviewed Jul 2026 • Guide • Guide reading

Device voice isn't available here. The transcripts stay open to you.

Hide

Why the muscles fire without asking

Four things stacking. Most of them respond to small changes.

  • Electrolyte handling shifts with estrogen

    Estrogen supports magnesium and potassium retention. As it drops, more is lost through sweat and urine. Cramps are often the first visible sign, before any blood test reads low.

    Find a menopause-trained doctor
  • Dehydration is under-noticed at 45

    Thirst signals blunt with age. The exact same day that felt fine at 30 leaves you two glasses short at 48. Night calf cramps are one of the earliest quiet flags.

    See the research library
  • Statins and diuretics are common triggers

    Statins can cause muscle cramping and pain in a subset of people. Blood-pressure diuretics deplete potassium and magnesium. Both are worth a medication review, not a stop-taking-it decision.

    Find a menopause-trained doctor
  • Restless legs and cramps are cousins, not the same

    Cramps are a locked, painful contraction. Restless legs is an urge to move without pain. They can co-exist, but the workup and fix differ — see the restless-legs guide if that's the fit.

    See the research library

Noticing, assessment and follow-up

Your next steps

For yourself, or for your next appointment. These are questions and things to notice, not a diagnosis or a treatment plan.

What can I notice?

  • Time of day and which muscle. Night calf and foot cramps are classic mineral/hydration. Daytime, one-sided cramps in the same muscle after activity are a different conversation.
  • Water and electrolytes over 48 hours before the cramp. Cramps often trail a low-water, high-caffeine, high-sweat day by 24 to 36 hours. The pattern is easier to see with two weeks of light notes than in the moment.
  • Muscle pain that lingers after the cramp. A day or two of tenderness is normal. A week of pain, or dark urine after cramping, is a same-week GP call.

Could a test help?

  • You can ask: 'Does this pattern need an examination or a test? What would the result change, and what are the options if we don't test?' There's no automatic hormone panel attached to this guide.

What happens next?

  • Choose what you'd most like help with. Ask who'll review any results, how you'll receive them, and when to check back if the symptom continues or treatment isn't helping.
  • Review medications and blood tests. Ask for magnesium, potassium, vitamin D and B12. Discuss statins, diuretics and any new prescriptions. Never stop on your own — bring the pattern to your doctor.
  • MHT restores some of the mineral-handling story. Many people report cramps quiet noticeably on transdermal estrogen. Not the reason to start MHT alone, but a real side benefit worth naming.

When shouldn't I wait?

  • Cramps with swelling, warmth or one-leg tenderness. That's a DVT rule-out, not a mineral question. Same-day urgent care.
  • Cramps plus new muscle weakness or dark urine. Can be a rare statin or muscle-breakdown reaction. Same-week GP with a medication list.
  • Cramps taking over sleep or dictating exercise. A menopause-trained doctor for MHT, medication review and a proper mineral panel. You shouldn't be white-knuckling this.

Free to read

What tends to help

Start with the cheap, boring, high-evidence tools. Most people see a real drop inside two weeks.

  • Magnesium glycinate or citrate, 200 to 400 mg most nights

    The best-studied cheap intervention for nocturnal leg cramps; that range is what trials use, not a dose set for you. Glycinate is gentler on the gut than oxide. Give it a fortnight before judging, and check with a doctor or pharmacist first if you have kidney disease.

    See the supplements guide
  • Add electrolytes, not just water

    Plain water can dilute sodium further. A pinch of salt and a squeeze of citrus in your first glass, or a low-sugar electrolyte sachet on hot or active days, prevents most cramps.

    Open the nutrition library
  • Stretch the calf and hamstring before bed

    Two minutes of a wall calf-stretch and a seated forward fold, most nights, reduces night cramps in trials. Ridiculous ratio of effort to result.

    Browse the library
  • Break up cramp with the opposite muscle, not massage

    When the calf locks, pull your toes hard toward your shin (dorsiflex). It stops the spasm faster than rubbing the belly of the muscle.

    Browse the library
  • Review medications and blood tests

    Ask for magnesium, potassium, vitamin D and B12. Discuss statins, diuretics and any new prescriptions. Never stop on your own — bring the pattern to your doctor.

    Find a menopause-trained doctor
  • MHT restores some of the mineral-handling story

    Many people report cramps quiet noticeably on transdermal estrogen. Not the reason to start MHT alone, but a real side benefit worth naming.

    Compare hormone therapy options

Free, saves on this device

Three changes that move the needle

Tonight

Add electrolytes, not just water

Plain water can dilute sodium further.

This week

Magnesium glycinate or citrate, 200 to 400 mg most nights

The best-studied cheap intervention for nocturnal leg cramps; that range is what trials use, not a dose set for you.

Longer

Review medications and blood tests

Ask for magnesium, potassium, vitamin D and B12.

Free, saves on this device

What it looks like for you

Does this sound like you?

Tick what you've noticed. Ticks stay on this device only, and this isn't a score.

Three-day mini tracker

It stays on this device. After three different days you'll see a pattern.

Private three-day symptom tracker
DayTime of dayHow strongShort sleep?

0 of 3 entries logged

Use your account check-in instead

For yourself, or for your next appointment. Your device-only guide entries stay separate.

Sign in to save. Private to you.

Relief Finder

Browse what actually helps

Explore the Relief Finder by what you're feeling. There isn't a dedicated match for this guide yet.

    Open Relief Finder
    For doctors and specialists

    Clinical resources

    Written for doctors and specialists, and open to anyone. Handy to bring to an appointment if you'd like to talk it through together.

    03When to get help now

    When to see a doctor

    Emergency red flags, same-week signs, and where to find a menopause-trained practitioner.

    See the red flags
    3 more signs it needs a doctor this week
    • Cramps with swelling, warmth or one-leg tenderness

      That's a DVT rule-out, not a mineral question. Same-day urgent care.

    • Cramps plus new muscle weakness or dark urine

      Can be a rare statin or muscle-breakdown reaction. Same-week GP with a medication list.

    • Cramps taking over sleep or dictating exercise

      A menopause-trained doctor for MHT, medication review and a proper mineral panel. You shouldn't be white-knuckling this.

    Go deeper

    One place for everything else.

    Practices to try this week, voices worth hearing, books worth your bedside table, rooms where members are talking, the candid tips Nila would share over a cup of tea, and the research the editorial team is watching.

    • Time of day and which muscle

      Night calf and foot cramps are classic mineral/hydration. Daytime, one-sided cramps in the same muscle after activity are a different conversation.

    • Water and electrolytes over 48 hours before the cramp

      Cramps often trail a low-water, high-caffeine, high-sweat day by 24 to 36 hours. The pattern is easier to see with two weeks of light notes than in the moment.

    • Muscle pain that lingers after the cramp

      A day or two of tenderness is normal. A week of pain, or dark urine after cramping, is a same-week GP call.

    Where to next

    Last updated 2026-07-24

    Next: Restless legs

    Opens a draft with this guide linked. Nothing posts until you press Post.

    Discuss today's prompt in community