Is Magnesium Good During Pregnancy? What to Know

Magnesium is essential during pregnancy, supporting both your health and your baby’s development. Pregnant women need 350 to 360 mg per day, depending on age, which is about 40 mg more than non-pregnant women require. Most people can meet this need through food, though some benefit from supplements when dietary intake falls short.

Why Magnesium Matters in Pregnancy

Magnesium plays a role in hundreds of processes in your body, from muscle and nerve function to blood sugar regulation and protein building. During pregnancy, demand increases because your body is building new tissue, expanding blood volume, and growing a skeleton for your baby. The mineral helps regulate muscle contractions (including uterine contractions), supports healthy blood pressure, and contributes to bone development in the fetus.

When magnesium levels drop too low, early signs include fatigue, muscle spasms, nausea, loss of appetite, and general weakness. These overlap with common pregnancy symptoms, which can make a deficiency easy to miss. Left untreated, more serious effects like numbness, tingling, abnormal heart rhythms, and personality changes can develop, though this level of deficiency is uncommon.

How Much You Need

The recommended daily intake during pregnancy is 350 mg for women ages 19 to 30 and 360 mg for women ages 31 to 50. For context, a single ounce of pumpkin seeds delivers 156 mg, nearly half the daily target. Most prenatal vitamins contain some magnesium but rarely the full amount, so food sources remain important.

The tolerable upper limit for supplemental magnesium (meaning from pills or powders, not food) is set at 350 mg per day. This limit was based on diarrhea as the main side effect, though more recent reviews have found that doses above this threshold often cause no significant gastrointestinal problems. Still, if you’re taking a supplement on top of a prenatal vitamin, it’s worth checking the combined total.

Best Food Sources

Seeds, nuts, and leafy greens are the richest sources. Here’s what common servings provide:

  • Pumpkin seeds (1 oz): 156 mg
  • Chia seeds (1 oz): 111 mg
  • Almonds (1 oz): 80 mg
  • Spinach, cooked (½ cup): 78 mg
  • Cashews (1 oz): 74 mg
  • Black beans, cooked (½ cup): 60 mg
  • Edamame (½ cup): 50 mg
  • Peanut butter (2 tbsp): 49 mg
  • Brown rice, cooked (½ cup): 42 mg
  • Banana (1 medium): 32 mg

A handful of almonds with a banana as a snack gets you past 100 mg. Add a half cup of black beans at dinner and cooked spinach on the side, and you’ve covered most of your daily need from food alone.

Supplement Forms and Side Effects

Magnesium supplements come in several forms, and the differences matter mostly for digestion. Magnesium oxide is inexpensive and widely available but contains more elemental magnesium per pill, which can be harder on the stomach. Magnesium citrate absorbs well and is commonly used in pregnancy studies. Magnesium glycinate tends to be the gentlest on digestion, making it a popular choice for people prone to nausea or loose stools.

A Cochrane review of 10 pregnancy trials that used various forms, including oxide, citrate, gluconate, and aspartate, found no significant difference in gastrointestinal side effects between women taking magnesium and those taking a placebo across four studies involving nearly 1,400 women. So while individual tolerance varies, most forms appear well tolerated at standard doses.

Magnesium and Preeclampsia

Preeclampsia, a dangerous condition marked by high blood pressure and organ damage, affects roughly 2 to 8 percent of pregnancies worldwide. Magnesium sulfate given intravenously is one of the primary treatments once preeclampsia develops. According to the World Health Organization, magnesium sulfate injections reduce the risk of eclampsia (seizures from preeclampsia) by more than half. This is a hospital treatment, not something managed through oral supplements, but it underscores how central magnesium is to blood pressure regulation during pregnancy.

Oral magnesium supplementation during pregnancy has not been shown to prevent preeclampsia on its own. Calcium supplementation in women with low dietary calcium intake and low-dose aspirin before 20 weeks are the evidence-backed preventive measures.

Protection for Preterm Babies

One of the strongest uses of magnesium in pregnancy involves protecting the brains of babies born early. When preterm birth is anticipated, magnesium sulfate given to the mother reduces the risk of cerebral palsy in the child. A Cochrane review of six studies covering more than 6,000 children found that magnesium sulfate, compared with placebo, reduced both cerebral palsy and the combined outcome of death or cerebral palsy in children up to two years of age. It also likely reduces severe bleeding in the brain.

The American College of Obstetricians and Gynecologists and the Society for Maternal-Fetal Medicine both recognize this benefit. Pooled data from clinical trials show a 29 percent reduction in cerebral palsy risk when magnesium sulfate is given with neuroprotective intent. This is again a hospital-administered intravenous treatment, typically given when delivery before 32 weeks is expected, not a benefit of daily oral supplements.

Does It Help With Leg Cramps?

Leg cramps are one of the most common complaints in the second and third trimesters, and magnesium is frequently recommended for them. The evidence, however, is mixed. A Cochrane review found inconsistent results: one trial of 69 women showed that magnesium made women more than five times as likely to report no leg cramps at all after treatment, while other trials found little to no difference in cramp frequency.

Pain intensity results were similarly uneven. One small study showed a meaningful reduction in pain on a visual scale, while others showed no effect. The overall picture is that magnesium may help some women with cramps, but it’s not a guaranteed fix. Since it’s generally safe and you need the mineral anyway, trying it for cramps is reasonable, but don’t be surprised if the effect is modest.

Practical Tips for Getting Enough

Start by looking at what’s already in your prenatal vitamin. Many contain 50 to 100 mg of magnesium, which leaves a gap you can fill through food or an additional supplement. If you’re eating a varied diet with nuts, seeds, beans, and whole grains, you’re likely close to the target without extra pills.

If you do supplement, taking it with food reduces the chance of stomach upset. Splitting a dose across two meals rather than taking it all at once can also help. Magnesium competes with calcium and iron for absorption, so if you’re taking separate iron supplements (common in pregnancy), spacing them a couple of hours apart is a practical strategy. And if loose stools become an issue, switching to a glycinate form or lowering the dose usually resolves it.