JCI-accredited · 45+ hospitals & clinics · 90+ countries served · 24/7 multilingual support
General Health

Magnesium Hydroxide: A Complete Medical Overview

9 min read Published July 30, 2026
Medical consultation in hospital corridor with doctor and patients.
Quick answer

Magnesium hydroxide is mainly used as a short-term laxative and antacid. It can help occasional constipation and acid-related discomfort, but it does not treat the underlying cause of chronic symptoms.

Key Takeaways

  • Magnesium hydroxide is mainly used as a short-term laxative and antacid.
  • It can help occasional constipation and acid-related discomfort, but it does not treat the underlying cause of chronic symptoms.
  • People with kidney disease, older adults, and those taking multiple medicines may need extra caution.
  • Possible side effects include diarrhea, stomach cramping, nausea, and electrolyte imbalance if overused.
  • Persistent constipation, frequent heartburn, or alarm symptoms should be assessed by a doctor.

Medically reviewed by the Acıbadem International Medical Board — July 30, 2026

Dr. Bahadır Kaynarkaya, MD Dr. Mohamed Al-Qadi, MD Dr. Şule Eren, MD Dr. Tarek Arafat, MD

Magnesium hydroxide is a common over-the-counter medicine used to relieve occasional constipation and to reduce symptoms of excess stomach acid, such as heartburn or indigestion. It can be effective when used correctly, but it is not right for everyone and may interact with medical conditions or other medicines.

Overview: what magnesium hydroxide is and what it does

Magnesium hydroxide is a medicine used for two main purposes: it can act as an antacid to reduce excess stomach acid, and it can act as an osmotic laxative to help ease occasional constipation. It is widely known in liquid form and is available without a prescription in many countries. Although familiar and often considered simple to use, it is still a medication and should be taken thoughtfully.

As an antacid, magnesium hydroxide works by neutralizing acid already present in the stomach. This may help relieve symptoms such as heartburn, sour stomach, or indigestion. As a laxative, it draws water into the intestines, which softens stool and encourages bowel movement. Because these are two different effects, the reason a person is taking it matters when deciding whether it is suitable.

Magnesium hydroxide is generally intended for short-term symptom relief rather than long-term self-treatment. Repeated or ongoing use can sometimes mask an underlying digestive problem or lead to side effects. For that reason, regular symptoms such as chronic constipation or frequent reflux deserve a proper medical review, especially if they interfere with daily life.

Common uses and expected benefits

Common uses and expected benefits — magnesium hydroxide

The most common use of magnesium hydroxide is short-term relief of occasional constipation. It may be helpful when bowel movements are infrequent, stools are hard, or passing stool feels difficult. Many people use it after dietary changes, travel, reduced activity, or temporary medication-related constipation. It is not usually the first choice for long-term bowel management, especially if symptoms occur repeatedly.

Magnesium hydroxide is also used for occasional heartburn, acid indigestion, and upset stomach related to excess acid. Because it neutralizes stomach acid directly, some people feel relief fairly quickly. However, if heartburn happens often, wakes a person at night, or is associated with swallowing problems, a doctor may need to look for conditions such as gastroesophageal reflux disease.

In some care plans, doctors may recommend other investigations or treatments when symptoms persist. For example, long-standing digestive complaints may lead to a specialist assessment through gastroenterology evaluation or, when appropriate, endoscopy to examine the upper digestive tract or bowel more closely.

  • Occasional constipation
  • Temporary difficulty passing stool
  • Heartburn
  • Acid indigestion
  • Short-term sour stomach or dyspepsia

How it works in the body

How it works in the body — magnesium hydroxide

When taken for stomach acid symptoms, magnesium hydroxide reacts chemically with hydrochloric acid in the stomach. This lowers acidity and can reduce the burning or uncomfortable feeling associated with heartburn and indigestion. Unlike medicines that reduce acid production over time, it works on acid that is already present, so its role is symptom relief rather than long-term acid control.

