Magnesium hydroxide
Liquid (suspension), solution or tablet
Magnesium hydroxide is a mild salt that draws water into your bowel to relieve occasional constipation. It also eases heartburn and indigestion.
Who should not take it
Do not take magnesium hydroxide if you have severe kidney failure, because magnesium can build up in your blood.
have severe kidney failure, which is a reason not to use it in the UK label
are allergic to magnesium salts or anything else in the product
have a sudden stomach problem, such as ongoing tummy pain, feeling sick or vomiting, because the UK label bars it in acute gut conditions
have, or have had, a blocked bowel (bowel obstruction), or may have appendicitis (signs are tummy pain, fever and vomiting). Ask a doctor first
are giving it to a child under 12 without a doctor's advice
Check with your doctor first if you:
- have milder kidney disease
- follow a diet that limits magnesium
- have had a sudden change in your bowel habits that lasts more than 14 days
- take a prescription medicine
- are elderly or frail
- have liver problems
The UK label says it is not suitable for children under 12. The US label gives a smaller amount for ages 6 to 11 and says to ask a doctor for children under 6.
Used for
Magnesium hydroxide relieves occasional constipation. It also settles acidity, heartburn and indigestion, because it neutralises extra acid in your stomach.
In India it is sold under many brand names as a liquid, a solution and a tablet. Most of these are sold without a prescription. The solution in our list needs one.
The US label says a dose usually produces a bowel movement in half an hour to 6 hours. It is meant for short-term use only.
How it works
Magnesium hydroxide is an osmotic laxative. It draws water into your bowel, which softens the stool and makes it easier to pass.
In your stomach it acts as an antacid. It reacts with stomach acid and makes the acid weaker.
How to take it
Take magnesium hydroxide exactly as your doctor prescribed, or as the label on your pack says. Never go above the maximum daily amount on the pack.
Drink a full glass of water or other liquid with each dose. The US label says to do this.
Stop and ask a doctor if you need a laxative for more than 1 week.
Do not add another laxative unless your doctor or pharmacist recommends it. Two laxatives together can worsen diarrhoea and fluid loss.
Liquid and solution
Shake the bottle well before each dose. Measure it with the spoon or cup that comes with it, not a kitchen spoon.
As a laxative, take it once a day, usually at bedtime. The US label also allows divided doses. For adults and children aged 12 years and over, it gives 2 to 4 tablespoonfuls (30 to 60 mL). The UK label gives 25 to 50 mL in a glass of water. Strengths differ between products, so follow your pack.
As an antacid, the UK label gives 1 to 2 five-mL spoonfuls in a little water when you need it.
Close the cap tightly and do not freeze it. The UK label says to throw away unused mixture 3 months after you open it. Read your pack for the date that applies to yours.
Tablets
The labels we opened cover the liquid. For tablets, follow your pack or ask your pharmacist.
Swallow or chew the tablet as the pack says, with a full glass of water.
A missed dose: skip it. Only take a dose when you need it. Never take two doses together.
If you take too much, get medical advice at once, even if you feel well.
Side effects
Most people have no side effects when they use it for a short time. Loose motions are the commonest effect, and they depend on the dose.
Not known: the label does not say how often:
- loose motions (diarrhoea)
- tummy pain (abdominal pain)
- tummy cramps (colic)
Very rare: may affect up to 1 in 10,000 people:
- too much magnesium in the blood (hypermagnesaemia), which the UK label links to long use in people with kidney problems
Serious side effects are rare. Get emergency help at once if you have very slow or shallow breathing, faint, or have an uneven heartbeat. These are signs of too much magnesium. Other signs are flushing and a strong thirst.
Get urgent medical advice today if you have bleeding from your back passage, or no bowel movement after you use it. The US label says these can be signs of a serious condition. Stop using it.
Safety
Magnesium hydroxide is safe for most adults when you use it occasionally and as directed. Kidney problems, long use and young children need extra care.
PregnancySafe
Magnesium hydroxide is safe in pregnancy when your doctor prescribes it, and the US label says to ask a health professional before use.
The labels we opened give no more detail on pregnancy. Ask before you use it, and do not use it for more than a few days.
BreastfeedingCaution
Take care with magnesium hydroxide while breastfeeding, because small amounts of magnesium pass into breast milk, so ask a health professional before use.
The UK label says small amounts of magnesium pass into milk. The US label advises you to ask a health professional first.
AlcoholAsk your doctor
Ask your doctor about alcohol, because the labels we opened give no advice on drinking alcohol with magnesium hydroxide.
DrivingAsk your doctor
Ask your doctor about driving, because the UK label lists no known effect, but cramps or urgent loose motions can make driving hard.
If you have loose motions or cramps, wait until they settle before you drive.
KidneyCaution
Take care with magnesium hydroxide if you have kidney problems, because magnesium can build up in your blood.
The US label says to ask a doctor first if you have kidney disease. The UK label says not to use it in severe kidney failure.
LiverSafe
Magnesium hydroxide is safe in liver disease when your doctor prescribes it, although the UK label advises care.
Tell your doctor or pharmacist about your liver problem before you use it.
With other medicines
- IronModerate
Magnesium hydroxide can reduce how much iron your body absorbs, so take the two 2 to 3 hours apart.
- Polystyrene sulfonateModerate
Sodium polystyrene sulfonate (a medicine for high potassium) with magnesium hydroxide can upset your blood's acid balance, so your doctor decides.
Tell your doctor and pharmacist about every medicine you take, including any you buy without a prescription.
Magnesium hydroxide can reduce how much of some medicines your body absorbs. The UK label advises a gap of 2 to 3 hours between an antacid and other medicines. The right gap depends on the other medicine, and some need longer. Levothyroxine, for example, needs at least 4 hours before or after a magnesium antacid. Ask your pharmacist how long to wait for each of your medicines.
Our data lists two moderate interactions.
Magnesium hydroxide can reduce how much iron your body absorbs, so take the two 2 to 3 hours apart.
Sodium polystyrene sulfonate (a medicine for high potassium) with magnesium hydroxide can upset your blood's acid balance, so your doctor decides.
The UK label also names these medicines, which magnesium salts can stop from being absorbed properly:
- Antibiotics such as tetracyclines, quinolones, nitrofurantoin and rifampicin
- Antifungals such as ketoconazole and itraconazole
- Levothyroxine, a thyroid medicine
- Digoxin, a heart medicine
- Bisphosphonates, medicines for weak bones
- Phenytoin and gabapentin, medicines for fits
- Captopril and enalapril, medicines for high BP
- Chloroquine and hydroxychloroquine
High-dose aspirin leaves your body faster when your urine is alkaline. Nilotinib, a cancer medicine, has its own timing rule. Its prescribing information allows an antacid about 2 hours before or after nilotinib. Ask your cancer team about this timing.
The US label says to ask a doctor or pharmacist before you use it with any prescription medicine. Tell your doctor about every medicine you take, including ones you buy yourself.
Good to know
A few habits make constipation easier to manage.
- Drink plenty of water through the day.
- Eat more fibre, such as fruit, vegetables and whole grains.
- Move around every day, because walking helps your bowel.
- Go to the toilet when you feel the urge.
- Use the laxative only for a short time.
Common questions
How long does magnesium hydroxide take to work?
The US label says it usually produces a bowel movement in half an hour to 6 hours. That is why many people take it at bedtime.
Is it safe to take magnesium hydroxide every day?
Use it only for a short time. Stop and ask a doctor if you need a laxative for more than 1 week. Long use can raise magnesium in your blood, especially with kidney problems.
Is magnesium hydroxide safe for children?
The UK label says it is not suitable for children under 12. The US label allows a smaller amount for ages 6 to 11. Always ask a doctor before you give it to a child.
Will magnesium hydroxide cleanse my colon?
It relieves constipation by softening your stool, but it is not a colon cleanse. Using it for that reason can upset your body's salts and water.
Ask your AI
Opens the AI assistant you pick, with a ready question already filled in: this page's facts and their sources, to explain in plain words. You read it before you send it. Never a dose or a diagnosis.
See the question
Sources
The facts on this page were checked against the US FDA label and the UK medicines regulator's label.
The US FDA label · 1 page
The UK medicines regulator's label · 1 page
Checked on 4 Nov 2026
This page gives general information. Your doctor knows your health and decides your treatment.