You are asleep. Then you are not asleep, because your calf has turned to stone and you are trying to work out which way to move without making it worse. Night leg cramps affect roughly 30% to 50% of pregnancies and cluster in the third trimester, which is also when sleep is already hardest to come by.
This guide covers the manoeuvre that ends one in seconds, what the trial evidence actually shows about magnesium and calcium, what is worth doing before bed, and — the part that matters most — how to tell a cramp from the one-sided leg pain that needs assessing today.
The short answer. To stop a cramp: straighten the leg, keep the knee straight and pull your toes firmly up toward your shin, then stand and walk on it. To reduce them: stretch your calves before bed, stay hydrated, walk daily and avoid pointing your toes. Magnesium may help but the evidence is inconsistent and low quality — ask your doctor before adding it. Persistent pain, swelling, warmth or redness in one leg is not a cramp and needs urgent assessment.
How to Stop One, Right Now
In the moment
- Straighten the leg and keep the knee straight
- Pull your toes up hard toward your shin — this is the part that works
- Hold the stretch until the muscle releases
- Stand up and walk on it
- Massage the calf firmly
- Warm shower or hot water bottle for the soreness afterwards
- Do not point your toes — it makes the contraction worse
The soreness can last a day or two. That is the muscle, not a sign of damage.
Why They Happen
Honestly: nobody knows for certain. The proposed mechanisms are all plausible and none is proven — the extra load on the calves, the growing uterus pressing on the veins that drain the legs, changes in calcium and magnesium handling, and ordinary muscle fatigue. What is consistent is the pattern: third trimester, at night, in the calf.
What the Evidence Says About Supplements
This is where most articles quietly overpromise, so here is the actual finding. The Cochrane review pooled 8 randomised trials covering 576 pregnant women and concluded:
| Intervention | What the review found |
|---|---|
| Magnesium | May reduce how often cramps happen, but findings were not consistent between studies |
| Calcium | Did not consistently reduce how often cramps happened |
| Vitamin B | More women recovered fully, but from a small sample with design limitations |
| Vitamin D | No effect on frequency, length or pain intensity |
| Overall: evidence rated low or very low quality; it is unclear whether any of these treatments is effective. | |
Which does not mean do not try magnesium. It means try it knowing what it is: a reasonable option with mixed evidence, worth a conversation with your doctor rather than a trip to the supplement aisle. Our prenatal supplements guide covers the seven that do have a clear role.
Reducing Them Before Bed
- Calf stretches — stand an arm's length from a wall, hands flat against it, one leg back with the heel down. Hold thirty seconds each side, twice, before bed.
- Keep drinking through the day, not all at once in the evening.
- Walk daily. Circulation is the plausible mechanism you can actually influence — the safe exercise guide covers what else is fine at each stage.
- Do not point your toes when you stretch out in bed. This is the single most common trigger women report.
- Avoid standing still for long stretches, and put your feet up when you sit — the same advice that helps swollen feet.
- Sleep on your left side in the third trimester, which also eases pressure on the vein returning blood from your legs. Our sleep positions guide has the pillow setup.
The Leg Pain That Is Not a Cramp
This is the section to remember. A cramp is sudden, brief, and stops when you stretch it out. A clot does none of those things.
One more thing gets confused with a cramp and is neither: restless legs, an urge to move rather than a pain, worse lying still and relieved by walking. It often responds to treating low iron, so it is worth naming rather than enduring.
Go to your maternity unit or A&E if you have pain, swelling and tenderness in one leg — usually at the back of the calf — that persists, may be worse when walking, and where the calf feels warm or looks red.
Swelling and aching in both legs is common in pregnancy and is usually not this. One-sided is the signal. Do not wait for a routine appointment, and do not massage a leg you are worried about.
Also seek advice, urgently, for breathlessness or chest pain, which can follow a clot travelling to the lungs.
At a Glance
Night calf cramps affect up to half of pregnancies and peak in the third trimester. Toes up toward the shin with a straight knee ends one in seconds. Stretching before bed, staying hydrated, walking daily and not pointing your toes are the sensible preventives. Magnesium may help, but the Cochrane evidence is inconsistent and low quality, so ask before adding it. And the one thing worth memorising: persistent pain, swelling, warmth or redness in a single leg is not a cramp and needs assessing the same day.
Inside Baby Novum. The supplement tracker holds magnesium, calcium and the rest of the core seven with dosing and reminder times, and shows an adherence bar — so if you do try something for cramps, you can tell whether it failed or whether you simply forgot it four nights out of seven.
Next: Pregnancy Insomnia → · Sleep Positions → · Swollen Feet →
Frequently Asked Questions
Why do I get leg cramps at night in pregnancy?
Nobody has proved a single cause. The usual explanations are the extra weight the calves are carrying, changed circulation as the growing uterus presses on the veins in the pelvis, shifts in calcium and magnesium levels, and simple muscle fatigue. They affect roughly 30% to 50% of pregnancies and are worst in the third trimester, almost always at night.
How do I stop a leg cramp fast?
Straighten the leg and pull your toes up hard toward your shin, keeping the knee straight. That stretches the calf muscle against the contraction and usually breaks it within seconds. Then stand and walk on it, and rub the muscle. A warm shower or a hot water bottle afterwards helps the soreness.
Does magnesium help pregnancy leg cramps?
The Cochrane review of 8 trials in 576 pregnant women found magnesium may reduce how often cramps happen, but the results were not consistent, and the evidence was rated low to very low quality. It is reasonable to try if your doctor agrees; it is not a proven fix, and calcium and vitamin D did not show a consistent effect.
How can I prevent night cramps?
Stretch your calves before bed, keep your fluid intake up through the day, walk daily, avoid pointing your toes when you stretch in bed, and do not stand still for long periods. None of this is guaranteed, but it costs nothing and addresses the plausible mechanisms.
Are leg cramps a sign of a magnesium deficiency?
Not necessarily, and you should not start supplements on that assumption. Blood magnesium levels do not correlate reliably with cramps, and the trial evidence is mixed. If you want to add magnesium, ask your doctor first — the same rule applies to any supplement beyond your standard prenatal one.
When is leg pain not a cramp?
A cramp is a sudden, brief, agonising contraction that eases when you stretch. Pain, swelling and tenderness in one leg, usually at the back of the calf, that persists and may worsen when you walk, is different — the calf may also feel warm and look red. That pattern needs urgent assessment for a blood clot.
Is it restless legs or cramps?
Restless legs syndrome is an unpleasant crawling sensation with an overwhelming urge to move, relieved by moving and worse in the evening. A cramp is a hard, visible muscle contraction that hurts. Both are common in pregnancy and both disrupt sleep, but they are different problems with different answers.
Do leg cramps go away after birth?
For most women they stop soon after birth, as the weight, the pressure on the pelvic veins and the fluid shifts all reverse. Cramps that continue well into the postpartum period are worth mentioning at your postnatal check.