When taken for constipation, magnesium hydroxide works in the intestines by drawing water into the bowel. This extra fluid helps soften stool and stimulates movement through the colon. Because this effect depends on fluid balance, hydration remains important unless a doctor has advised fluid restriction for another medical reason.

The same mechanism that makes magnesium hydroxide useful can also explain some side effects. Too much fluid in the bowel may lead to loose stools, urgency, or cramping. In addition, the magnesium in the medicine can build up in the body if kidney function is reduced, which is why some people need to avoid it or use it only under medical guidance.

Who should use caution

Magnesium hydroxide is not suitable for everyone. People with kidney disease need special caution because the kidneys help remove excess magnesium from the body. If kidney function is impaired, magnesium levels can rise and cause problems such as weakness, confusion, low blood pressure, or heart rhythm changes. This risk is higher with repeated use or high intake.

Older adults may also be more sensitive to dehydration, diarrhea, and electrolyte shifts, especially if they already take several medicines. Children, pregnant people, and those who are breastfeeding should use magnesium hydroxide only according to product guidance or a clinician’s advice. Even over-the-counter medicines can have different safety considerations in these groups.

Caution is also important for people with severe abdominal pain, bowel obstruction, rectal bleeding, sudden changes in bowel habits, or vomiting. In these situations, constipation should not be assumed to be simple. Persistent or unexplained symptoms may require medical assessment, including colonoscopy in selected cases when bowel symptoms suggest a need to examine the colon.

Side effects, interactions, and signs of overuse

Common side effects of magnesium hydroxide include diarrhea, stomach cramping, nausea, bloating, and an urgent need to use the bathroom. These effects are often mild and temporary, especially when the medicine is used occasionally and as directed. If symptoms become troublesome, the medicine should usually be stopped and a pharmacist or doctor consulted.

Overuse can lead to dehydration and changes in electrolyte balance. In people with reduced kidney function, too much magnesium can accumulate in the blood. This is uncommon in healthy adults using short courses appropriately, but the risk becomes more relevant with repeated dosing, combining several magnesium-containing products, or taking it despite kidney problems.

Magnesium hydroxide can also affect how other medicines are absorbed. It may reduce the absorption of some antibiotics, iron supplements, thyroid medicine, and certain other oral treatments if taken at the same time. A doctor or pharmacist can advise on spacing doses apart. Anyone who takes regular prescription medicine should check before starting it, even for a short time.

  • More common: diarrhea, cramping, nausea
  • Possible with overuse: dehydration, weakness, electrolyte imbalance
  • Higher-risk groups: people with kidney disease, frail older adults, and those on multiple medicines

Medical evaluation and diagnosis when symptoms persist

Magnesium hydroxide itself does not usually require laboratory testing before occasional use in otherwise healthy adults. The more important question is whether the symptom being treated is temporary and straightforward, or whether it may reflect an underlying condition. If constipation keeps coming back, or heartburn occurs frequently, doctors focus on diagnosing the cause rather than only relieving the symptom.

For constipation, a clinician may review diet, fluid intake, physical activity, stress, travel, and current medicines. Blood tests may be used in some cases to look for contributors such as thyroid problems, diabetes, or electrolyte disturbances. If bowel symptoms are new, severe, or associated with bleeding or weight loss, specialist review is often recommended.

For heartburn or indigestion, diagnosis may include a careful symptom history, review of food triggers, and sometimes testing for structural or inflammatory causes. Persistent reflux symptoms may overlap with gastritis, peptic ulcer disease, or other upper digestive problems. In some patients, a structured diagnostic assessment helps guide safe treatment choices rather than repeated self-medication.

Treatment choices beyond magnesium hydroxide

If magnesium hydroxide helps only sometimes, that may be reasonable for brief, occasional symptoms. But if a person needs it often, clinicians usually consider a broader plan. For constipation, treatment may include more dietary fiber, improved hydration, regular physical activity, review of constipating medicines, and sometimes a different type of laxative that better matches the patient’s age, health, and symptom pattern.

