Skip to content
Magnesium hydroxide (Mg(OH)2, mineral)

Magnesium hydroxide (milk of magnesia)

Milk of magnesia works as an osmotic laxative for occasional constipation: a US label says it usually produces a bowel movement in half an hour to six hours, and a systematic review of over-the-counter laxatives graded the evidence for magnesium salts as moderate, behind polyethylene glycol and senna. It is also sold as an antacid, but we found no trial of magnesium hydroxide alone for heartburn.

The one serious caution is kidney impairment, because magnesium can build up to dangerous levels (hypermagnesaemia), and it should be kept apart from other medicines, including some antibiotics.

A glass of white milky liquid with a measuring spoon
At a glance
Last reviewed 10 October 2026
Evidence
Moderate
Best for
Occasional constipation
Typical form & use
Milk of magnesia, 30–60 mL a day
Onset
Same night
Safety
Avoid with kidney disease: magnesium can build up. 1 known interaction, most serious with antibiotics.
Check with your medications →

What it's used for

Evidence is rated per use. The same ingredient can be strong for one thing and traditional for another.

UseEvidenceWhat the research shows
Occasional constipation in adults (laxative)Compare remedies for digestion →Moderate

A 2021 systematic review of over-the-counter therapies for chronic constipation (41 randomised trials of at least 4 weeks) found good evidence for polyethylene glycol and senna and moderate evidence for magnesium salts, with diarrhoea, nausea, bloating and abdominal pain as the common adverse effects.

That evidence is for magnesium salts as a group, not magnesium hydroxide specifically, and the review cites small samples and varied designs as limits. The US label for milk of magnesia lists relief of occasional constipation, with a bowel movement generally in half an hour to six hours.1,4

Constipation in children (laxative)Limited

A Cochrane review of 25 trials (2,310 children) found polyethylene glycol gave slightly more stools a week than milk of magnesia (3 studies, 211 children, mean difference 0.69, 95% CI 0.48 to 0.89), a gap the authors said may not be clinically significant, and overall evidence quality was low, with 14 trials at high risk of bias.

In one 12-month open-label trial of 83 children aged 6 months to 18 years, success was similar with magnesium hydroxide (40 of 42) and polyethylene glycol (40 of 41), but children over 4 rejected magnesium hydroxide more often.2,3

Heartburn and indigestion (antacid)Compare remedies for acid reflux & heartburn →Traditional

Magnesium hydroxide is a long-standing OTC antacid: the US label lists relief of heartburn, sour stomach, acid indigestion and upset stomach, and the NHS names magnesium hydroxide among antacid ingredients that relieve symptoms for a few hours without treating the cause.

We did not find a trial of magnesium hydroxide alone for heartburn, so we rate this 1, on regulatory use rather than clinical research. Its laxative effect can be an unwanted side effect here.4,5

Too much magnesium (harm signal), especially with kidney impairmentLimited

Not a use but the main safety issue. A 2018 review says magnesium-containing laxatives can cause hypermagnesaemia, particularly when kidney function is reduced. In a Japanese hospital study of 193 people taking daily magnesium oxide (a related laxative, not hydroxide), 10 (5.2%) had hypermagnesaemia, linked to stage 4 chronic kidney disease and to dose.

A case report describes a fatal case in a woman with normal kidney function who had used magnesium laxatives regularly for constipation. Evidence is case-level and observational, so the size of the risk is unknown.6,7,8

How much

Ranges below are what studies used and what supplements commonly contain. They are not a recommendation for you. Start at the low end.

Laxative label dose (US)
30 to 60 mL (1 to 2 doses) a day4
Adults and children 12 and over, as a single dose or divided, with a full glass (8 oz) of liquid each dose. Do not exceed 60 mL in 24 hours; stop and ask a doctor if you need a laxative for more than a week.
Antacid label dose (US)
30 mL up to 2 times a day4
Do not take more than 60 mL in 24 hours, and do not use the maximum dosage for more than 2 weeks except on a doctor's advice.
Strength
2,400 mg magnesium hydroxide in 30 mL4
Each 30 mL contains 1 g of magnesium, according to the label. Other brands and other countries differ in strength, so check the pack.
Timing · As a laxative the label says it may be taken as a single daily dose or divided doses. As an antacid, the NHS says to take it with or soon after meals and just before bed, and not to take other medicines within 2 to 4 hours of an antacid.With food? · Shake well before use and drink a full glass of liquid with each laxative dose (label). The NHS says antacid effect may last longer with food.How long to trial · The label says a bowel movement generally follows within half an hour to 6 hours. Stop and ask a doctor if there is rectal bleeding or no bowel movement after use, or if you need a laxative for more than a week.

How people take it

