Skip to content
Stomach & Gut — Antacids and alginatesATC A02AA04

Magnesium hydroxide

Over the counter

Milk of magnesia: antacid and laxative.

Starts working
Minutes (antacid); 6 hours (laxative)
Half-life
Not applicable
In use since
—
Pregnancy
Generally considered safe

Overview

Magnesium hydroxide neutralises stomach acid and, at higher doses, acts as an osmotic laxative. Long-term use in kidney disease can cause magnesium build-up.

How it works

Neutralises stomach acid and loosens stools.

Magnesium hydroxide belongs to the Antacids and alginates. How Antacids and alginates work: neutralise stomach acid or float on top of the stomach contents to block reflux.

Uses

  • Heartburn and indigestion
  • Constipation

Available as: oral suspension, tablet.

Typical dose

Adults
5–15 mL of 8% suspension up to four times a day as an antacid; 30–60 mL at bedtime as a laxative.

Typical doses for orientation only. Your prescription, the pack leaflet and local guidance take priority.

Side effects

Common

Often mild and may settle with time

  • Loose stools
  • Stomach cramps
  • Nausea

Serious — get medical help

Uncommon, but need prompt attention

  • High magnesium in kidney failure
  • Dehydration

Warnings

  • Space from other medicines by 2 hours
  • Avoid in kidney failure

Who should avoid it

  • Severe kidney impairment
  • Intestinal obstruction

Interactions

  • Fluoroquinolones, tetracyclines, levothyroxine, iron — reduced absorption
  • Bisphosphonates — reduced absorption

Other medicines in the atlas that need care with Magnesium hydroxide, grouped by the reason:

Absorption blockedModerateWith Alendronic acid, Baloxavir marboxil, Ciprofloxacin, Dolutegravir, Doxycycline and 11 more

Calcium, iron, zinc and antacids bind this medicine in the gut so much less is absorbed.

What's usually done: Separate doses — usually 2–4 hours apart (levothyroxine 4 hours).

Absorption may changeModerateWith Esomeprazole, Lansoprazole, Omeprazole, Pantoprazole, Rabeprazole

Lower stomach acidity can alter absorption of some medicines and mineral supplements.

What's usually done: Follow the product-specific spacing or administration instructions and review persistent treatment failure.

Check Magnesium hydroxide against your own medicines

Using it safely

Alcohol
Usually no problem in moderation. No specific interaction.
Food and drink
Take after meals.
If you miss a dose
Used as needed.
Stopping it
Can be stopped.
Driving
No effect.
Tests and checks
Magnesium in kidney disease
If too much is taken
Severe diarrhoea and dehydration; high magnesium in kidney disease. Seek help.
Storage
Room temperature.
Legal status
United States: Over the counterUnited Kingdom: General sale or pharmacy medicineIndia: Over the counterAustralia: Pharmacy medicine (Schedule 2)

Pregnancy and breastfeeding

Pregnancy

Generally considered safe

Considered acceptable for short-term use.

Breastfeeding

Generally considered safe

Considered acceptable.

Special groups

Kidney disease
Avoid in significant impairment.
Liver disease
No adjustment.
Older adults
Avoid prolonged use with reduced kidney function.

Brand names

United States
Milk of Magnesia, Phillips'
United Kingdom
Milk of Magnesia
India
Digene (combination), Mucaine (combination), Gelusil (combination)
Australia
Milk of Magnesia

Examples only; many generic versions exist. The same brand name can mean different products in different countries.

Common questions

Do I need a prescription for Magnesium hydroxide?

Magnesium hydroxide is sold without a prescription in many countries, though pack sizes and age limits apply. Rules differ by country.

Can I take Magnesium hydroxide during pregnancy?

Generally considered safe. Considered acceptable for short-term use. Always check with a doctor or midwife.

How quickly does Magnesium hydroxide work?

Minutes (antacid); 6 hours (laxative).

Sources and official information

Entry last reviewed October 2026. Compiled from WHO, NHS, FDA/DailyMed, BNF and national formulary information. How we write entries.