Nighttime Leg Cramps During Pregnancy: Causes & Relief
Sudden, painful leg cramps that strike in the middle of the night are a frustrating — and very common — pregnancy symptom. These cramps usually affect the calves or feet and tend to appear more often in the second and third trimesters.
While they’re rarely dangerous, they can disrupt sleep and leave lingering soreness the next day. Understanding why they happen can make them easier to manage.
Pregnancy-related leg cramps don’t have one single cause. Most experts believe they’re linked to a combination of changes happening in your body.
As pregnancy progresses, extra weight and pressure on blood vessels can affect circulation in the legs, especially when lying down at night.
Carrying more weight and shifting posture can overwork leg muscles, making them more prone to sudden tightening.
Low levels of magnesium, calcium, or potassium may contribute to muscle cramps, especially if nausea or food aversions limit intake.
Not drinking enough fluids can increase the likelihood of muscle cramping — even mild dehydration can play a role.
As your uterus expands, it can press on nearby nerves, sometimes triggering cramping or muscle spasms.
Most people describe pregnancy leg cramps as:
- A sudden, sharp tightening in the calf or foot
- Pain that lasts seconds to a few minutes
- Residual soreness afterward
- More frequent at night or early morning
If a cramp wakes you up, try these steps right away:
- Gently stretch your foot upward (toes toward your shin)
- Massage the muscle until it relaxes
- Stand up and walk slowly if possible
- Apply warmth with a heating pad or warm towel
Avoid pointing your toes downward — this can make the cramp worse.
While cramps can’t always be prevented, these habits may reduce how often they occur:
Drink fluids consistently throughout the day, not just at night.
Gentle calf and foot stretches before sleeping can help relax muscles.
Avoid flat or unsupportive footwear during the day to reduce muscle strain.
Focus on foods rich in:
- Magnesium (nuts, seeds, leafy greens)
- Calcium (dairy, fortified alternatives)
- Potassium (bananas, avocados)
Always check with your provider before taking supplements.
Side sleeping improves circulation and reduces pressure on major blood vessels.
Contact your healthcare provider if:
- Pain is persistent or severe
- One leg is swollen, red, or warm
- Cramping is accompanied by shortness of breath
- Symptoms don’t improve with stretching or hydration
These signs may indicate something more serious, such as a blood clot, which needs immediate evaluation.
Nighttime leg cramps are an uncomfortable but common part of pregnancy, especially later on. Staying hydrated, stretching regularly, and supporting your muscles can go a long way toward relief — and reassurance.
If cramps are interfering with sleep or daily comfort, don’t hesitate to bring them up at your next prenatal visit.
Looking for more ways to sleep better during pregnancy? Explore our guides on pregnancy sleep positions and pregnancy insomnia.