New for 2026: Our updated car-seat safety ratings are live. See the winners →

← Guides
pregnancy

Leg Cramps During Pregnancy: Relief and Prevention

How to stop a pregnancy leg cramp fast and prevent the next one.

By Dana Reyes · CPST-certified car seat & safety editor

Updated June 11, 2026

Medically reviewed by Dana Reyes, CPST-certified car seat & safety editor· Last updated June 11, 2026
· 2 min read
Leg Cramps During Pregnancy: Relief and Prevention

Few pregnancy discomforts wake you as abruptly as a leg cramp — a sudden, vise-like seizing of the calf, often in the middle of the night. They are common, harmless in the usual case, and very manageable once you know the fast-relief move and the prevention habits. This guide also flags the one scenario where leg pain needs urgent attention.

What pregnancy leg cramps feel like

A pregnancy leg cramp is a sudden, involuntary tightening of a muscle, usually in the calf but sometimes the foot, that can last seconds to a few minutes and leave the muscle tender afterward. They are most common in the second and third trimesters and tend to strike at night, interrupting sleep.

How to relieve a cramp in the moment

The key move is to stretch the cramping muscle: straighten your leg and flex your foot so your toes point up toward your shin (the opposite of pointing your toes, which can trigger or worsen a cramp). Hold the stretch until the spasm releases, then massage the muscle and apply warmth — a heating pad, warm towel, or warm bath. Standing and gently walking afterward helps the muscle relax.

Why they happen in pregnancy

The precise cause is not fully established, but several pregnancy changes likely contribute: extra weight and altered circulation strain the legs, muscles tire more easily, fluid and mineral balance shifts, and reduced nighttime movement may play a role. The reassuring point is that ordinary leg cramps, while painful, are not dangerous.

How to prevent leg cramps

Prevention is mostly about hydration, movement, and stretching. Drink enough water through the day, stretch your calves before bed (a gentle wall stretch works well), stay lightly active with walking to support circulation, elevate your legs when resting, and avoid pointing your toes. Supportive shoes during the day and a warm pre-bed bath can also reduce frequency. Ask your provider whether a magnesium supplement is appropriate for you — evidence is mixed and you should not self-prescribe.

When leg pain is a red flag

Routine cramps come and go quickly. But pregnancy raises the risk of blood clots, so treat persistent one-sided leg pain differently: swelling, redness, warmth, or tenderness localized to one calf can signal a deep vein thrombosis (DVT) and needs prompt medical evaluation. When in doubt, call your provider rather than assume it is "just a cramp."

The bottom line

Pregnancy leg cramps are common, especially at night in later trimesters. Relieve them by flexing the foot to stretch the calf, then massage and warm the muscle; prevent them with hydration, calf stretches, gentle activity, and leg elevation. Watch for one-sided swelling, redness, or warmth, which warrants urgent care.

Was this article helpful?

Frequently asked questions

How do I stop a pregnancy leg cramp fast?

When a cramp hits, straighten your leg and gently flex your foot so your toes point up toward your shin — this stretches the cramping calf muscle. Hold until it eases, then massage the muscle and apply a warm compress. Walking it off for a minute afterward can help too.

Why do pregnancy leg cramps happen at night?

The exact cause is not fully understood, but contributing factors include the extra weight and circulatory changes of pregnancy, fatigue in the leg muscles, possible mineral balance shifts, and reduced movement at night. They are most common in the second and third trimesters.

How can I prevent leg cramps in pregnancy?

Stay well hydrated, stretch your calf muscles before bed, stay gently active during the day (walking helps circulation), avoid pointing your toes, elevate your legs when resting, and wear supportive footwear. Some people find a warm bath before bed helps.

Should I take magnesium for pregnancy leg cramps?

Some studies suggest magnesium may help reduce pregnancy leg cramps for some people, but evidence is mixed. Do not start any supplement without checking with your provider first, as needs and safe doses vary.

When are leg cramps a warning sign?

Get urgent care if you have persistent pain, swelling, redness, warmth, or tenderness in one leg (especially the calf) — these can indicate a deep vein thrombosis (blood clot), which is more common in pregnancy and needs prompt evaluation.

Written by

Dana Reyes

CPST-certified car seat & safety editor

References

  1. 1.Leg Cramps During PregnancyMarch of Dimes
  2. 2.Pregnancy DiscomfortsAmerican College of Obstetricians and Gynecologists (ACOG)

Related reading