That sudden, gripping cramp in your calf that jolts you awake at 2 a.m. is one of the most common complaints of later pregnancy — and in most cases, it's uncomfortable rather than concerning. The short version: it's usually your growing uterus, circulation changes and mineral levels working together, and it has simple things that help.

Why it happens

Several ordinary pregnancy changes combine to make cramps more likely at night, specifically:

  • Pressure from the growing uterus on the nerves and blood vessels running to your legs
  • Low magnesium or calcium — your mineral needs shift during pregnancy
  • Slower circulation at night, when you're lying still for hours
  • Dehydration, which makes muscles more prone to cramping generally
  • Long periods of standing earlier in the day, which catch up with you once you lie down

What actually helps

  • Stretch your calf before bed — a gentle, sustained stretch rather than a quick one
  • Stay hydrated through the day, not just in the evening
  • Take minerals as your doctor advises — don't start supplements on your own without checking with them first
  • An evening walk, rather than being sedentary all day and still all night
  • Avoid pointing your toes when stretching or settling into bed — flexing the foot upward instead is less likely to trigger a cramp
  • A warm compress on the calf if a cramp does strike

Night cramps are uncomfortable, not usually dangerous — but how you tell the difference matters.

When to see a doctor

Most night cramps are simply that — cramps. See your doctor if:

  • Cramps are severe or very frequent, disrupting sleep night after night
  • One leg is swollen, in addition to or instead of cramping — this needs to be checked rather than assumed to be the same thing

A cramp that resolves with stretching in a few minutes is very different from persistent swelling, warmth or pain in just one leg, which deserves prompt medical attention rather than home remedies.

Frequently asked

Are night leg cramps a sign something is wrong with my pregnancy?

On their own, no — they're one of the most common and well-understood discomforts of later pregnancy. They become worth flagging specifically when they're severe, very frequent, or paired with one-sided swelling.

Should I take a magnesium or calcium supplement on my own?

Don't start any supplement without checking with your doctor first — they'll tell you whether it's needed and at what level, based on your own diet and blood work.

Why do cramps happen mostly at night and not during the day?

Circulation naturally slows when you've been lying still for a while, and the muscle fatigue from a day of activity or standing tends to surface once you finally rest — both make night the more likely time for a cramp to hit.

Does my sleeping position make a difference?

It can help indirectly — see the best sleeping position in pregnancy for how side-sleeping with pillow support eases pressure on your legs generally, which may reduce how often cramps strike.

If swelling (rather than cramping alone) is your main concern, that's worth discussing with your doctor directly as its own symptom rather than assuming it's part of the same cramping pattern.

Watch: Dr. Gahlot on this topic

Why do your legs cramp at night in pregnancy? — Dr. Ankita Gahlot · Watch on YouTube
Night-time leg cramps in pregnancy, explained — Dr. Ankita Gahlot · Watch on Instagram