Magnesium hydroxide for constipation
Phillips' Milk of Magnesia
Peer reviewed by Sid DajaniLast updated by Michael Stewart, MRPharmSLast updated 21 Oct 2024
Meets Patient’s editorial guidelines
- DownloadDownload
- Share
- Language
- Discussion
- Audio Version
- Add to preferred sources on Google
Magnesium hydroxide is a laxative for occasional use only.
Take a dose at bedtime with a glassful of water.
If you are taking other medicines, do not take magnesium hydroxide within two hours (before or after) of your other medicines.
At a glance
Magnesium hydroxide is a medicine used to treat occasional constipation and is available as a liquid.
It works by drawing fluid into your bowel, making stools softer and easier to pass.
Take it with a glass of water or milk at bedtime for up to three consecutive days.
Do not take it at the same time as other medicines, leave at least a two-hour gap.
Speak to a doctor or pharmacist before taking it if you are pregnant or have kidney or liver problems.
Stop taking it if you experience mild diarrhoea or stomach cramps.
In this article:
Video picks for Gastrointestinal treatment
Continue reading below
About magnesium hydroxide
Type of medicine | A laxative |
Used for | Constipation |
Also called | Phillips'® Milk of Magnesia |
Available as | Liquid mixture |
Constipation is a common problem. It can mean either going to the toilet less often than usual to empty your bowels, or passing hard or painful stools. Constipation can be caused by a number of things. Not eating enough fibre or not drinking enough fluid can cause constipation. Some conditions (such as pregnancy) can cause constipation, as can a lack of exercise or movement (such as being ill in bed), and some medicines. Often, increasing the amount of fibre in your diet (such as by eating more fruit, vegetables, cereals and wholemeal bread) and drinking plenty of water each day can effectively prevent or relieve constipation. A laxative such as magnesium hydroxide can also be helpful, if used occasionally.
Magnesium hydroxide works by drawing fluid into your bowel, which makes your stools softer and easier to pass. It can be bought without a prescription at pharmacies and other retail outlets.
Before taking magnesium hydroxide
Back to contentsTo make sure that this is the right treatment for you, ask a pharmacist or doctor for advice before you start taking magnesium hydroxide if:
You are pregnant. This is because if you are expecting a baby, medicines should only be taken on the advice of a doctor.
You have problems with the way your kidneys work, or problems with the way your liver works.
You have severe tummy (abdominal) pain, cramping, or sickness (vomiting).
You are taking any prescription medicines. This is because magnesium hydroxide can reduce the absorption of many medicines.
You have ever had an allergic reaction to a medicine.
Continue reading below
How to take magnesium hydroxide
Back to contentsBefore you start taking the mixture, read the manufacturer's printed information attached to the pack. It will give you more information about magnesium hydroxide and how to take it.
Shake the bottle well to make sure the medicine is evenly mixed before pouring out a dose. The dose for an adult is 30-45 ml (six to nine 5 ml spoonfuls). The dose for a child aged 3-12 years is 5-10 ml (one or two 5 ml spoonfuls), although magnesium hydroxide should only be given to a child on the advice of a healthcare professional. Swallow the dose with a glass of water or milk at bedtime. The water/milk helps the magnesium hydroxide to work so it is important that you drink a glassful. It is also especially important if you are elderly, or at risk of becoming lacking in fluid in the body (dehydrated) for any reason.
Magnesium hydroxide is a laxative for occasional use only - do not take it for more than three consecutive days. It must not be taken to prevent constipation or to 'keep you regular'. If you are concerned about your bowel habit, please speak with your doctor for advice.
Do not take magnesium hydroxide at the same time as any other medicines. This is because it can interfere with the way your body absorbs other medicines and may stop them from working properly. Try to leave at least two hours both before and after a dose of magnesium hydroxide before you take any other medicines.
Getting the most from your treatment
Back to contentsIt is important for you to drink plenty while you are constipated. Adults should aim to drink at least two litres (about 8-10 cups) of fluid per day. Most sorts of drink will do but as a start, try just drinking a glass of water 3-4 times a day in addition to what you normally drink.
Try to eat a balanced diet containing high-fibre foods such as wholemeal and wholegrain breads and cereals, fruit and vegetables, brown rice and wholemeal pasta. If you are not used to a high-fibre diet, it may be best to increase the amount of fibre you eat gradually.
Keeping your body active will help you to keep your digestive system moving, so try to take some regular daily exercise.
You may wish to include some foods in your diet that contain sorbitol. Sorbitol is a naturally occurring sugar. It is not digested very well and draws water into your bowel which has an effect of softening stools. Fruits (and their juices) that have a high sorbitol content include apples, apricots, gooseberries, grapes (and raisins), peaches, pears, plums, prunes, raspberries and strawberries.
You can read more about how to prevent or treat constipation in the separate condition leaflets called Constipation (for adults) and Constipation in Children.
Continue reading below
Can magnesium hydroxide cause problems?
Back to contentsOccasionally, people who have taken magnesium hydroxide have experienced digestive symptoms such as mild diarrhoea and stomach cramps. If either of these happens to you, stop taking it. Other side-effects are unlikely but if you do experience any other symptoms, speak with a doctor or pharmacist for further advice.
How to store magnesium hydroxide
Back to contentsKeep all medicines out of the reach and sight of children.
Store in a cool, dry place, away from direct heat and light.
Check the label on the bottle for an expiry date. Once a bottle of mixture has been opened, it may need to be used within a period of time, or discarded.
Important information about all medicines
Back to contentsImportant information about all medicines
If you suspect that you or someone else might have taken an overdose of this medicine, go to the accident and emergency department of your local hospital. Take the container with you, even if it is empty.
If you are having an operation or any dental treatment, tell the person carrying out the treatment which medicines you are taking.
Do not keep out-of-date or unwanted medicines. Take them to your local pharmacy which will dispose of them for you.
If you have any questions about this medicine ask your pharmacist.
Report side effects to a medicine or vaccine
If you experience side effects, you can report them online through the Yellow Card website.

