GUIDE

Leg Cramps During Pregnancy

Changes in circulation, extra weight on the legs, mineral shifts, and nerve compression cause painful cramps — especially in the calves at night.

Waking up with an agonizing calf cramp is a common third-trimester experience. Leg cramps affect up to 50 percent of pregnant people, but stretching, hydration, and mineral support can significantly reduce their frequency.

Get tinylog ready for baby

Be prepared from day one

What Leg Cramps Feel Like During Pregnancy

Pregnancy leg cramps are sudden, involuntary, and often agonizing contractions of the calf muscles that frequently strike in the middle of the night. They typically wake you from a dead sleep with an intense, squeezing pain that can last anywhere from a few seconds to several minutes. The calf muscle may feel rock-hard to the touch during the spasm, and lingering soreness can last for hours afterward.

The exact cause is not entirely understood, but several factors contribute. The growing uterus puts pressure on the blood vessels returning blood from the legs, slowing circulation. The extra weight of pregnancy fatigues the leg muscles. Changes in calcium, magnesium, and potassium levels — all minerals critical for proper muscle function — may play a role. The hormone relaxin, which loosens ligaments, may also contribute to muscle irritability.

About 50 percent of pregnant people experience leg cramps, making them one of the most common third-trimester complaints. They are almost always harmless, though they can be alarming and painful in the moment.

When It Happens

Leg cramps are most common in the second and third trimesters, with peak frequency in the third trimester when the baby is heaviest and the demand on your circulatory system is greatest. Most cramps occur at night — the combination of muscle fatigue from the day, slower nighttime circulation, and mild dehydration that accumulates by bedtime creates the perfect conditions for a cramp.

Some people begin noticing occasional cramps as early as mid-pregnancy, but they become much more frequent in the final 10 to 12 weeks. The calves are the most common location, though cramps can also occur in the feet and thighs.

If you are also experiencing swollen feet, the same circulatory factors are at play. Both symptoms are driven by the increased demands pregnancy places on your veins and the weight of the uterus on the inferior vena cava.

What Actually Helps

The most effective approach combines prevention (stretching and minerals) with knowing how to stop a cramp quickly when it hits. Consistency with prevention strategies is key — doing calf stretches every night, not just when cramps occur.

Calf stretches before bed

Stand facing a wall, one foot forward and one back, and press the back heel into the floor while leaning forward until you feel a stretch in the calf. Hold for 30 seconds each side. Doing this stretch routine before bed every night significantly reduces the frequency of nighttime cramps.

Magnesium supplementation

Take 200 to 400 mg of magnesium glycinate or citrate in the evening. Magnesium supports proper muscle function and may reduce cramp frequency. Magnesium glycinate is less likely to cause loose stools than citrate. You can also try Epsom salt baths (which contain magnesium sulfate) or topical magnesium spray on the calves.

Stay hydrated throughout the day

Dehydration contributes to muscle cramps. Drink at least 8 to 12 glasses of water daily. Front-load your hydration — drink more water during the day so you can taper off in the evening to minimize nighttime bathroom trips. If you exercise, add extra fluids to compensate.

Flex, don't point, your feet

Pointing your toes downward (like a ballerina) shortens the calf muscle and can trigger a cramp. Instead, keep your feet in a neutral or slightly flexed position. When a cramp strikes, immediately pull your toes toward your shin — this stretches the cramping muscle and stops the spasm.

Gentle leg exercises during the day

Walking, swimming, and cycling keep the blood circulating in your legs and reduce the likelihood of cramps. Avoid standing or sitting in one position for too long. Ankle circles and calf raises throughout the day keep the muscles active and the blood moving.

Potassium-rich foods

Potassium works alongside magnesium in muscle function. Eat bananas, sweet potatoes, avocados, oranges, and yogurt regularly. Low potassium can contribute to muscle cramping, and many people do not get enough through diet alone — especially during pregnancy when needs increase.

When to Call Your Doctor

  • One leg is persistently swollen, red, warm, or tender — this could indicate a blood clot
  • Cramps are severe and happen every night despite stretching and supplementation
  • Muscle pain does not go away between cramps — persistent soreness could indicate another issue
  • You notice weakness or numbness in the leg along with cramping
  • Cramps are accompanied by significant swelling in both legs

These symptoms can occasionally signal something that needs medical attention. When in doubt, call.

The Good News

Pregnancy leg cramps resolve after delivery for the vast majority of people. Once the weight of the uterus is no longer compressing blood vessels and your circulation returns to normal, the cramps stop. Many people notice improvement within the first week postpartum.

In the meantime, the combination of nightly calf stretches and magnesium supplementation works well for most people. If you start these habits early in the second trimester, you may be able to prevent cramps from becoming a frequent problem in the third trimester.

For other third-trimester discomforts, check out our guides on pregnancy insomnia (leg cramps are one of the biggest sleep disruptors), sciatica if you also have nerve-related leg pain, and pregnancy back pain for lower body discomfort management.

This guide is for informational purposes only and is not a substitute for professional medical advice. Always consult your healthcare provider with any questions about your pregnancy.

Want this guide in your inbox?
We'll send you this guide for quick reference.
Getting ready for baby?
Download tinylog free — the baby tracker parents love, ready when you are.
Download on the App StoreGet It On Google Play