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.