What Is Magnesium Hydroxide? Chemistry, Uses, and Antacid Properties

Magnesium hydroxide is an inorganic chemical compound best known for its use in antacids and laxatives. With the chemical formula Mg(OH)₂, it helps relieve heartburn and acid indigestion by neutralizing excess stomach acid. When taken in appropriate doses, it can also relieve occasional constipation by drawing water into the intestines and promoting bowel movements.

Beyond its medicinal applications, magnesium hydroxide is used in wastewater treatment, industrial manufacturing, and fire-resistant materials. Its usefulness comes from a combination of chemical properties, including its basic nature, low solubility in water, and ability to react with acids.

Understanding magnesium hydroxide requires looking at its molecular structure, how it behaves in water, and how those properties translate into practical applications.

What is magnesium hydroxide?

Magnesium hydroxide is a white, inorganic solid composed of magnesium, oxygen, and hydrogen. Each formula unit contains one magnesium ion, Mg²⁺, and two hydroxide ions, OH⁻. The positive charge of the magnesium ion balances the two negative charges of the hydroxide ions, producing an electrically neutral compound.

The substance occurs naturally as the mineral brucite, although most pharmaceutical products use manufactured magnesium hydroxide prepared under controlled conditions. It is also commonly sold as a fine powder or as a suspension in water.

Magnesium hydroxide is classified as a base because its hydroxide ions can react with acids. In water, however, it dissolves only sparingly. This limited solubility distinguishes it from highly soluble bases, such as sodium hydroxide, which readily dissolve to form strongly alkaline solutions.

The compound is widely recognized by its medicinal association with milk of magnesia, a suspension of magnesium hydroxide in water. Despite its milky appearance, the product contains no dairy ingredients. Its name comes from the white, opaque appearance of the suspended solid.

The chemistry and molecular structure of magnesium hydroxide

The chemical formula Mg(OH)₂ describes the simplest ratio of the compound’s constituent ions. Magnesium typically forms a 2+ ion by losing two electrons, while each hydroxide ion carries a 1− charge. Electrostatic attraction between these oppositely charged ions holds the solid together in an ionic crystal structure.

In crystalline magnesium hydroxide, magnesium ions are surrounded by hydroxide ions in an ordered arrangement. This structure contributes to the compound’s stability as a solid and helps explain why it does not dissolve readily in water.

Magnesium hydroxide is not a molecular substance made up of separate, discrete Mg(OH)₂ molecules in the solid state. Instead, its formula represents the repeating ionic proportions within the crystal lattice.

When magnesium hydroxide comes into contact with water, a small fraction dissolves and separates into magnesium and hydroxide ions:

Mg(OH)₂(s) ⇌ Mg²⁺(aq) + 2OH⁻(aq)

The symbol ⇌ indicates that the process is reversible. As some solid dissolves, dissolved ions can also recombine and form solid magnesium hydroxide. At equilibrium, the rates of dissolution and precipitation are equal.

The concentration of dissolved ions remains limited under ordinary conditions because magnesium hydroxide has low solubility. Nevertheless, the hydroxide ions released into solution can react with acids, giving the compound its important neutralizing properties.

Physical and chemical properties

Magnesium hydroxide is a white, odorless solid that is practically insoluble in water. Its appearance and behavior depend partly on whether it is present as a dry powder, a crystalline solid, or a suspension.

A suspension contains fine solid particles dispersed throughout a liquid rather than fully dissolved in it. Milk of magnesia is an example: much of the magnesium hydroxide remains as suspended particles, so the liquid must generally be shaken before use to distribute the material evenly.

Although magnesium hydroxide has low water solubility, it is chemically reactive toward acids. When an acid is added, hydrogen ions react with hydroxide ions to form water. As dissolved hydroxide ions are consumed, more solid magnesium hydroxide can dissolve, allowing the neutralization process to continue.

The compound can also decompose when heated strongly, producing magnesium oxide and water vapor:

Mg(OH)₂(s) → MgO(s) + H₂O(g)

This thermal decomposition is important in industrial applications. The released water absorbs heat, while the resulting magnesium oxide contributes to the formation of a heat-resistant residue.

Magnesium hydroxide is generally stable under ordinary storage conditions when protected from contamination. Its low solubility and relatively straightforward chemistry make it useful in applications that require controlled alkalinity or gradual neutralization.

How magnesium hydroxide neutralizes stomach acid

