Magnesium During Pregnancy: How Much, Which Form, and Is It Safe?

Published

Last updated

Quick answer:

Magnesium requirements rise from 310–320 mg to 350–360 mg daily during pregnancy, yet most prenatal vitamins supply only 50–100 mg, leaving a significant gap. Serum magnesium stays normal even when tissue stores are depleted, which is why RBC magnesium is the accurate marker. Low magnesium can cause muscle cramps and is linked with preeclampsia, but whether supplements prevent either is still unsettled.

Read more →

Check your RBC magnesium before you supplement

The Mineral Levels panel measures RBC magnesium, selenium, and zinc.

  • CLIA-certified labs
  • HIPAA compliant
  • Personalized health protocol
Book your test

Why magnesium demands increase during pregnancy

Magnesium is safe during pregnancy at the recommended dietary allowance, which rises from 310 to 320 mg per day in non-pregnant women to 350 to 360 mg per day during pregnancy, or 400 mg under age 19. Most prenatal vitamins supply only 50 to 100 mg. Magnesium is a cofactor in more than 300 enzymatic reactions, including those that regulate DNA synthesis, protein production, and energy metabolism. During pregnancy, these processes accelerate as the fetus builds bone, muscle, and nervous tissue at a rate that places continuous demand on maternal stores.

Maternal blood volume expands by 40 to 50%, diluting circulating magnesium concentrations. Renal magnesium excretion also increases as glomerular filtration rate rises, meaning more magnesium is lost through urine. The higher allowance reflects the combined needs of maternal physiology and fetal growth.

When intake doesn't keep pace, the body prioritizes fetal needs by pulling magnesium from maternal bone and soft tissue. This depletion is often silent until symptoms emerge, such as muscle cramps or irritability. Pooled studies of African women also found lower serum magnesium in preeclampsia, though whether low magnesium helps cause the condition is unproven. Standard prenatal testing rarely includes magnesium, and when it does, it typically measures serum magnesium, which reflects less than 1% of total body stores and remains normal even when tissue levels are depleted.

What the clinical trials show on magnesium and pregnancy complications

The evidence for magnesium's role in preventing serious pregnancy complications is robust, particularly for preeclampsia and preterm birth. In the hospital, intravenous magnesium sulfate is the standard of care for preeclampsia with severe features and roughly halves the risk of eclamptic seizures, though the FDA advises against prolonged use to relax the uterus in preterm labor. Its seizure protection comes from magnesium's action as a natural calcium antagonist, which stabilizes neuronal membranes and reduces cerebral vasospasm.

Magnesium sulfate is given shortly before an anticipated preterm birth below 32 weeks to protect the baby's brain: multiple randomized controlled trials have demonstrated that it reduces the risk of cerebral palsy in surviving preterm infants.

Oral magnesium supplementation has been studied for its potential to prevent preeclampsia and preterm labor in lower-risk populations:

  • A review of 10 trials found not enough high-quality evidence that magnesium supplements reduce preeclampsia or fetal growth restriction. A later pooled analysis of seven trials found a modest drop in preeclampsia risk, mostly in studies that included higher-risk women.
  • One trial using 365 mg of magnesium citrate daily during the first 18 weeks of gestation found a reduction in preeclampsia incidence, but results have not been consistently replicated across all studies.
  • Oral magnesium has been tested for leg cramps in pregnancy, but the trial results are inconsistent and low certainty, so it is unclear whether it helps.

The proposed mechanism involves magnesium's role in regulating neuromuscular transmission and muscle relaxation. Deficiency increases neuronal excitability and enhances muscle contraction, making cramps more likely.

Join 150,000+ others building better health

Get the science behind better health, every week.

By clicking “Subscribe” you agree to our Terms of Service and Privacy Policy.

How magnesium works to prevent cramps, preeclampsia, and preterm labor

Neuromuscular regulation and cramp prevention

Magnesium modulates the activity of N-methyl-D-aspartate (NMDA) receptors, which regulate excitatory neurotransmission. When magnesium is deficient, NMDA receptors become overactive, increasing neuronal firing and muscle excitability. This heightened excitability manifests as spontaneous muscle contractions, or cramps. Magnesium also regulates the sodium-potassium pump, which maintains the electrical gradient across muscle cell membranes. Without adequate magnesium, this pump becomes less efficient, further increasing the likelihood of involuntary contractions.

Calcium antagonism and preeclampsia prevention

Preeclampsia is characterized by widespread endothelial dysfunction, vasoconstriction, and elevated blood pressure. Magnesium counteracts these processes by blocking calcium channels in vascular smooth muscle, preventing excessive vasoconstriction. It also stabilizes endothelial cells, reducing oxidative stress and inflammation. In the brain, magnesium prevents cerebral vasospasm and reduces the risk of seizures by dampening neuronal hyperexcitability.

Uterine relaxation and preterm labor prevention

