Momi

Pregnancy Leg Cramps: Why They Happen and How to Ease Them

Reviewed by Safi Allah Khan

Medically reviewed by: Safi Allah Khan · Written by the Momi team · Last updated 20 October 2026

Quick answer: Pregnancy leg cramps are sudden, painful tightenings, usually in the calf or foot, most often at night and in later pregnancy. To ease one, pull your toes hard up towards your ankle or rub the muscle. Daily ankle and calf stretches may help prevent them. Pain and swelling in one leg is different: get it checked for a clot.

Cramps are one of the most common pregnancy niggles. They're usually harmless, but they can wreck a night's sleep. For other sleep problems see pregnancy insomnia.

What pregnancy leg cramps feel like

The NHS describes leg cramps as a muscle in the leg tightening and causing sudden pain that can make it hard to move. They:

  • usually affect the calf, sometimes the feet or thighs
  • last from a few seconds to 10 minutes
  • often happen at night or when resting
  • may leave the muscle sore for up to 24 hours

Mayo Clinic lists leg cramps among the changes many people notice from the second trimester.

Why they happen

Nobody knows exactly. The NHS lists pregnancy, usually in the later stage, as a recognised cause. Commonly suggested factors include:

  • changes in circulation and fluid as your blood volume increases
  • the extra weight your legs are carrying
  • tired, overworked muscles at the end of the day
  • sitting or standing for long periods

Muscle strain during exercise, especially in hot or humid weather, can also cause cramp, according to the NHS.

How to ease a cramp right now

  1. Flex your foot. The NHS suggests pulling your toes hard up towards your ankle.
  2. Rub the muscle hard, or massage it firmly.
  3. Stand up and put your weight on the leg with the cramp; this stretches the calf.
  4. Walk around gently once it eases.
  5. Warmth such as a warm bath or a warm (not hot) pack can relax a sore muscle afterwards.

The NHS notes that paracetamol can help with soreness afterwards but won't help during a cramp, because it takes too long to work. Check with your pharmacist or midwife before taking any medicine in pregnancy; ibuprofen isn't usually recommended in pregnancy unless a doctor advises it.

Stretches and exercises that help

Foot exercises (NHS)

Do these during the day and before bed:

  • bend and stretch your foot vigorously up and down 30 times
  • rotate your foot 8 times one way and 8 times the other
  • repeat with the other foot

Calf stretch (NHS)

  1. Stand facing a wall, arms out, hands just touching it, feet flat.
  2. Lean forward, pressing your hands against the wall, until you feel your calves stretch.
  3. Hold for 2 or 3 seconds, then stand up straight.
  4. Repeat for about 5 minutes, 3 times a day, the last time just before bed.

If your balance isn't great with a bump, hold on to something steady.

Everyday habits

  • Keep moving. ACOG recommends regular activity in pregnancy if you have no complications; walking and swimming are good choices.
  • Avoid sitting or standing still for long; change position often.
  • Drink regularly through the day.
  • Elevate your feet in the evening if your ankles swell.
  • Wear comfortable, supportive shoes.

When it could be a clot (DVT warning)

Pregnancy, and the weeks after birth, raise the chance of a blood clot in a deep vein, called deep vein thrombosis (DVT). The NHS says DVT can be dangerous. It's different from cramp:

Leg crampPossible DVT
PainSudden, sharp, then eases within minutesThrobbing, ongoing, usually in one calf or thigh
SwellingNoSwelling in one leg
SkinNormalRed, blue or darkened skin around the painful area
VeinsNormalSwollen veins
TimingOften at night, then passesDoesn't go away

Ask for an urgent GP appointment or call 111 (or contact your maternity unit) if you think you might have DVT.

Call 999 or your emergency number if you have leg pain and swelling plus shortness of breath or chest pain. A clot can travel to your lungs (pulmonary embolism), which is life-threatening.

When to see a GP or midwife

The NHS says see a GP if:

  • leg cramps are disturbing your sleep
  • you also have numbness or swelling in your legs
  • cramps last longer than 10 minutes

Mention sudden swelling of your face, hands or feet to your midwife promptly too, as it can be a sign of pre-eclampsia. See the NHS advice on swollen ankles.

How Momi helps

Momi's diary is an easy place to note when cramps happen and what helped. Log your weight, and keep track of appointments and medicine reminders so you can mention anything that's bothering you. Weekly tips explain the changes that are common at each stage.

Download Momi free on the App Store or Google Play. Free with ads; optional Premium.

Related: third trimester · pregnancy symptoms week by week · can you fly while pregnant? · 30 weeks pregnant · second trimester

Sources

Medical disclaimer: Momi and this website provide general information, not medical advice. Always talk to your doctor or midwife; in an emergency call your local emergency number.

FAQ

Why do pregnancy leg cramps happen?

The exact cause isn't known. The NHS lists pregnancy, usually in the later stages, as one cause of leg cramps. Changes in circulation, the extra weight you're carrying and tired muscles are commonly suggested reasons. Cramps tend to happen at night or when you're resting.

How do I stop a leg cramp quickly?

The NHS suggests pulling your toes hard up towards your ankle, or rubbing the muscle hard. Stretching and massaging the muscle, or standing and putting weight on the leg, may also help. Most cramps pass within a few seconds to 10 minutes.

How can I prevent leg cramps in pregnancy?

Regular gentle exercise, especially ankle and leg movements, can improve circulation and may help prevent cramp, according to the NHS. Try bending and stretching each foot up and down 30 times and rotating it 8 times each way, plus calf stretches before bed.

When are leg cramps in pregnancy a concern?

See a GP or midwife if cramps disturb your sleep, last longer than 10 minutes, or come with numbness or swelling. Get urgent help if you have throbbing pain and swelling in one leg, which could be a DVT, and call an emergency number if you also have chest pain or breathlessness.

Should I take magnesium for pregnancy leg cramps?

Don't start supplements without advice. Evidence on supplements for leg cramps in pregnancy is mixed, so ask your midwife, doctor or pharmacist before taking anything. Stretching and gentle exercise are the first things to try.

Related guides

Track this in Momi

Momi is a free pregnancy tracker app for iPhone and Android that follows pregnancy week by week, estimates the due date, and keeps a pregnancy journal, weight log, kick counter and contraction timer in one place.

Download on the App StoreGet it on Google Play