Why do women need magnesium during pregnancy?

Why do women need magnesium during pregnancy?

15 min read Updated on 30 September 2026
In short
Magnesium keeps muscles, nerves and energy metabolism working, for the mother and for the growing baby. The European Food Safety Authority recommends 300 mg a day for women, and this applies during pregnancy as well (EFSA, 2015). A Cochrane review of 10 trials with 9,090 women found some benefits of oral magnesium, such as fewer hospital admissions during pregnancy, but not enough high-quality evidence for firm conclusions (Makrides et al., 2014). Take a supplement in pregnancy only after talking to your midwife or doctor.

During pregnancy, magnesium is needed by the mother and by the growing baby, because this vital mineral takes on many tasks in the body.

Magnesium is often mentioned in connection with complaints that are common in pregnancy. These include

  • Leg cramps
  • Morning sickness
  • Worry and anxiety
  • Muscle pain
  • Headache
  • Back pain
  • Insomnia

How well magnesium actually helps differs from complaint to complaint. This guide sets out what the studies show and where the evidence is still thin.

Magnesium is involved in over 300 processes in the body. Without the mineral, our body would not be able to produce energy, metabolize insulin or move our muscles in a sensible way.

Magnesium is involved in insulin metabolism and is needed to maintain a healthy blood sugar level. It is also involved in building healthy teeth and bones together with calcium. It also helps muscles and nerves to work normally and contributes to a regular heartbeat.

The need for magnesium increases during physical or emotional stress.

Low magnesium levels in pregnancy have been linked with complications. In a trial from Iran with three groups of 60 pregnant women, women with low blood magnesium who took an extra magnesium tablet had fewer pregnancy complications than women with low levels who only took a multimineral tablet (Zarean & Tarjan, 2017).

What does magnesium do during pregnancy?

What matters most is a steady, adequate supply. The European Food Safety Authority recommends 300 mg of magnesium a day for adult women and applies the same value during pregnancy (EFSA, 2015).

Magnesium plays a crucial role in enabling the body to adjust and adapt to the changes associated with pregnancy. A magnesium deficiency can exacerbate common complaints during pregnancy, for example:

  • Insomnia
  • Muscle cramps
  • Muscle pain
  • Nausea
  • Headache
  • Ligament pain
  • Anxiety
  • High blood pressure

Ideally, you should cover your magnesium requirements through your diet. Oral supplements can also help to raise the magnesium level in the body.

Magnesium is only one of the nutrients that matter now. Folate, iron and omega-3 fatty acids are just as important during pregnancy: folate for the early development of the baby, iron for the growing blood volume and omega-3 fatty acids for the baby's brain. Our Pregnancy Package combines these three in one set.

Herbano Pregnancy Package with active folate, iron with vitamin C and omega-3 capsulesView the Pregnancy Package  ➜
Folate, iron and omega-3 in one package

1. MAGNESIUM AND SLEEP PROBLEMS

A common symptom of magnesium deficiency is insomnia, which is often associated with pregnancy.

Magnesium is needed for normal nerve function. In studies with mice, the amount of magnesium in the body changed how the animals slept, and the researchers concluded that normal magnesium levels are needed for normal sleep regulation (Chollet et al., 2001). Trials in pregnant women have not yet been carried out.

2. LEG CRAMPS AND MUSCLE PAIN

Many pregnant women suffer from cramps, often in the calves and at night.

For magnesium, the results of the studies are mixed. A Cochrane review looked at eight small trials with 576 women. In one trial, women who took oral magnesium were more likely to report having no leg cramps at all after treatment, and in another, more women reported that the number of cramps had halved. Other results showed little or no difference, and the certainty of the evidence was rated low. Side effects such as nausea or diarrhoea hardly differed between magnesium and placebo (Luo et al., 2020). Trying magnesium for leg cramps is therefore reasonable, as long as your midwife or doctor agrees.

Magnesium works together with calcium when muscles contract and relax, so a balanced supply of both is worthwhile. More on this combination: magnesium and calcium levels.