The myometrium (the muscular layer of the uterus) contracts in response to calcium influx. Magnesium inhibits this influx, reducing the frequency and intensity of uterine contractions. This mechanism underlies magnesium sulfate's use as a tocolytic, though its effectiveness is limited and it is no longer recommended for prolonged tocolysis. However, the principle remains relevant: adequate magnesium status supports normal uterine quiescence during pregnancy, while deficiency may predispose to preterm contractions.

Dose, form, and timing: What the evidence supports

Form

Not all magnesium supplements are absorbed equally. Magnesium oxide, commonly found in over-the-counter supplements, has poor bioavailability and often causes diarrhea due to its osmotic effect in the gut. Magnesium glycinate and magnesium citrate are better absorbed and better tolerated. Glycinate is chelated to the amino acid glycine, which itself has calming properties and may enhance the supplement's effect on sleep and muscle relaxation. Citrate is also well absorbed and has a mild laxative effect, which can be beneficial for women experiencing pregnancy-related constipation.

Dose

The recommended daily amount during pregnancy depends on age:

Age during pregnancyMagnesium per day
14-18 years400 mg
19-30 years350 mg
31-50 years360 mg
Upper limit from supplements350 mg

Most prenatal vitamins contain 50 to 100 mg of magnesium, leaving a gap that must be filled through diet or additional supplementation.

Foods high in magnesium include nuts, seeds, legumes, whole grains, and leafy greens.

Leg-cramp trials have used 300 to about 365 mg of magnesium daily, split into two or three doses. For preeclampsia prevention, one trial used 365 mg of magnesium citrate daily. The 350 mg upper limit counts only non-food sources and does not include magnesium from food.

Timing

Magnesium is best absorbed when taken with food, as gastric acid enhances solubility. For women experiencing leg cramps, some take magnesium in the evening, since cramps most commonly occur at night. Magnesium can also promote relaxation and improve sleep quality, making evening dosing a practical choice. Avoid taking magnesium at the same time as calcium or iron supplements, as these minerals compete for absorption.

Combinations

Magnesium works synergistically with vitamin D. Magnesium is required for the activation of vitamin D in the liver and kidneys, and vitamin D enhances magnesium absorption in the gut. Women who are supplementing with vitamin D should ensure adequate magnesium intake to maximize the benefit. Vitamin B6 also supports magnesium utilization and has been studied for its role in reducing pregnancy-related nausea and leg cramps.

Test your RBC magnesium

The Mineral Levels panel measures RBC magnesium, selenium, and zinc, explained in plain language.

Book your test

Who responds best to magnesium supplementation, and who should exercise caution

Women who are most likely to benefit from magnesium supplementation during pregnancy include:

  • Those with documented deficiency on RBC magnesium testing.
  • Those experiencing leg cramps or muscle spasms.
  • Those at higher risk for preeclampsia or preterm labor.
  • Those with inadequate dietary intake or gastrointestinal disorders that impair absorption (such as celiac disease or inflammatory bowel disease).
  • Those using medications that deplete magnesium, including proton pump inhibitors and certain diuretics.
  • Those with a history of preeclampsia in a prior pregnancy, chronic hypertension, or kidney disease.
  • Those carrying multiples due to increased fetal demand.

Caution is warranted in women with impaired kidney function, as magnesium is primarily excreted by the kidneys. In the setting of renal insufficiency, magnesium can accumulate to toxic levels, causing muscle weakness, hypotension, and cardiac arrhythmias. Women with myasthenia gravis should also avoid high-dose magnesium, as it can worsen muscle weakness. Magnesium sulfate, when used intravenously for preeclampsia or tocolysis, requires close monitoring of reflexes, respiratory rate, and urine output to detect early signs of toxicity.

Testing your magnesium status: Tracking whether supplementation is working

Serum magnesium is the most commonly ordered test, but it is a poor indicator of total body magnesium status. Because less than 1% of magnesium is in the bloodstream, serum levels can remain normal even when intracellular stores are depleted. RBC magnesium is a more accurate functional marker, as it reflects the magnesium content inside red blood cells, which correlates better with tissue stores.

Symptoms of magnesium deficiency during pregnancy include:

  • Muscle cramps, particularly in the calves.
  • Irritability and mood changes.
  • Fatigue and difficulty sleeping.
  • In more severe cases, abnormal heart rhythms.

Testing RBC magnesium before and during supplementation provides an objective measure of whether intake is adequate and whether supplementation is effective. Other markers that provide context include vitamin D, calcium, and parathyroid hormone, as these nutrients interact closely with magnesium. Inflammatory markers such as high-sensitivity C-reactive protein can also be informative, as chronic inflammation increases magnesium utilization and may contribute to depletion.

