Is Magnesium safe during pregnancy?

Use only if a doctor advises. Here is what is known, who should be careful, and when to ask a doctor.

Ask a doctor about your medicinesVerified doctors from ₹15/min · chat, voice or video

Short answer

Use only if a doctor advises

Magnesium from food and at the small amounts in prenatal supplements is not known to cause problems in pregnancy, but take a separate magnesium supplement only if your doctor advises it. Evidence that magnesium helps leg cramps in pregnancy is mixed. Always check with your doctor before taking any supplement during pregnancy.

What is magnesium?

Magnesium is a mineral needed for muscles, nerves, bones, blood sugar control and heart rhythm. Supplements are taken for cramps, sleep, constipation and to correct low levels, though evidence for many uses is limited.

What is known about pregnancy

Magnesium needs rise slightly in pregnancy. Whole grains, pulses, nuts, seeds and green leafy vegetables are good sources. Many prenatal supplements include some magnesium.

Leg cramps are common in pregnancy, and some women use magnesium for them. Studies give mixed results, so it is not clearly proven to help. Stretching, staying active and drinking enough water may also help.

In hospitals, doctors give magnesium by injection to treat severe pre-eclampsia, but this is a medical treatment under close monitoring and is very different from taking supplements at home.

Be extra careful if

  • Women with kidney disease
  • Women taking several supplements that each contain magnesium
  • Women using magnesium-based antacids or laxatives regularly
  • Women taking iron or calcium, which should be spaced apart from some supplements

Ask a doctor first if

  • You have frequent leg cramps that disturb sleep
  • You are constipated and want to use a magnesium-based laxative
  • You have high blood pressure or swelling in pregnancy (get urgent care for a severe headache, vision changes or sudden swelling of the face or hands, as these can be signs of pre-eclampsia)
  • You are unsure of the total magnesium in your supplements

While breastfeeding

Magnesium passes into breast milk in small amounts, and normal supplement amounts are considered compatible with breastfeeding. Milk magnesium levels are not much affected by the mother's supplements. Ask your doctor before taking high-dose products.

FAQ

Other questions about magnesium

Does magnesium help with sleep?
Some people take magnesium to help them sleep, but research is limited and results are mixed, especially in people who are not low in magnesium. It may help a little in some older adults. Good sleep habits are more reliable. If poor sleep lasts weeks, see a doctor to look for the cause.
Can magnesium cause diarrhoea?
Yes. Some forms of magnesium, such as magnesium oxide and magnesium citrate, draw water into the bowel and can cause loose stools. This is why magnesium is used in some laxatives. If you get diarrhoea, reduce or stop the supplement and speak to a doctor about other forms.
Who should not take magnesium supplements?
People with kidney disease should avoid magnesium supplements unless a doctor advises them, because the kidneys may not be able to remove the extra. People with heart block or certain heart conditions should also check first. Magnesium can interact with some antibiotics, osteoporosis medicines and water pills.

Further reading

This page is general information, not medical advice, and does not replace a doctor or pharmacist who knows your health. Product labels and doses differ. Never start, stop or combine medicines or supplements in pregnancy without asking your doctor. In an emergency, call 112.