3. NAUSEA

Although there are no scientific studies to date to support this finding, many women report that their morning sickness improved significantly after increasing their magnesium intake.

Nausea is a common symptom of magnesium deficiency (regardless of whether you are pregnant or not). It is therefore plausible that a deficiency makes morning sickness worse, but this has not yet been tested. If you cannot keep food or fluids down, contact your midwife or doctor, because severe vomiting in pregnancy needs treatment.

4. MAGNESIUM AND PREMATURE BIRTH

Magnesium helps muscles to relax, including the muscles of the uterus. Whether magnesium tablets can prevent premature birth has not yet been clearly shown in trials. In the Cochrane review, women who took magnesium were less likely to be admitted to hospital during pregnancy (risk ratio 0.65; three trials, 1,158 women). When only the two high-quality trials were analysed, however, the main outcomes did not differ (Makrides et al., 2014).

Magnesium works together with calcium. Together, the two minerals make a good team. Magnesium promotes muscle relaxation, while calcium is responsible for contractions.

Signs of labour before week 37, such as regular tightening of the belly, period-like pain or leaking fluid, always need immediate medical attention. Magnesium is no substitute for this.

5. STRESS AND ANXIETY

In mice, a diet low in magnesium led to more anxiety-like behaviour and an overactive stress hormone system (Sartori et al., 2012). Studies in pregnant women are still lacking.

During pregnancy, your body concentrates on supplying the fetus with all the important nutrients. If your intake of these vital vitamins and minerals is insufficient, you may develop corresponding deficiency symptoms.

A magnesium deficiency may add to worry, stress and anxiety - and this at a time when you are already worrying about many things.

A good magnesium supply is therefore one building block among many. If worries or low mood weigh on you for more than a few days, talk to your midwife or doctor.

6. BLOOD PRESSURE AND PRE-ECLAMPSIA

Pre-eclampsia is a dangerous complication during pregnancy. It is characterized by a combination of high blood pressure and proteins in the urine.

Magnesium tablets have not been shown to prevent pre-eclampsia: in the Cochrane review, the rate did not differ significantly between women with and without magnesium (risk ratio 0.87; three trials, 1,042 women) (Makrides et al., 2014). In hospital, however, magnesium plays a key role. Given as magnesium sulphate to women with pre-eclampsia, it more than halved the risk of seizures (eclampsia) in six trials with 11,444 women (Duley et al., 2010). This treatment is only given under medical supervision.

See a doctor or midwife immediately if you notice signs of pre-eclampsia:

  • severe headache
  • problems with vision, such as blurring or flashing before the eyes
  • severe pain just below the ribs
  • vomiting
  • sudden swelling of the face, hands or feet

These warning signs follow the UK guideline on high blood pressure in pregnancy (NICE, 2019).

7. HEADACHES

Outside pregnancy, magnesium is well studied for migraine. In 10 trials with 789 participants, oral magnesium reduced how often and how severely migraine attacks occurred (Chiu et al., 2016). Trials in pregnant women are lacking. A new or severe headache in pregnancy should always be checked by a doctor, because it can be a sign of pre-eclampsia (Schoen et al., 2015).

➤ Order Magnesium Balance powder now!

8. BONE HEALTH

A well-balanced magnesium supply is important for healthy bones, and a lack of magnesium contributes to osteoporosis (Castiglioni et al., 2013). Magnesium and calcium work together here as well.

Magnesium in various forms

➤ Order Magnesium Complex now!

➤ Buy calcium magnesium capsules now!

➤ Buy magnesium citrate now!

What effect does magnesium have on the baby?

Some trials point to benefits for the baby, but the overall evidence is still limited.

  • In the Cochrane review, fewer babies of mothers who took magnesium had a low Apgar score (below seven) five minutes after birth (risk ratio 0.34; four trials, 1,083 infants) (Makrides et al., 2014).
  • In a small Italian study with women treated for preterm labour, oral magnesium lowered the resistance in the blood vessels of the umbilical cord and of the baby's brain, measured by ultrasound (Facchinetti et al., 1992).
  • When only the two high-quality trials of the Cochrane review were analysed, there was no difference in the main outcomes, such as babies being small for their age (Makrides et al., 2014).