Most prenatal panels don't include RBC magnesium, so most pregnant women taking magnesium don't know whether they're deficient or whether their dose works. Superpower's 100+ biomarker panel includes vitamin D, calcium, inflammatory markers, and the hormonal context that shapes how you absorb and use what you take. The single-test Mineral Levels panel adds RBC magnesium, and retesting during pregnancy confirms your intake is keeping up.

Frequently Asked Questions

References

  1. Zarean E, Tarjan A (2017). Effect of Magnesium Supplement on Pregnancy Outcomes: A Randomized Control Trial. *Advanced biomedical research*, *6*, 109. https://doi.org/10.4103/2277-9175.213879
  2. National Institutes of Health, Office of Dietary Supplements. (2026). *Magnesium: Fact sheet for health professionals*. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
  3. Luo L, Zhou K, Zhang J, Xu L, Yin W (2020). Interventions for leg cramps in pregnancy. *Cochrane Database of Systematic Reviews*, *12*(12), CD010655. https://doi.org/10.1002/14651858.CD010655.pub3
  4. Yuan J, Yu Y, Zhu T, Lin X, Jing X, Zhang J (2022). Oral magnesium supplementation for the prevention of preeclampsia: a meta-analysis or randomized controlled trials. *Biological trace element research*, *200*(8), 3572-3581. https://doi.org/10.1007/s12011-021-02976-9
  5. Tesfa E, Munshea A, Nibret E, Gizaw ST (2024). Association of maternal serum magnesium with pre-eclampsia in African pregnant women: a systematic review and meta-analysis. *International health*, *16*(1), 14-22. https://doi.org/10.1093/inthealth/ihad026
  6. Altman D, Carroli G, Duley L, Farrell B, Moodley J, Neilson J, Smith D (2002). Do women with pre-eclampsia, and their babies, benefit from magnesium sulphate? The Magpie Trial: A randomised placebo-controlled trial. *Lancet*, *359*(9321), 1877-1890. https://doi.org/10.1016/S0140-6736(02)08778-0
  7. Makrides M, Crosby DD, Shepherd E, Crowther CA (2014). Magnesium supplementation in pregnancy. *Cochrane Database of Systematic Reviews*, *2014*(4), CD000937. https://doi.org/10.1002/14651858.CD000937.pub2
  8. Chollat C, Sentilhes L, Marret S (2018). Fetal Neuroprotection by Magnesium Sulfate: From Translational Research to Clinical Application. *Frontiers in neurology*, *9*, 247. https://doi.org/10.3389/fneur.2018.00247

Led by doctors with 40 years of health and longevity expertise

Dr. Anant Vinjamoori

Dr. Anant Vinjamoori, MD

Chief Longevity Officer, Superpower

Dr. Leigh Erin Connealy

Dr. Leigh Erin Connealy, MD

Clinician & Founder of The Centre for New Medicine

Dr. Robert Lufkin

Dr. Robert Lufkin, MD

Physician & UCLA Medical School Professor, NYT bestselling author

Dr. Abe Malkin

Dr. Abe Malkin, MD

Founder & Medical Director of Concierge MD

Biological age 32 — a Superpower member portraitA health system built around you — test, understand, optimize100+ biomarkers across 2 blood drawsWhat to expect with Superpower — week 1 to month 3Trusted by 64,000+ customers — member reviewsBetter than the status quo — Superpower vs the old way60% of members found something a doctor missed — member survey
Daniel OSuperpower memberDavid LSuperpower memberRachel DSuperpower memberCamelia VSuperpower member

4.6 · 64,000+ members

Superpower health membership

Find early signs of 1,000+ conditions from a single blood draw - then act on what you find.

$199

/year*

100+ biomarkers from a single blood draw

Personalized plan that turns results into action

Superpower AI and on-demand care team

Results in 10 days or less

At-home or 2,000+ labs nationwide**

Yearly membership$0.55 / dayHSA/FSA eligible

*Pricing may vary for members in New York and New Jersey

**At-home labs for an additional cost

What we test

TestosteroneFree T4Vitamin DApoBHbA1cThyroid (TSH)hs-CRPFerritinCortisolFasting insulin

60%

found something a doctor missed

93%

rated it more useful than their checkup

77%

found something new in their results

Superpower member survey, 90 days post action plan (n=143).

How does the Superpower membership work?

We test 100+ biomarkers from a single blood draw each year. Your baseline test paints a comprehensive picture of your health, and your dashboard shows what’s working, what needs attention, and what to do next. Superpower AI and your care team help you take action across lifestyle, supplements, and treatments.

Can I cancel anytime?

Yes. You can cancel anytime, no fees. Your membership stays active through the end of your paid year.

How often should I test?

Your membership includes two blood tests per year: one to establish your baseline, and one to see whether your plan improved biomarkers that were out of range or not yet optimized. You can add other diagnostics anytime through the app or with help from your care team.

When will I get my results?

Book your draw at any of 2,000+ partner labs or at-home. Results are typically ready in about a week and land in the Superpower app.