Leg cramps during pregnancy are extremely common, especially in the second and third trimesters, and while no single remedy is guaranteed to eliminate them, a combination of stretching, hydration, and mineral intake can significantly reduce how often they strike. These cramps tend to hit at night, locking up the calf muscle for seconds to minutes, and they’re thought to result from the extra weight your body carries, changes in circulation, and shifts in how your body uses minerals like magnesium and calcium.
Why Pregnancy Makes Cramps Worse
Your body undergoes several changes that make leg cramps more likely as pregnancy progresses. The growing uterus puts pressure on blood vessels that return blood from your legs, slowing circulation. Your blood volume increases by nearly 50%, diluting the concentration of electrolytes your muscles depend on. And the extra weight you’re carrying means your calf muscles are working harder throughout the day, making them more prone to involuntary spasms when you finally rest at night.
Fatigue in the muscle itself plays a role too. By the third trimester, your legs are bearing significantly more load than they’re used to, and tired muscles are more likely to cramp. This is why cramps tend to worsen as pregnancy progresses rather than appearing early on.
Stretch Your Calves Before Bed
A simple calf stretch before you get into bed is one of the most practical things you can do. Stand facing a wall with one foot behind you, keeping the back heel flat on the floor. Lean forward until you feel a stretch in the back calf and hold for 20 to 30 seconds. Repeat on the other side. Doing this nightly gives the muscle a chance to lengthen before you spend hours in a position where it’s more likely to seize up.
Interestingly, no clinical trials have formally tested stretching for pregnancy leg cramps specifically, according to a Cochrane review of the available evidence. But stretching is widely recommended by obstetricians because it’s safe, free, and has strong plausibility based on how cramps work in the general population. If you can remember to do it consistently, it’s worth the two minutes.
Stay Hydrated Throughout the Day
Dehydration concentrates the electrolytes in your blood in ways that can trigger muscle spasms. During pregnancy, your fluid needs increase substantially. Aim for at least 8 to 12 cups of water daily, and more if you’re active or in warm weather. One easy check: your urine should be pale yellow. If it’s dark, you need more fluids.
Spacing your water intake throughout the day matters more than drinking a lot at once. If you front-load your fluids and then stop drinking in the evening to reduce nighttime bathroom trips, your muscles may be relatively dehydrated right when cramps are most likely to occur. Try to keep sipping through the early evening.
Minerals That May Help
The evidence on supplements for pregnancy leg cramps is more mixed than you might expect. A Cochrane review found that magnesium supplements may reduce how often cramps occur compared to a placebo, but results across studies were inconsistent. Some trials showed magnesium helped reduce cramp frequency, while others found little difference. The certainty of the evidence was rated low overall.
That said, magnesium remains one of the more promising options. Magnesium deficiency has long been proposed as a contributor to leg cramps, and one notable finding from the research is that magnesium supplementation does show potential benefits specifically in pregnant women, even though it hasn’t proven effective for leg cramps in the general population. If you want to try it, magnesium citrate and magnesium glycinate are generally well absorbed. Your prenatal vitamin likely contains some magnesium, but the amount varies by brand.
Calcium is another mineral often mentioned. The Mayo Clinic recommends 1,000 milligrams of calcium daily during pregnancy. However, the Cochrane review found that calcium did not consistently reduce cramp frequency compared to no treatment, and performed no better than vitamin C in one trial. Still, getting enough calcium matters for other reasons during pregnancy, so it’s worth ensuring your intake is adequate through dairy, fortified foods, or supplements.
B Vitamins
A small study published in the American Journal of Obstetrics and Gynecology tested a combination of vitamin B1 and B6 in 25 pregnant women with leg cramps. Ten were completely relieved, 14 experienced significant improvement, and only one saw no change. The doses used were high (250 mg of each, taken twice daily), and the study was small and uncontrolled, so the results should be taken with caution. But it does suggest B vitamins could play a role, and it’s a topic worth raising with your provider.
Other Habits That Help
Avoid standing or sitting in one position for long periods. If you work at a desk, get up and walk around every hour. If you’re on your feet all day, take sitting breaks and elevate your legs when you can. Both extremes of inactivity and overuse can set the stage for nighttime cramps.
Supportive footwear also makes a difference. As your center of gravity shifts during pregnancy, your calves compensate in ways they normally wouldn’t. Shoes with good arch support reduce the extra strain on those muscles. Avoid high heels, which keep your calf muscles in a shortened position and can promote cramping.
Sleeping on your left side with a pillow between your knees can improve circulation to your legs. This position takes pressure off the large vein that carries blood back from your lower body, which may help reduce cramp frequency.
What to Do When a Cramp Hits
When a charlie horse strikes, flex your foot by pulling your toes up toward your shin. This is called dorsiflexion, and it forces the cramping calf muscle to lengthen, which usually breaks the spasm within seconds. Resist the urge to point your toes, which will tighten the calf further and make the cramp worse.
Once the acute spasm passes, gently massage the muscle and walk around for a minute or two. Some people find that applying a warm towel or heating pad to the calf afterward helps ease the lingering soreness that can last into the next day.
When Leg Pain Isn’t a Cramp
Pregnancy increases the risk of deep vein thrombosis (DVT), a blood clot in the leg that requires immediate medical attention. A regular charlie horse comes on suddenly, peaks in intensity, and resolves within minutes. DVT feels different. The NHS identifies these warning signs: pain, swelling, and tenderness in one leg (usually the calf) that worsens when you walk, warm skin over the affected area, and red or discolored skin at the back of the leg below the knee. DVT typically affects only one leg and can sometimes have no symptoms at all.
If your leg pain is persistent rather than episodic, comes with visible swelling or skin color changes, or doesn’t resolve with stretching, contact your healthcare provider promptly. The distinction matters because DVT during pregnancy, while uncommon, is a serious condition that needs treatment quickly.