Oral suspension, laxative use30–60 mL a dayMilk of magnesia: 2,400 mg magnesium hydroxide per 30 mL. Shake well and follow with a full glass of liquid.
Oral suspension, antacid use30 mL, up to twice a dayThe same product at the antacid dose. Both uses share one label and the same kidney and medicine-interaction warnings.

Safety

Who should avoid
  • Kidney disease — magnesium can build up (hypermagnesaemia); the label says ask first
  • Doctor-advised low-magnesium diet — the label says ask first
  • Abdominal pain, nausea or vomiting — the label says ask a doctor before using as laxative
  • Sudden bowel change lasting over 2 weeks, or rectal bleeding — see a doctor
  • Pregnancy or breastfeeding — the label says ask a health professional
  • Children under 12 — the label says ask a doctor
  • Needing a laxative for more than a week — the label says stop and ask a doctor
Known interactions
CautionAntibiotics — Antacids containing aluminium and magnesium hydroxide cut absorption of ciprofloxacin and ofloxacin by 50 to 90%, and tetracyclines bind metal ions in antacids so absorption can fall by more than 90%; the NHS says to keep other medicines 2 to 4 hours away from an antacid.

Questions people ask

What are the side effects of magnesium hydroxide?

The NHS lists diarrhoea or constipation, wind, stomach cramps and feeling sick for antacids, and a laxative effect is expected with milk of magnesia.

The serious risk is too much magnesium in the blood, mostly in people with reduced kidney function (2018 review; 5.2% of 193 people on daily magnesium oxide), so ask a doctor before using it if you have kidney disease.

What is milk of magnesia used for?

Two things, both on the US label: occasional constipation, where it draws water into the bowel as a saline laxative, and heartburn or indigestion as an antacid. The laxative use has moderate evidence for magnesium salts in a 2021 review; we found no trial of magnesium hydroxide alone as an antacid.

Is this the same as magnesium supplements for sleep or anxiety?

No. Magnesium hydroxide is used as a laxative and antacid, where it acts in the gut. Magnesium taken as a supplement for sleep, stress or anxiety is covered on our magnesium glycinate page, and that evidence is about other magnesium forms and a different purpose, so we do not repeat it here.

Can I take it with my other medicines?

Not at the same time. The NHS says antacids can affect how well other medicines work and not to take other medicines within 2 to 4 hours of one. Magnesium and aluminium hydroxide antacids cut absorption of some quinolone antibiotics by 50 to 90%, so ask a pharmacist about timing for your specific medicine.

Sources (9)

  1. Systematic review Rao SSC, Brenner DM. Efficacy and Safety of Over-the-Counter Therapies for Chronic Constipation: An Updated Systematic Review. Am J Gastroenterol. 2021.
  2. Systematic review Gordon M, MacDonald JK, Parker CE, Akobeng AK, Thomas AG. Osmotic and stimulant laxatives for the management of childhood constipation. Cochrane Database Syst Rev. 2016.
  3. Randomised controlled trial Worona-Dibner L, Vázquez-Frias R, Valdez-Chávez L, Verdiguel-Oyola M. Efficacy, safety, and acceptability of polyethylene glycol 3350 without electrolytes vs magnesium hydroxide in functional constipation in children from six months to eighteen years of age: A controlled clinical trial. Rev Gastroenterol Mex. 2023.
  4. Regulator label DailyMed. Milk of Magnesia (magnesium hydroxide) suspension, PAI Holdings LLC dba PAI Pharma: OTC drug label. Updated January 2026.
  5. Health service guidance NHS. Antacids. Medicines.
  6. Review William JH, Richards K, Danziger J. Magnesium and Drugs Commonly Used in Chronic Kidney Disease. Adv Chronic Kidney Dis. 2018.
  7. Cross-sectional study Mori H, Suzuki H, Hirai Y, et al. Clinical features of hypermagnesemia in patients with functional constipation taking daily magnesium oxide. J Clin Biochem Nutr. 2019.
  8. Case report Bokhari SR, Siriki R, Teran FJ, Batuman V. Fatal Hypermagnesemia Due to Laxative Use. Am J Med Sci. 2018.
  9. Review Gugler R, Allgayer H. Effects of antacids on the clinical pharmacokinetics of drugs. An update. Clin Pharmacokinet. 1990.

Reader notes

Experiences and questions from readers, read by an editor before they appear. They are personal accounts, not evidence, and are not medical advice.

Used it? Share how it went, or ask a question.

Share what you made, tried or noticed, or ask a question. Please don't give other people medical advice, post doses for someone else, or include links or brand names. Your name is shown with your comment; your email (optional) never is. See our privacy policy.

Last reviewed 10 October 2026 · Next review April 2027 · How we rate evidence