A foam massage roller and a folded electric heating pad resting at the foot of a rumpled bed at night, with a full glass of water on the nightstand under low lamplight.

The journal · Pregnancy

Leg Cramps During Pregnancy: Why They Hit at Night and What Actually Helps

November 10, 2026 · 10 min read · 5 sources cited

In short

Leg cramps during pregnancy are common: a Cochrane review puts it at 30 to 50 percent of pregnant women, usually in the second and third trimesters and usually at night. Nobody knows exactly what causes them. When one hits, straighten your leg and pull your toes toward your shin, then massage or warm the muscle. Calf stretches before bed, fluids during the day, and regular exercise are the simple prevention steps; supplements like magnesium have mixed evidence, so ask your provider first. Pain that does not ease, or comes with swelling, warmth, or redness in one leg, is not a cramp to wait out. Call your provider right away.

It is 2 a.m. You roll over, stretch your legs out the way you have done every night of your life, and your calf seizes into a hard, hot knot. You are suddenly wide awake, gripping the sheets, waiting for it to let go. Your partner is still asleep.

If that sounds familiar, you have plenty of company. Leg cramps during pregnancy are one of the most common complaints of the second half of pregnancy, and they are almost always harmless, just miserable. Here is what the medical sources actually say about why they happen, how to stop one fast, what may help prevent them, and the one kind of leg pain that should never be shrugged off as a cramp.

01What a pregnancy leg cramp is

A leg cramp is exactly what it feels like. The Cleveland Clinic describes leg cramps as "sudden, involuntary, intense muscle spasms, usually in your calf, foot or thigh," and says they "can last from several seconds to several minutes." The everyday name is a charley horse, which Nemours KidsHealth calls "the nonclinical name for painful cramps in calf muscles." Its reassurance is worth repeating: "While they can be extremely painful, charley horses are — luckily! — usually brief."

02How common they are, and when they show up

Very common. A 2020 Cochrane review, the most rigorous summary of the research we found, reports that "up to 30% to 50% of pregnant women suffer from leg cramps, especially in the third trimester" (Luo et al., Cochrane Database of Systematic Reviews). The Cleveland Clinic gives a similar figure: approximately 40 percent of people experience leg cramps during pregnancy.

The timing is consistent across sources too. HealthLink BC says they are common "especially in the second and third trimesters. And they happen most often at night." KidsHealth agrees: many pregnant women get lower leg cramps, "often in the middle of the night in their second and third trimesters." Outside of pregnancy, the Cleveland Clinic notes that about 3 out of 4 reported leg cramps happen at night, when you are not very active or are asleep.

03Why they happen (what is known, and what is not)

Here is the honest answer: nobody is certain. HealthLink BC says plainly that "doctors don't know exactly what causes leg cramps during pregnancy," and KidsHealth says the same about charley horses in general.

The one explanation we could verify comes from the Cleveland Clinic: "Healthcare providers believe that's because the extra weight of pregnancy strains your muscles." That is a belief, not a proven mechanism. You will see plenty of articles state that pregnancy cramps come from low magnesium, low calcium, or dehydration as if it were settled. As the next sections show, the research on fixing those things is mixed at best, so we are not going to present any of them as the cause.

04How to stop a leg cramp right now

When a cramp grabs, the goal is to gently lengthen the muscle that is knotted up. The sources agree on the basic move, and it works best if you know it before you need it.

When a cramp hits

  • Straighten your leg and flex your foot. The Cleveland Clinic says to "straighten your leg and then flex it, pulling your toes toward your shin to stretch the muscles." HealthLink BC puts it as "flex your toes toward your head."
  • Do not point your toes. Pointing your toes is the position that tightens the calf further. KidsHealth specifically warns "don't point your toes while stretching."
  • Massage the muscle. KidsHealth says "a gentle massage of the calf may help relax the muscle," and the Cleveland Clinic suggests using your hands or a roller.
  • Add warmth. HealthLink BC suggests a heating pad or warm water bottle on your leg; the Cleveland Clinic suggests a heating pad or a warm bath.
  • Walk it out, if you can do it safely. The Cleveland Clinic suggests wiggling your leg while you walk around. In the middle of the night, take it slowly and turn on a light first, since balance changes late in pregnancy and a dark bedroom is no place to rush.