For frequent heartburn, doctors may advise lifestyle changes and may consider other medicines, such as acid-suppressing treatments, depending on the pattern of symptoms and medical history. The best approach depends on whether symptoms are occasional, meal-related, nighttime, or associated with reflux complications. Persistent upper digestive symptoms can overlap with gastritis or other conditions that should be confirmed rather than guessed.

Near the end of the care pathway, some patients benefit from multidisciplinary support, especially if symptoms are recurrent or complex. Acibadem International’s multidisciplinary specialists in JCI-accredited hospitals evaluate digestive complaints and provide treatment for international patients when further assessment is needed.

Self-care, prevention, and when to seek medical care

Many cases of occasional constipation and mild indigestion improve with everyday self-care. For bowel health, helpful steps include regular meals, adequate dietary fiber, movement during the day, and enough fluid intake unless medically restricted. For acid-related symptoms, eating smaller meals, avoiding lying down soon after eating, limiting known triggers, and maintaining a healthy weight may reduce discomfort.

People should avoid using magnesium hydroxide as a routine solution without understanding why symptoms are happening. Frequent need for a laxative may point to low fiber intake, medication side effects, or an underlying bowel disorder. Frequent antacid use may suggest chronic reflux or another upper digestive condition. Safe self-care includes reading product instructions carefully and asking a pharmacist or doctor when there is any uncertainty.

Medical care should be sought promptly if there is severe or persistent abdominal pain, vomiting, blood in the stool, black stools, chest pain, difficulty swallowing, unexplained weight loss, ongoing constipation, or heartburn that keeps returning. Medical advice is also important before use in kidney disease, in frail older adults, during pregnancy, or when a person takes multiple regular medicines.

Frequently asked questions

What is magnesium hydroxide used for?

Magnesium hydroxide is mainly used to relieve occasional constipation and symptoms caused by excess stomach acid, such as heartburn or indigestion. It is usually intended for short-term use rather than long-term management of ongoing digestive problems.

Is magnesium hydroxide the same as a magnesium supplement?

Not exactly. Although it contains magnesium, magnesium hydroxide is generally used as a medicine for constipation or acid relief, not as a routine nutritional supplement. A doctor may recommend a different magnesium formulation if supplementation is needed.

Can magnesium hydroxide cause diarrhea?

Yes. Because it works by drawing water into the intestines, diarrhea is one of its most common side effects. Some people may also have cramping or urgency, especially if they are sensitive to laxatives or use more than directed.

Who should avoid magnesium hydroxide?

People with kidney disease should be especially careful, because excess magnesium may build up in the body. It may also be unsuitable for people with bowel obstruction, severe abdominal pain, rectal bleeding, or unexplained digestive symptoms unless a doctor advises otherwise.

Can magnesium hydroxide interact with other medicines?

Yes. It can reduce the absorption of some medicines if taken at the same time, including certain antibiotics, iron supplements, and thyroid medication. Anyone taking regular prescriptions should ask a doctor or pharmacist about timing and safety.

Is it safe to use magnesium hydroxide every day?

Daily use is not usually the best long-term plan unless a doctor specifically recommends it. Frequent use may lead to side effects, hide an underlying condition, or create fluid and electrolyte problems in some people.

References

  • National Institute of Diabetes and Digestive and Kidney Diseases
  • MedlinePlus
  • National Health Service
  • Mayo Clinic
  • U.S. Food and Drug Administration

This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.

Add Acıbadem on Google

Add us as a Preferred Source to see more of our trusted health content across Google Search, AI Overviews and Discover.

Share this page
Was this content helpful?
Your feedback helps us improve.
Free Health Tools

Check your numbers in seconds

BMI, calories, due date, blood pressure and 30+ more clinical calculators — free, instant, doctor-reviewed ranges.

Open the calculators →
Yağmur Temel Sucu
Yağmur Temel Sucu, Nurse
Author
View profile →
Keep Reading

More from the Health Library

Specialists

Nutrition & Diet Specialists at Acibadem

We’re With You at Every Step

How can we help you today?

We value your privacy We use essential cookies to run this site and, with your consent, analytics cookies to understand how it is used and improve it. You can accept, reject, or choose what to allow. See our Cookie Policy.