Can You Take Magnesium While Pregnant? Safety & Dose

Yes, you can take magnesium while pregnant, and your body actually needs more of it during pregnancy than at other times. The recommended daily intake for pregnant women is 350 to 400 mg depending on your age, which is higher than the standard recommendation for non-pregnant women. Most prenatal vitamins contain some magnesium, but not always enough to meet the full daily target, which is why many providers suggest additional supplementation or dietary adjustments.

How Much You Need During Pregnancy

The National Institutes of Health sets the recommended dietary allowance for magnesium during pregnancy at 400 mg per day for ages 14 to 18, 350 mg for ages 19 to 30, and 360 mg for ages 31 to 50. For comparison, a non-pregnant woman aged 19 to 30 only needs 310 mg. That extra 40 to 50 mg matters because magnesium supports hundreds of processes in your body that ramp up during pregnancy, from building your baby’s bones to regulating your blood pressure and blood sugar.

There is also an upper limit to be aware of, but it only applies to magnesium from supplements, not from food. You’re unlikely to get too much magnesium from diet alone because your kidneys efficiently filter out the excess. The concern is with supplement doses on top of what you’re already eating and getting from your prenatal vitamin.

Which Form of Magnesium to Choose

Magnesium supplements come in several forms, and the “partner” substance bonded to the magnesium affects how your body absorbs it and what side effects you might notice.

  • Magnesium glycinate is gentle on the stomach and less likely to cause diarrhea. It’s a chelated form, meaning it’s bonded to an amino acid, which generally improves absorption. This is a common choice during pregnancy, especially if you already have regular bowel movements or a sensitive stomach.
  • Magnesium citrate has a natural laxative effect. If constipation is one of your pregnancy symptoms, this form can pull double duty. If loose stools are already a problem, skip this one.
  • Magnesium oxide is the cheapest and most widely available option, but your body absorbs it less efficiently than other forms. You may need a higher dose to get the same benefit, and it can also cause digestive upset.

Chelated forms of magnesium (glycinate, taurate, malate) are generally absorbed better than non-chelated forms like oxide. If you’re choosing a standalone supplement, glycinate is the most commonly recommended during pregnancy for its balance of absorption and tolerability.

Benefits Beyond Basic Nutrition

Magnesium plays a role in several pregnancy-specific concerns. In hospital settings, intravenous magnesium sulfate is a frontline treatment for preventing seizures in women with preeclampsia. It reduces the risk of recurrent seizures more effectively than other medications. That’s a clinical use you wouldn’t manage on your own, but it illustrates how central magnesium is to healthy pregnancy physiology.

At the supplement level, magnesium may help with leg cramps, one of the more annoying symptoms of the second and third trimesters. A Cochrane review found mixed results: some trials showed magnesium reduced how often women experienced leg cramps and how intense the pain was, while others showed little difference compared to placebo. The evidence is inconsistent, but the potential benefit comes with minimal risk at recommended doses, which is why many providers still suggest trying it.

Sleep and mood are another area of interest. Magnesium helps regulate nerve signaling by acting as a natural brake on excitatory pathways in the brain. It blocks certain receptor channels that, when overactive, contribute to anxiety and restlessness. In a systematic review of supplementation studies, five out of eight sleep-related studies showed improvements, and five out of seven anxiety-related studies reported reduced symptoms. However, two studies that specifically looked at populations with significant hormonal changes (including postpartum women) did not find anxiety benefits, suggesting hormonal shifts may limit magnesium’s calming effects. Still, for general pregnancy insomnia and mild anxiety, supplementation appears helpful, particularly if your baseline magnesium levels are low.

Food Sources Worth Adding

Getting magnesium from food is the safest and most effective approach because your body regulates absorption from dietary sources naturally. Strong sources include pumpkin seeds (about 150 mg per ounce), almonds (80 mg per ounce), spinach (78 mg per half cup cooked), black beans (60 mg per half cup), dark chocolate (65 mg per ounce), and avocados (44 mg per cup). A handful of pumpkin seeds as a snack plus a serving of spinach at dinner can cover a significant portion of your daily needs.

Whole grains, bananas, and cashews also contribute meaningful amounts. If you’re eating a varied diet with plenty of vegetables, nuts, seeds, and whole grains, you may only need a modest supplement to close the gap.

Timing Around Your Prenatal Vitamin

The relationship between magnesium and other minerals in your prenatal vitamin is worth paying attention to. Magnesium supports iron metabolism and helps convert dietary iron into a form your intestines can absorb. But at high doses taken at the same time, magnesium can also compete with iron and calcium for absorption, potentially reducing how much of each mineral your body takes in.

The practical fix is simple: if you’re taking a separate magnesium supplement, take it at a different time of day than your prenatal vitamin. Many women find it easiest to take their prenatal in the morning and magnesium in the evening, which also takes advantage of magnesium’s calming properties before bed. Spacing them at least two hours apart minimizes any absorption competition.

Side Effects and Safety Limits

The most common side effect of oral magnesium supplements is loose stools or diarrhea, especially with citrate and oxide forms. Nausea can also occur, particularly on an empty stomach. These effects are dose-dependent, so starting with a lower amount and gradually increasing helps your body adjust.

Oral magnesium supplements at recommended doses are considered safe during pregnancy. The serious safety concerns apply to intravenous magnesium sulfate used in hospital settings, not to the tablets or capsules you’d take at home. The FDA has specifically warned against prolonged intravenous magnesium sulfate (longer than five to seven days) for stopping preterm labor, because extended use at those high doses can lead to low calcium levels and thinning bones in the developing baby. This warning does not apply to standard oral supplements.

Signs of too much magnesium from supplements include persistent diarrhea, low blood pressure, extreme drowsiness, and muscle weakness. If you experience any of these, reducing your dose typically resolves the issue quickly. Your kidneys are efficient at clearing excess magnesium as long as your kidney function is normal.