If your partner is awake, this is a great job to hand off. They can hold your heel and gently press the ball of your foot toward your shin while you breathe through it.

05What may help prevent them

None of these is a guaranteed fix, but they are low-risk, simple, and recommended by the sources we checked.

If cramps are waking you up night after night, it may also help to rethink how you settle in. Our guide to pregnancy sleep positions walks through the setups that tend to make late-pregnancy nights more comfortable.

06What about magnesium, calcium, and other supplements?

This is where the internet is far more confident than the evidence. The 2020 Cochrane review pooled eight small studies with 576 women and tested magnesium, calcium, vitamin B, vitamin C, and vitamin D. Here is what it found (Luo et al.):

The authors' bottom line: "It is unclear from the evidence reviewed whether any of the interventions provide an effective treatment for leg cramps." They also note that most studies did not report harms, so "it is therefore not possible to assess the safety of these interventions."

Ask before you add a supplement

That uncertainty is exactly why KidsHealth advises you to "talk to your doctor to see if extra calcium or magnesium could help you" and to "always check with the doctor before taking any supplements during your pregnancy." Your prenatal vitamin already contains some of these nutrients, and your provider can tell you whether adding more makes sense for you. Our guide to prenatal vitamins explains how to read what is already on the label.

07When leg pain is not a cramp

This is the most important section on the page. Pregnancy raises the risk of blood clots, and a clot in the leg can be mistaken for a stubborn cramp. The CDC says women who are pregnant or have recently had a baby have a higher risk of blood clots, and are especially at risk "during pregnancy, childbirth, and the 3-month period after delivery."

HealthLink BC draws the line clearly: "Leg pain or tenderness (not cramps) may be a sign of a serious problem called deep vein thrombosis, or DVT." It adds that DVT isn't common during pregnancy, but "it can be life-threatening and requires medical treatment." A cramp comes on suddenly, eases within minutes, and lets go when you stretch. A clot tends to linger.

Call your provider right away if leg pain

Doesn't ease, is severe, or comes with swelling, warmth, or redness in the leg or trouble walking (KidsHealth). The CDC lists the signs of a clot in the leg as swelling of the affected limb, pain or tenderness not caused by injury, and skin that is warm to the touch, red, or discolored. HealthLink BC adds that the affected leg may look redder than the other one, and that any leg pain that doesn't go away, especially with swelling, is a reason to contact your doctor or midwife right away. The Cleveland Clinic says to go to the emergency room if a leg cramp lasts longer than 10 minutes or becomes unbearably painful. Call 911 or go to the emergency room if you have difficulty breathing, chest pain that usually worsens with a deep breath or cough, a cough or coughing up blood, or a faster than normal or irregular heartbeat — the CDC's warning signs that a clot may have reached the lungs.

One more distinction worth knowing: swelling in both feet and ankles is common late in pregnancy, while swelling, warmth, or redness in just one leg is the pattern to call about. Our guide to swelling during pregnancy covers what is normal and what is not.

This is general information, not medical advice

Every pregnancy is different. If cramps are frequent, severe, or keeping you from sleeping, mention them at your next prenatal visit, and call sooner if anything about the pain feels different from a cramp. Your OB or midwife knows your history and would always rather hear from you than have you guess.

08Getting through the cramp months

Leg cramps tend to arrive right when sleep is already getting harder, which is part of why they feel so unfair. The good news is that the fix is mostly habits: a calf stretch before bed, water during the day, a walk when you can manage it, and knowing the flex-your-foot move so a 2 a.m. cramp passes in seconds instead of minutes.

Those last months fill up fast with other things too. Our free week-by-week planner takes your due date and spreads the prep across pregnancy, so the bigger jobs are done before the third trimester, and the nights you do get can go to rest.

Questions parents actually ask

