Skip to content
Weeks 20-40

Leg Cramps

Sourced from ACOG/WHO/CDC guidelines • Updated June 2026
🔵 Common Pregnancy Symptom

What It Is & Why It Happens

Leg cramps are sudden, involuntary, painful contractions of the calf muscles, ankles, or feet. They affect up to 45% of pregnant individuals and most commonly occur at night, waking you from sleep.

The exact cause of gestational leg cramps is not fully understood, but several physiological factors contribute:

  • Muscle Fatigue: The calf muscles work harder during the day to support your expanding body weight and adapt to changes in your center of gravity.
  • Venous Stasis (Sluggish Circulation): The growing uterus places physical pressure on the pelvic veins and the inferior vena cava (the large vein returning blood from the lower body to the heart). This slows down circulation, leading to fluid retention and muscle cramping.
  • Mineral Imbalance: Changes in how your body processes minerals (calcium, magnesium, and phosphorus) can affect muscle contraction and nerve signals.

Typical Timeline

Leg cramps typically begin in the second trimester (around Week 20) and can increase in frequency and intensity during the third trimester (Weeks 28-40) as fetal weight increases and pelvic pressure peaks. They are most common during the second half of pregnancy and resolve quickly after delivery.

Safe Comfort Measures

You can safely relieve and prevent leg cramps with these physical remedies:

  • Flex Your Foot: When a cramp starts, stretch the calf muscle immediately by straightening your leg and flexing your foot upward (toes toward your shin). Avoid pointing your toes, as this can worsen the cramp.
  • Stay Active: Perform gentle stretching exercises before bed, such as calf stretches against a wall. Take a short walk daily to support healthy circulation.
  • Hydrate & Eat Balanced Meals: Drink 8 to 10 glasses of water daily. Ensure your diet includes foods rich in calcium (pasteurized dairy, leafy greens) and magnesium (nuts, seeds, whole grains).
  • Apply Heat or Massage: Take a warm bath, use a warm compress, or gently massage the cramped muscle to promote relaxation.
  • Elevate Your Legs: Prop your feet up on pillows when sitting or resting to help return blood to your heart.

When to Call the Doctor (Red Flags)

While occasional cramps in both legs are common, pain in only one leg accompanied by swelling or redness can indicate a deep vein blood clot.

Contact your healthcare provider immediately or seek emergency medical care if you experience:

  • Signs of DVT (Deep Vein Thrombosis): Constant, localized pain, swelling, tenderness, warmth, or redness in only one calf or thigh (asymmetric leg swelling). A DVT is a medical emergency that can lead to a pulmonary embolism.
  • Severe muscle pain that does not improve after stretching, rest, or hydration.
  • Difficulty walking or localized numbness and tingling in your leg.

Related Guides & Resources

Typical Week Ranges

This symptom commonly occurs during these weeks of pregnancy:

Related Conditions

Symptom matches for these prenatal conditions:

📚

Evidence-Based Clinical Sources

PregWeeks is dedicated to medical transparency. These clinical guidelines and research sources support our healthcare guidelines for managing leg cramps during pregnancy. Read more about our editorial methodology on our Medical Sources page.

Prenatal Diagnostic Testing for Genetic Disorders (Practice Bulletin No. 162)

ACOG

Clinical recommendations for mid-pregnancy screening options, including the anatomy ultrasound scan commonly scheduled between weeks 18 and 22.

View Clinical Guideline

Gestational Diabetes Mellitus (Practice Bulletin No. 190)

ACOG

Practice standards for screening and diagnosing gestational diabetes mellitus (GDM), typically scheduled between weeks 24 and 28.

View Clinical Guideline

Implementing a Gestational Diabetes Screening Protocol (Committee Opinion No. 798)

ACOG

Standardized protocols for glucose screening tests to detect gestational diabetes and optimize maternal-fetal metabolic health.

View Clinical Guideline

Clinical Questions & Answers

Q1: Why do leg cramps happen at night?

Nighttime leg cramps are common due to muscle fatigue from carrying extra weight, sluggish circulation when lying down, and pressure on blood vessels in the pelvis.

Q2: What should I do when a leg cramp strikes?

Immediately straighten your leg and flex your foot upward (toes pointing toward your shin). Walking around or massaging the calf muscle also helps.

Q3: Can I take magnesium supplements for leg cramps?

Yes, magnesium can help relax muscles. However, you should always consult your OB-GYN or midwife before starting any new supplement during pregnancy.

🏥 Medical Disclaimer

PregWeeks is an educational planning tool and does not provide clinical diagnoses or medical advice. Always consult your obstetrician or healthcare professional for health concerns.