The stomach produces hydrochloric acid to help digest food, activate digestive enzymes, and reduce the survival of many ingested microorganisms. This acidic environment is normal and necessary, but acid that enters the esophagus or irritates sensitive tissues can contribute to heartburn and indigestion.

Magnesium hydroxide acts as an antacid by reacting with hydrochloric acid. The overall reaction is:

Mg(OH)₂ + 2HCl → MgCl₂ + 2H₂O

In this reaction, magnesium hydroxide and hydrochloric acid form magnesium chloride and water. The hydroxide ions consume hydrogen ions from the acid, reducing the acidity of the stomach contents.

The reaction illustrates why magnesium hydroxide is effective even though it dissolves only slightly in water. As dissolved hydroxide ions react with stomach acid, additional magnesium hydroxide can dissolve and supply more ions. This process allows the solid to neutralize acid without requiring the entire dose to dissolve in advance.

An antacid does not necessarily stop the stomach from producing acid. Instead, it neutralizes some of the acid already present, raising the pH of the stomach contents. The pH scale measures acidity, with lower values indicating greater acidity and higher values indicating lower acidity.

The resulting relief is generally temporary because the stomach continues to produce acid, and food and digestive secretions continually change the stomach’s contents. Magnesium hydroxide may relieve symptoms associated with excess acidity, but it does not address every cause of heartburn, including the movement of stomach contents into the esophagus due to gastroesophageal reflux.

Why magnesium hydroxide is used as an antacid

Magnesium hydroxide has several characteristics that make it suitable for antacid products. It neutralizes hydrochloric acid through a direct chemical reaction, has a relatively high acid-neutralizing capacity per unit of mass, and can be formulated as a liquid suspension that is easy to administer.

Because each formula unit contains two hydroxide ions, one mole of magnesium hydroxide can theoretically neutralize two moles of hydrochloric acid. This relationship follows directly from the balanced chemical equation.

Its low solubility also affects how it behaves in the stomach. Rather than existing entirely as dissolved ions, a substantial portion of a dose can remain as solid material until acid is available to react with it.

Magnesium hydroxide is often included in products intended to relieve occasional heartburn, sour stomach, and acid indigestion. Its effects depend on the dose, the amount of acid present, the formulation, and the individual’s digestive conditions.

However, antacid use has limitations. Magnesium hydroxide can interfere with the absorption of certain medications, and it may not be appropriate for people with impaired kidney function. Persistent or severe heartburn, difficulty swallowing, unexplained weight loss, or symptoms accompanied by chest pain require appropriate medical evaluation rather than repeated reliance on antacids.

How magnesium hydroxide works as a laxative

Magnesium hydroxide also acts as an osmotic laxative. Unlike its antacid action, which depends on neutralizing acid, its laxative effect involves the movement of water into the intestinal contents.

Osmosis is the movement of water across a selectively permeable membrane in response to differences in the concentration of dissolved substances. Magnesium ions and other dissolved particles can increase the osmotic concentration of intestinal contents, helping retain water within the bowel.

The additional water softens stool and increases its volume. This can make bowel movements easier to pass and may stimulate intestinal movement.

The laxative effect is not simply a result of magnesium hydroxide irritating the intestines. Instead, it primarily reflects changes in water retention within the digestive tract. The precise response depends on the dose, intestinal conditions, and the individual’s health.

Magnesium hydroxide is commonly used for occasional constipation, but the amount used for laxative purposes may differ from the amount used for antacid relief. Taking more than directed can cause diarrhea, abdominal cramping, dehydration, and disturbances in electrolyte balance.

Frequent or prolonged use should not substitute for evaluating persistent constipation. Changes in bowel habits can have many causes, including diet, medications, dehydration, and underlying medical conditions.

Magnesium hydroxide compared with other antacids

Magnesium hydroxide is one of several compounds used to neutralize stomach acid. Other common antacid ingredients include calcium carbonate, aluminum hydroxide, and sodium bicarbonate. Although these substances share the ability to react with acids, they differ in solubility, side effects, and effects on bowel function.

Calcium carbonate neutralizes acid and supplies calcium. It can cause constipation in some people, particularly when used in substantial amounts. Magnesium hydroxide, by contrast, tends to have a laxative effect because of its influence on water retention in the intestines.

Aluminum hydroxide also neutralizes stomach acid but can cause constipation. Combining magnesium and aluminum hydroxides in a single product can help balance their opposing effects on bowel function, although the result varies with the formulation and dose.