What are good sources of magnesium?

Now that you know how important magnesium is for a healthy pregnancy, the question is how you can make sure you get enough of the mineral.

A balanced, healthy diet is best. Many plant and animal foods contain plenty of magnesium. These include green leafy vegetables (spinach), whole grains, seeds, pulses, breakfast cereals, foods with a high fiber content and specially fortified foods. You should avoid industrially processed foods. Drinking water has a different magnesium content depending on the region. This varies from 1 mg to 120 mg per liter.

You can easily increase your magnesium levels - by eating the right foods.

Simply include two or more portions of magnesium-rich foods in your diet. This is a healthy and completely safe way to improve your levels naturally.

Foods with a high magnesium content:

  • green leafy vegetables (spinach, kale, cabbage)
  • Green vegetables (broccoli, green beans, artichokes)
  • Breakfast cereal with bran
  • Avocados
  • Bananas
  • Cow's milk
  • Nuts and seeds (almonds, cashews, peanuts)
  • Pulses (black beans, edamame)
  • certain types of fish (salmon, mackerel)

Oral magnesium supplements

Oral supplements are a simple and easy way to increase magnesium levels, especially if you have a poor or unbalanced diet or are unable to eat much due to nausea.

Magnesium supplements are available over the counter in pharmacies or drugstores. However, we recommend that you consult your midwife or doctor beforehand, especially regarding the correct dosage.

People with kidney disease should not take magnesium supplements.

If your doctor gives you the green light, you can choose from various products or combine them: Magnesium citrate, magnesium glycinate and magnesium malate as well as natural preparations.

Our magnesium range

What is the magnesium requirement during pregnancy?

In the EU, the European Food Safety Authority sets an adequate intake of 300 mg of magnesium a day for adult women. It sees no evidence of a higher need during pregnancy or breastfeeding, so the same value applies (EFSA, 2015). The US recommendations for pregnancy are slightly higher: 350 mg a day between 19 and 30 years of age and 360 mg from the age of 31 (NIH Office of Dietary Supplements).

For magnesium from supplements, EFSA has set a tolerable upper intake level of 250 mg a day, which also applies to pregnant women. It is based on a mild, passing laxative effect, and magnesium from normal food is not counted (EFSA, 2006). If a higher amount makes sense for you, agree the dose with your midwife or doctor and spread it over the day.

Vomiting, nausea and an aversion to certain foods often contribute to a magnesium deficiency during pregnancy. In addition to a magnesium-rich diet, it can therefore make sense to take a supplement during this time after talking to your midwife or doctor.

Do you need magnesium supplements?

A healthy and balanced diet is the foundation. Supplements are a useful addition where your diet falls short, for example when nausea makes it hard to eat well.

Please note that anything you consume in excess can be harmful to you. You should therefore discuss the optimum dosage for you with your midwife or doctor. This depends on your lifestyle and diet. Magnesium is often recommended for pregnant women in combination with other prenatal vitamin supplements.

Are there any risks or side effects when taking magnesium supplements?

The risk of ingesting too much magnesium through your diet during pregnancy is very low. However, there is a risk of overdosing when taking magnesium supplements. The consumption of magnesium supplements can be associated with some side effects. These include

1. Diarrhea and dehydration

In some pregnant women, magnesium supplements cause intestinal irritation. This can lead to diarrhea, abdominal cramps and loss of appetite. If the diarrhea remains untreated, it can lead to symptoms of dehydration. These must be taken seriously and treated during pregnancy. So if you are taking magnesium supplements and suffer from persistent diarrhea for two to three days, please consult a doctor!

2. Stomach complaints

The last thing you need in pregnancy is nausea and vomiting - your morning sickness is proof enough of that! Taking magnesium can lead to indigestion, which is very similar to morning sickness. These symptoms usually disappear a few hours after taking it. If they persist for longer, please consult a doctor.

