Is Magnesium Hydroxide Safe During Pregnancy?

Magnesium hydroxide, commonly sold as Milk of Magnesia, is generally considered safe for occasional use during pregnancy. It falls into the former FDA pregnancy Category B, meaning animal studies have not shown fetal risk and there are no adequate controlled studies in pregnant women, but no evidence of harm in any trimester has emerged. That said, “generally safe” comes with important caveats about how much you take, how often, and your individual health.

Why Pregnant Women Reach for It

Constipation affects up to half of all pregnancies, driven by hormonal shifts that slow digestion and the physical pressure of a growing uterus. Heartburn is nearly as common. Magnesium hydroxide works as both a laxative and an antacid, which is why it comes up so frequently in pregnancy searches. As an antacid, it neutralizes stomach acid on contact. As a laxative, it draws water into the intestines to soften stool and stimulate movement.

How Much Gets Into Your System

One reason magnesium hydroxide is considered low-risk is that it acts mostly in the gut. Roughly 15% to 50% of the dose gets absorbed through the small intestine, and in people with normal magnesium levels, absorption tends to be on the lower end. Your kidneys then clear the excess relatively quickly. This means that at standard over-the-counter doses, the amount reaching your bloodstream is small.

Magnesium does cross the placenta and appears in small amounts in breast milk. For occasional, short-term use at normal doses, the amount transferred to the fetus is not considered clinically significant. This is very different from intravenous magnesium sulfate, which is a high-dose hospital medication. Continuous IV magnesium given for more than five to seven days has been linked to fetal bone abnormalities, including weakened bones and even fractures. That scenario involves far higher and more sustained blood levels than you would get from drinking a capful of Milk of Magnesia.

Potential Side Effects

The most common side effect is diarrhea, which is essentially the laxative effect overshooting. During pregnancy this can be more than just inconvenient. Diarrhea can lead to dehydration and electrolyte shifts, both of which matter more when you’re supporting a pregnancy. Nausea and abdominal cramping are also possible, and these can layer on top of the nausea or bloating you may already be dealing with.

Excessive magnesium intake, whether from supplements, antacids, or laxatives, can tip you toward magnesium toxicity. Symptoms include low blood pressure, muscle weakness, irregular heartbeat, and in severe cases, difficulty breathing. This is unlikely from a single standard dose but becomes a real concern with heavy or prolonged use, especially if you’re also taking magnesium supplements or prenatal vitamins that contain magnesium.

Effects on Other Nutrients

Magnesium competes with calcium for absorption in the intestines. Taking large or frequent doses of magnesium hydroxide can interfere with how much calcium your body absorbs, which is a concern during pregnancy when calcium demand rises sharply for fetal bone development. The same competition can affect potassium balance, potentially contributing to muscle cramps or weakness.

If you take a prenatal vitamin that contains iron, timing matters. Antacids containing magnesium can reduce iron absorption when taken at the same time. Spacing them at least two hours apart helps both nutrients get absorbed properly.

Who Should Be More Cautious

Kidney function is the biggest consideration. Your kidneys are responsible for clearing excess magnesium from the blood, and if they aren’t working efficiently, even moderate doses can cause magnesium to accumulate. Anyone with kidney disease or reduced kidney function should avoid magnesium hydroxide unless specifically cleared by a provider. This applies whether or not you’re pregnant, but pregnancy adds extra reason for caution since your kidneys are already filtering for two.

Women on a magnesium-restricted diet, those taking other magnesium-containing products, or those with any electrolyte disorder should also flag this before using it.

Practical Guidelines for Use

For occasional constipation or heartburn, a single standard dose of magnesium hydroxide is not expected to cause problems during any trimester. The key word is occasional. Using it daily or for extended stretches increases the chance of diarrhea-related dehydration, electrolyte imbalance, and interference with nutrient absorption.

A few things to keep in mind:

  • Stick to the label dose. The standard dose on over-the-counter packaging is designed for short-term, intermittent use.
  • Separate it from prenatal vitamins. Take magnesium hydroxide at least two hours before or after your prenatal to minimize absorption conflicts with iron and calcium.
  • Stay hydrated. Because it works by pulling water into your intestines, drinking extra fluid helps it work properly and reduces the risk of dehydration.
  • Try other strategies first. Increasing fiber, drinking more water, and staying physically active resolve pregnancy constipation for many women without medication.

If constipation or heartburn is persistent enough that you find yourself reaching for it regularly, that’s worth mentioning at your next prenatal visit. Chronic symptoms sometimes point to other issues, and there may be alternatives better suited for daily use during pregnancy.