Magnesium is essential during pregnancy. It supports your baby’s growth, helps regulate blood pressure and blood sugar, and your body needs more of it than usual. Most pregnant women need between 350 and 400 mg per day, depending on age, yet deficiency is surprisingly common, affecting an estimated 40 to 60% of pregnant women in some populations.
How Much Magnesium You Need During Pregnancy
The recommended daily intake of magnesium increases during pregnancy across all age groups:
- Ages 14 to 18: 400 mg per day (up from 360 mg when not pregnant)
- Ages 19 to 30: 350 mg per day (up from 310 mg)
- Ages 31 to 50: 360 mg per day (up from 320 mg)
That increase reflects the extra demands pregnancy places on your body. Magnesium plays a role in hundreds of enzyme reactions, including those involved in building protein, regulating blood sugar, and maintaining normal muscle and nerve function. Your blood volume expands significantly during pregnancy, and magnesium levels naturally dip, especially in the third trimester, when normal serum levels can drop to nearly half of pre-pregnancy values.
What Magnesium Does for You and Your Baby
Magnesium helps relax blood vessel walls, which improves blood flow to the placenta. Better placental blood flow means more oxygen and nutrients reaching your baby, supporting healthy fetal weight and development. This same blood-vessel-relaxing effect helps keep your blood pressure in a healthy range, which matters more as pregnancy progresses.
Magnesium also plays a role in how your body processes insulin. A study of over 3,000 pregnant women found that those with a genetic predisposition to gestational diabetes who consumed less than 370 mg of magnesium per day had 1.74 times the risk of developing gestational diabetes compared to those getting adequate amounts. For women without that genetic predisposition, the link wasn’t significant, suggesting magnesium intake may be especially important if diabetes runs in your family.
Magnesium and Preeclampsia
Preeclampsia, a dangerous condition involving high blood pressure and organ damage, is one of the most serious pregnancy complications. Magnesium sulfate is the standard treatment given intravenously in severe cases to prevent seizures (eclampsia). It works by triggering the production of nitric oxide, a molecule that relaxes blood vessels, lowers blood pressure, and restores healthier blood flow to the placenta.
A randomized controlled trial in Iran found that pregnant women who supplemented with magnesium starting in the first trimester had lower rates of preeclampsia, preterm birth, low birth weight, intrauterine growth restriction, and gestational diabetes. The women in that trial had below-normal magnesium levels to begin with, which suggests that correcting a deficiency early can meaningfully reduce risk.
Does Magnesium Help With Leg Cramps?
Leg cramps are one of the most common complaints during pregnancy, and magnesium supplements are frequently recommended for them. The evidence, however, is mixed. A Cochrane review of multiple trials found that in one study, women taking magnesium were nearly six times more likely to report having no leg cramps at all compared to those taking a placebo. Another trial found women were 42% more likely to experience at least a 50% reduction in cramp frequency.
But other studies in the same review showed little to no difference. Results on pain intensity were similarly inconsistent, with one trial showing a meaningful reduction on a pain scale and others showing none. The overall certainty of the evidence is considered low. Magnesium supplements might help your leg cramps, but they’re not a guaranteed fix.
Signs You Might Be Low in Magnesium
One of the tricky things about magnesium deficiency during pregnancy is that it often produces no symptoms at all. Case reports describe pregnant women with severely low magnesium levels who felt completely fine. That means you can’t rely on how you feel to know whether you’re getting enough.
When symptoms do appear, they tend to include muscle cramps, twitching, fatigue, nausea, and in more severe cases, irregular heartbeat or numbness and tingling. A blood test can measure your serum magnesium level, though normal ranges shift throughout pregnancy. In the first trimester, levels between 0.65 and 0.9 mmol/L are considered normal, while in the third trimester, levels as low as 0.45 mmol/L can still fall within range.
Food Sources of Magnesium
Getting magnesium from food is the most straightforward approach, and a varied diet can get you close to your daily target. Some of the richest sources include pumpkin seeds (about 150 mg per ounce), almonds and cashews (around 75 to 80 mg per ounce), spinach (roughly 78 mg per half cup cooked), black beans (60 mg per half cup), and dark chocolate (about 65 mg per ounce). Whole grains, avocado, and edamame are also solid contributors.
Most prenatal vitamins contain some magnesium, but amounts vary widely. Check the label on yours. If it provides 50 to 100 mg, you’ll still need to make up the rest through food or an additional supplement.
The Upper Limit for Supplements
The tolerable upper intake level for supplemental magnesium during pregnancy is 350 mg per day. That limit applies only to magnesium from supplements and medications, not from food. Magnesium from food does not carry the same risk of side effects because your body absorbs it more gradually.
Exceeding the supplement limit can cause diarrhea, nausea, and abdominal cramping. In a clinical setting, prolonged intravenous magnesium sulfate (given for more than 5 to 7 days) has been linked to low calcium levels and bone thinning in newborns. The FDA issued a warning specifically about this extended use for stopping preterm labor. This concern applies to high-dose medical administration, not standard oral supplements, but it illustrates why more is not better with magnesium during pregnancy.
Interactions With Other Nutrients and Medications
Magnesium competes with calcium and iron for absorption in your intestines. Since both of those minerals are critical during pregnancy, timing matters if you’re supplementing. Taking magnesium at a different time of day than your iron supplement or calcium-rich prenatal vitamin helps your body absorb each one more effectively. A gap of at least two hours is a common recommendation.
Magnesium can also interfere with certain antibiotics, thyroid medications, and drugs used to manage gestational diabetes or high blood pressure. If you take any of these, spacing your magnesium supplement away from your medication, or discussing timing with your provider, can prevent absorption problems.
Choosing a Magnesium Supplement
Not all magnesium supplements are equally well absorbed. Magnesium citrate and magnesium glycinate are generally better absorbed than magnesium oxide, which is cheaper but more likely to cause loose stools. Glycinate is often preferred during pregnancy because it’s gentle on the stomach and less likely to cause digestive issues. Citrate is a reasonable alternative, though at higher doses it can have a mild laxative effect, which some women actually find helpful if constipation is an issue.
Oxide delivers more milligrams per pill but has lower bioavailability, meaning your body absorbs a smaller percentage of what you swallow. If you’re taking magnesium oxide and not noticing any benefit, switching to a different form may help.