3. Interactions with other medications

Magnesium supplements interact with certain medications. These include antibiotics, blood pressure medication, calcium channel blockers, diabetes medication, etc. If you are taking such medications, please consult your doctor before using magnesium.

4. Overdosing

If you experience any of the following symptoms after taking magnesium, please go to the nearest emergency room. A magnesium overdose can be fatal if it is not treated in time.

You should look out for these symptoms:

  • persistent vomiting
  • Irregular heart rate
  • Breathing difficulties
  • Muscle weakness
  • Low blood pressure
  • Confusion

During pregnancy, your body needs special care and nutrients. Eat a balanced and healthy diet and attend all check-ups with your midwife or doctor. If you have an increased requirement, it may make sense to take additional magnesium supplements after talking to them.

Suitable products

Important Notice

This guide is for informational purposes only and does not replace professional medical advice.

The content of the Herbano Health Editorial team is carefully researched and based on current scientific studies.

Content created with the support of artificial intelligence and edited by the Herbano Editorial team.

Frequently asked questions

At usual supplement doses, magnesium is considered safe in pregnancy. EFSA's upper level of 250 mg a day from supplements also applies to pregnant women and is based on a mild, passing laxative effect. People with kidney disease or those taking certain medicines should check with their doctor first, and every supplement in pregnancy should be agreed with your midwife or doctor.

Yes, there is no known reason not to take them on the same day, and many prenatal supplements contain both. Folic acid or another folate is recommended from before conception until the end of the first trimester. More on this in our guide Folic acid vs. folate.

It may help some women. In one trial, women taking magnesium were more likely to be free of leg cramps after treatment, while other results showed little or no difference, and the overall evidence is of low certainty. Trying it is reasonable as long as your midwife or doctor agrees.

No study has compared the different forms of magnesium in pregnancy. The trials used several forms, including magnesium citrate, oxide, aspartate and gluconate. More important than the form is a suitable dose that you agree with your midwife or doctor and take in smaller portions over the day.