Unsure about mixing medicines?
Check for possible interactions between medicines, supplements and foods before taking them together.
Frequently asked questions
What happens if I take magnesium hydroxide for more than three days in a row?
Magnesium hydroxide is meant for occasional use only and should not be taken for more than three consecutive days. If you find yourself needing a laxative for longer, or are concerned about your bowel habits, you should speak with your doctor for advice.
Can I take magnesium hydroxide at the same time as other medications?
No, you should not take magnesium hydroxide at the same time as other medicines. It can interfere with how your body absorbs them and stop them from working correctly. It is advised to leave at least two hours both before and after taking magnesium hydroxide before taking any other medications.
Are there any natural ways to help prevent constipation in addition to using magnesium hydroxide?
Yes, there are several lifestyle changes that can help prevent or treat constipation. These include drinking plenty of fluids (adults should aim for at least two litres daily), eating a balanced diet rich in high-fibre foods like wholemeal bread, fruits, and vegetables, and getting regular daily exercise. Additionally, consuming fruits and juices high in sorbitol, such as apples, pears, peaches, and prunes, can help soften stools.
Further reading and references
- Manufacturer's PIL, Magnesium Hydroxide Mixture BP; Thornton & Ross Ltd, The electronic Medicines Compendium. Dated July 2020.
- Medicines Complete BNF 89th Edition; British Medical Association and Royal Pharmaceutical Society of Great Britain, London.
Continue reading below
About the authorView full bio

Michael Stewart, MRPharmS
Medicine Leaflet Review Manager – Contractor, Pharmacist
BPharm (Hons), MRPharmS
Michael is a community pharmacist practicing in the Midlands and South Yorkshire with more than 20 years’ experience advising on medicines and medical conditions. He has a strong background in healthcare training, having produced and delivered training courses for pharmacy teams and staff of residential care settings, including nurses. He has also contributed to pharmacy advisory boards for the management of low acuity conditions in the community.
About the reviewer

Sid Dajani
Sultan Dajani qualified at the London School of Pharmacy in 1994 and became the youngest elected member of the Royal Pharmaceutical Society council since its founding in 1842.
Article history
The information on this page is written and peer reviewed by qualified clinicians.
Next review due: 18 Oct 2027
21 Oct 2024 | Latest version

Ask, share, connect.
Browse discussions, ask questions, and share experiences across hundreds of health topics.
Sign up to the Patient newsletter
Your weekly dose of clear, trustworthy health advice - written to help you feel informed, confident and in control.
By subscribing you accept our Privacy Policy. You can unsubscribe at any time. We never sell your data.