Sodium bicarbonate is a more water-soluble base that reacts rapidly with hydrochloric acid. This reaction produces carbon dioxide, which can contribute to belching and abdominal discomfort. Sodium-containing products may also be unsuitable for some people who need to limit sodium intake.

Magnesium hydroxide does not produce carbon dioxide as part of its direct neutralization reaction with hydrochloric acid. Its low solubility and dual antacid and laxative actions make it distinct from these alternatives.

No single antacid is best for everyone. The most suitable choice depends on the symptoms, frequency of use, other medications, kidney function, and any relevant dietary or medical restrictions.

Medical uses and safety considerations

Magnesium hydroxide is available in various over-the-counter formulations, including liquids, suspensions, and chewable products. The labeled directions differ according to the product’s concentration, intended use, and age group, so dosing instructions should be followed carefully.

For antacid use, taking more than the recommended amount does not guarantee greater or longer-lasting relief. For laxative use, excessive amounts can produce substantial fluid loss and electrolyte disturbances. Symptoms such as persistent diarrhea, marked weakness, unusual drowsiness, or confusion warrant medical attention, particularly after excessive intake.

Kidneys play a major role in regulating magnesium levels by removing excess magnesium from the blood. People with impaired kidney function may not eliminate magnesium efficiently, increasing the risk of hypermagnesemia, a condition in which the blood contains an abnormally high magnesium concentration. Severe cases can affect blood pressure, reflexes, breathing, and heart function.

Magnesium hydroxide can also affect the absorption of certain oral medications by binding to them, changing gastrointestinal conditions, or altering how quickly they pass through the digestive tract. The nature and significance of these interactions vary by medication. A pharmacist or clinician can advise whether doses need to be separated or an alternative treatment is preferable.

Pregnant or breastfeeding individuals, young children, older adults with significant medical conditions, and people taking multiple medications should use magnesium-containing products according to appropriate professional guidance. Products intended for adults should not automatically be used for children.

Occasional symptoms may respond well to short-term treatment, but recurring heartburn or constipation deserves attention to the underlying cause. Magnesium hydroxide can manage symptoms without necessarily correcting the condition responsible for them.

Industrial and environmental applications

The chemical properties that make magnesium hydroxide useful in medicine also support several industrial applications. Its ability to neutralize acids makes it valuable in wastewater treatment, where it can help adjust pH and reduce the acidity of industrial effluents.

As magnesium hydroxide dissolves, it supplies hydroxide ions that react with acids. Increasing the pH can also cause certain dissolved metal ions to form poorly soluble hydroxides, allowing them to be separated from water as solids. The effectiveness of this process depends on the metals present, the target pH, and the composition of the wastewater.

Magnesium hydroxide is also used as a flame retardant in certain plastics, rubber products, cables, and construction materials. When heated, it decomposes into magnesium oxide and water. The decomposition absorbs heat, helping cool the surrounding material, while the released water vapor can dilute combustible gases near the heated surface. The remaining magnesium oxide can contribute to a protective layer.

These effects can help delay ignition or slow the spread of flames, although performance depends on the amount of magnesium hydroxide incorporated, the material in which it is dispersed, and the conditions of exposure.

In industrial processing, magnesium hydroxide can serve as a neutralizing agent and a source of magnesium compounds. Its suitability depends on factors such as purity, particle size, reaction conditions, and the desired properties of the final product.

These applications demonstrate that magnesium hydroxide is useful not because it is highly soluble or unusually reactive under all conditions, but because its reactions can be controlled and its behavior is predictable across a range of environments.

Magnesium hydroxide and its role in everyday chemistry

Magnesium hydroxide illustrates how a single chemical compound can perform different functions through related but distinct mechanisms. Its reaction with acids explains its role as an antacid, while its influence on water retention in the intestines explains its use as a laxative. Its thermal decomposition and alkaline properties support additional applications in fire-resistant materials and water treatment.

The central chemistry is straightforward: magnesium hydroxide is an ionic base with low solubility in water. It releases hydroxide ions into solution, neutralizes acids, and reacts differently depending on the surrounding conditions.

Its benefits nevertheless depend on appropriate use. Dose, formulation, kidney function, other medications, and the reason for treatment all influence whether it is a suitable choice. Understanding both its chemical properties and its physiological effects explains why magnesium hydroxide remains a useful ingredient in medicine and an important material in industrial chemistry.

Looking For Something Else?