Magnesium tablets have not been shown to prevent pre-eclampsia. In hospital, magnesium sulphate given to women with pre-eclampsia more than halves the risk of seizures, but this is a medical treatment. Warning signs such as a severe headache, blurred vision or sudden swelling of the face, hands or feet need medical help immediately.

  1. [1]
    Makrides, M., Crosby, D. D., Bain, E. & Crowther, C. A. (2014, April) Magnesium supplementation in pregnancy. The Cochrane Database of Systematic Reviews, (4):CD000937, doi: 10.1002/14651858.CD000937.pub2. https://www.ncbi.nlm.nih.gov/pubmed/24696187
  2. [2]
    Gröber, U., Werner, T., Vormann, J. & Kisters, K. (2017, July) Myth or Reality—Transdermal Magnesium?. Nutrients, 9(8): 813, doi: 10.3390/nu9080813. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5579607/
  3. [3]
    Chollet, D., Franken, P., Raffin, Y., Henrotte, J. G., Widmer, J., Malafosse, A. & Tafti, M. (2001, September) Magnesium involvement in sleep: genetic and nutritional models. Behavior Genetics, 31(5):413-25, doi: 10.1023/a:1012790321071. https://www.ncbi.nlm.nih.gov/pubmed/11777170
  4. [4]
    Sartori, S. B., Whittle, N., Hetzenauer, A. & Singewald, N. (2012, January) Magnesium deficiency induces anxiety and HPA axis dysregulation: Modulation by therapeutic drug treatment. Neuropharmacology, 62(1): 304–312. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3198864/
  5. [5]
    Zarean, E. & Tarjan, A. (2017, August) Effect of Magnesium Supplement on Pregnancy Outcomes: A Randomized Control Trial. Advanced Biomedical Research, 6: 109, doi: 10.4103/2277-9175.213879. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5590399/
  6. [6]
    Barbagallo, M., Dominguez, L. J., Galioto, A., Ferlisl, A., Cani, C., Malfa, L. et al. (2003, February-June) Role of magnesium in insulin action, diabetes and cardio-metabolic syndrome X. Molecular Aspects of Medicine, 24(1-3):39-52, doi: 10.1016/s0098-2997(02)00090-0. https://www.ncbi.nlm.nih.gov/pubmed/12537988
  7. [7]
    Swaminathan, R. (2003, May) Magnesium Metabolism and its Disorders. The Clinical Biochemist Reviews, 24(2): 47–66. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1855626/
  8. [8]
    Durlach, J. (2004, December) New data on the importance of gestational Mg deficiency. Journal of the American College of Nutrition, 23(6):694S-700S, doi: 10.1080/07315724.2004.10719411. https://www.ncbi.nlm.nih.gov/pubmed/15637217
  9. [9]
    Castiglioni, S., Cazzaniga, A., Albisetti, W. & Maier, J. A. (2013, August) Magnesium and Osteoporosis: Current State of Knowledge and Future Research Directions. Nutrients, 5(8): 3022–3033, doi: 10.3390/nu5083022. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3775240/
  10. [10]
    Schoen, J. C., Campbell, R. L. & Sadosty, A. T. (2015, March) Headache in Pregnancy: An Approach to Emergency Department Evaluation and Management. West JEM Integrating Emergency Care With Population Health, 16(2): 291–301, doi: 10.5811/westjem.2015.1.23688. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4380381/
  11. [11]
    Rudnicki, M., Junge, J., Frolich, A., Ornvold, K. & Fischer-Rasmussen, W. (1990, December) Magnesium supplement in pregnancy-induced hypertension. A clinicopathological study. APMIS, 98(12):1123-7, doi: 10.1111/j.1699-0463.1990.tb05043.x. https://www.ncbi.nlm.nih.gov/pubmed/2282207
  12. [12]
    Facchinetti, F., Battaglia, C., Benatti, R., Borella, P. & Genazzani, A. R. (1992, September) Oral magnesium supplementation improves fetal circulation. Magnesium Research, 5(3):179-81. https://www.ncbi.nlm.nih.gov/pubmed/1467155
  13. [13]
    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. doi: 10.1002/14651858.CD010655.pub3. https://doi.org/10.1002/14651858.CD010655.pub3
  14. [14]
    Duley, L., Gülmezoglu, A. M., Henderson-Smart, D. J., & Chou, D. (2010) Magnesium sulphate and other anticonvulsants for women with pre-eclampsia. Cochrane Database of Systematic Reviews, 2010(11), CD000025. doi: 10.1002/14651858.CD000025.pub2. https://doi.org/10.1002/14651858.CD000025.pub2
  15. [15]
    Chiu, H. Y., Yeh, T. H., Huang, Y. C., & Chen, P. Y. (2016) Effects of Intravenous and Oral Magnesium on Reducing Migraine: A Meta-analysis of Randomized Controlled Trials. Pain Physician, 19(1), E97–E112. https://pubmed.ncbi.nlm.nih.gov/26752497/
  16. [16]
    EFSA Panel on Dietetic Products, Nutrition and Allergies (2015) Scientific Opinion on Dietary Reference Values for magnesium. EFSA Journal, 13(7), 4186. doi: 10.2903/j.efsa.2015.4186. https://doi.org/10.2903/j.efsa.2015.4186
  17. [17]
    European Food Safety Authority, Scientific Committee on Food (2006) Tolerable Upper Intake Levels for Vitamins and Minerals. Parma: EFSA, chapter on magnesium. https://www.efsa.europa.eu/sites/default/files/efsa_rep/blobserver_assets/ndatolerableuil.pdf
  18. [18]
    National Institute for Health and Care Excellence (2019) Hypertension in pregnancy: diagnosis and management (NG133). London: NICE. https://www.nice.org.uk/guidance/ng133
  19. [19]
    NIH Office of Dietary Supplements Magnesium – Fact Sheet for Health Professionals. National Institutes of Health. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
herbano-cms-block-one
herbano-cms-block-two