When do leg cramps start in pregnancy?

Most commonly in the second and third trimesters, and most often at night, according to HealthLink BC and Nemours KidsHealth. A 2020 Cochrane review notes they are especially common in the third trimester. There is no set start week, and some people never get them.

How common are leg cramps during pregnancy?

Very common. The 2020 Cochrane review by Luo and colleagues reports that up to 30 to 50 percent of pregnant women have leg cramps, and the Cleveland Clinic estimates about 40 percent.

What is the fastest way to stop a leg cramp while pregnant?

Straighten your leg and pull your toes toward your shin to stretch the calf, as the Cleveland Clinic and HealthLink BC describe. Do not point your toes. Then gently massage the muscle or apply a heating pad. Most cramps let go within seconds to a few minutes.

Does magnesium help leg cramps in pregnancy?

Maybe, but the evidence is mixed. A 2020 Cochrane review found magnesium may reduce how often cramps happen, but the results were inconsistent across studies, and the authors concluded it is unclear whether any treatment they reviewed is effective. Check with your provider before taking any supplement during pregnancy.

How can I tell a leg cramp from a blood clot?

A cramp comes on suddenly and eases within minutes, especially when you stretch. Pain or tenderness that lingers, or comes with swelling, warmth, or redness in one leg, may be a sign of a deep vein thrombosis, according to HealthLink BC and the CDC. Call your provider right away for that kind of pain, and call 911 if you also have chest pain or trouble breathing.

Sources

  1. Luo L, Zhou K, Zhang J, Xu L, Yin W (2020). Interventions for leg cramps in pregnancy. Cochrane Database of Systematic Reviews (via PubMed Central) — Up to 30-50% of pregnant women have leg cramps, especially in the third trimester; eight small studies with 576 women; magnesium results inconsistent; calcium evidence unclear; vitamin D may make little or no difference (one trial, 84 women); vitamin B result from one small trial (42 women); unclear whether any intervention is effective; safety could not be assessed.
  2. Cleveland Clinic — Leg Cramps at Night — Definition of leg cramps; last seconds to minutes; about 40% of people have leg cramps during pregnancy, believed to be from the extra weight straining muscles; about 3 of 4 reported cramps happen at night; straighten the leg and pull toes toward the shin, massage, walk, heat; stretch before bed; see a provider for frequent, long, or very painful cramps; go to the ER if a cramp lasts longer than 10 minutes or becomes unbearably painful.
  3. Nemours KidsHealth — What Can Help With Leg Cramps During Pregnancy? — Charley horse definition; cramps are usually brief; common at night in the second and third trimesters; cause unknown; calf stretches before bed without pointing toes; drink fluids; regular exercise if the doctor approves; ask the doctor before calcium, magnesium, or any supplement; straighten the leg, flex the foot, and massage; call right away for pain that doesn't ease, is severe, or comes with swelling, warmth, redness, or trouble walking.
  4. HealthLink BC (Healthwise) — Leg Cramps During Pregnancy — Common in the second and third trimesters and most often at night; doctors don't know the exact cause; regular exercise and a warm bath before bed; flex toes toward the head and apply heat; leg pain or tenderness (not cramps) may signal DVT, which is uncommon but can be life-threatening; affected leg may be swollen, warm, and redder; contact a doctor or midwife right away for leg pain that doesn't go away.
  5. CDC — Understanding Your Risk for Blood Clots with Pregnancy — Pregnant and recently delivered women have a higher risk of blood clots, especially during pregnancy, childbirth, and the 3 months after delivery; DVT signs (swelling, pain or tenderness not caused by injury, warm, red, or discolored skin); pulmonary embolism signs (difficulty breathing, chest pain worse with deep breath or cough, coughing up blood, fast or irregular heartbeat) need immediate medical attention.

Newborn Weeks is planning help, not medical advice — always follow your own doctor, midwife, or pediatrician.

The plannerTurn this into a week-by-week planEnter your due date and get every prep task scheduled into the weeks you feel best.

From the gear guide

Keep reading