# Magnesium hydroxide

Magnesium hydroxide is an inorganic compound with the chemical formula Mg(OH)$_2$. It occurs in nature as the mineral brucite. It is a white solid with low solubility in water (K$_{sp}$ = 5.61×10$^{−12}$). Magnesium hydroxide is a common component of antacids, such as milk of magnesia.

## Preparation

Treating the solution of different soluble magnesium salts with alkaline water induces the precipitation of the solid hydroxide Mg(OH)$_2$:
    Mg$^{2+}$ + 2 OH$^−$ → Mg(OH)$_2$
As Mg$^{2+}$ is the second most abundant cation present in seawater after Na$^+$ , it can be economically extracted directly from seawater by alkalinisation as described here above. On an industrial scale, Mg(OH)$_2$ is produced by treating seawater with lime (Ca(OH)$_2$). A volume of 600 m$^3$ (160,000 US gal) of seawater gives about 1 tonne (2,200 lb) of Mg(OH)$_2$. Ca(OH)$_2$ (K$_{sp}$ = 5.02×10$^{−6}$) is far more soluble than Mg(OH)$_2$ (K$_{sp}$ = 5.61×10$^{−12}$) and drastically increases the pH value of seawater from 8.2 to 12.5. The less soluble Mg(OH) $_2$ precipitates because of the common ion effect due to the OH$^−$ added by the dissolution of Ca(OH) $_2$:
    Mg$^{2+}$ + Ca(OH)$_2$ → Mg(OH)$_2$ + Ca$^{2+}$
For seawater brines, precipitating agents other than Ca(OH)$_2$ can be utilized, each with their own nuances:
* Use of Ca(OH)$_2$ can yield CaSO$_4$ or CaCO$_3$, which reduces the final purity of Mg(OH)$_2$.
* NH$_4$OH, can produce explosive nitrogen trichloride when the brine is used for chlorine production.
* NaOH as the precipitating agent has longer settling times and is difficult to filter.
It has been demonstrated that sodium hydroxide, NaOH, is the better precipitating agent compared to Ca(OH)$_2$ and NH$_4$OH due to higher recovery and purity rates, and the settling and filtration time can be improved at low temperatures and higher concentration of precipitates. Methods involving the use of precipitating agents are typically batch processes.
It is also possible to obtain Mg(OH)$_2$ from seawater using electrolysis chambers separated with a cation exchange membrane. This process is continuous, lower-cost, and produces oxygen gas, hydrogen gas, sulfuric acid (if Na$_2$SO$_4$ is used; NaCl can alternatively be used to yield HCl), and Mg(OH)$_2$ of 98% or higher purity. It is crucial to deaerate the seawater to mitigate co-precipitation of calcium precipitates.

## Uses
### Precursor to MgO

Most Mg(OH)$_2$ that is produced industrially, as well as the small amount that is mined, is converted to fused magnesia (MgO). Magnesia is valuable because it is both a poor electrical conductor and an excellent thermal conductor.

### Medical

Only a small amount of the magnesium from magnesium hydroxide is usually absorbed by the intestine (unless one is deficient in magnesium). However, magnesium is mainly excreted by the kidneys; so long-term, daily consumption of milk of magnesia by someone suffering from kidney failure could lead in theory to hypermagnesemia. Unabsorbed magnesium is excreted in feces; absorbed magnesium is rapidly excreted in urine.

#### Applications
##### Antacid

As an antacid, magnesium hydroxide is dosed at approximately 0.5–1.5 g in adults and works by simple neutralization, in which the hydroxide ions from the Mg(OH)$_2$ combine with acidic H$^+$ ions (or hydronium ions) produced in the form of hydrochloric acid by parietal cells in the stomach, to produce water.

##### Laxative

As a laxative, magnesium hydroxide is dosed at 5–10 grams (0.18–0.35 oz), and works in a number of ways. First, Mg$^{2+}$ is poorly absorbed from the intestinal tract, so it draws water from the surrounding tissue by osmosis. Not only does this increase in water content to soften the feces, it also increases the volume of feces in the intestine (intraluminal volume) which naturally stimulates intestinal motility. Furthermore, Mg$^{2+}$ ions cause the release of cholecystokinin (CCK), which results in intraluminal accumulation of water and electrolytes, and increased intestinal motility. Some sources claim that the hydroxide ions themselves do not play a significant role in the laxative effects of milk of magnesia, as alkaline solutions (i.e., solutions of hydroxide ions) are not strongly laxative, and non-alkaline Mg$^{2+}$ solutions, like MgSO$_4$, are equally strong laxatives, mole for mole.

#### History of milk of magnesia

On May 4, 1818, American inventor Koen Burrows received a patent (No. X2952) for magnesium hydroxide. In 1829, Sir James Murray used a "condensed solution of fluid magnesia" preparation of his own design to treat the Lord Lieutenant of Ireland, the Marquess of Anglesey, for stomach pain. This was so successful (advertised in Australia and approved by the Royal College of Surgeons in 1838) that he was appointed resident physician to Anglesey and two subsequent Lords Lieutenant, and knighted. His fluid magnesia product was patented two years after his death, in 1873.
The term milk of magnesia was first used by Charles Henry Phillips in 1872 for a suspension of magnesium hydroxide formulated at about 8% w/v. It was sold under the brand name Phillips' Milk of Magnesia for medicinal usage.
USPTO registrations show that the terms "Milk of Magnesia" and "Phillips' Milk of Magnesia" have both been assigned to Bayer since 1995. In the UK, the non-brand (generic) name of "Milk of Magnesia" and "Phillips' Milk of Magnesia" is "Cream of Magnesia" (Magnesium Hydroxide Mixture, BP).

### As food additive

It is added directly to human food, and is affirmed as generally recognized as safe by the FDA. It is known as E number E528.
Magnesium hydroxide is marketed for medical use as chewable tablets, as capsules, powder, and as liquid suspensions, sometimes flavored. These products are sold as antacids to neutralize stomach acid and relieve indigestion and heartburn. It also is a laxative to alleviate constipation. As a laxative, the osmotic force of the magnesia acts to draw fluids from the body. High doses can lead to diarrhea, and can deplete the body's supply of potassium, sometimes leading to muscle cramps.
Some magnesium hydroxide products sold for antacid use (such as Maalox) are formulated to minimize unwanted laxative effects through the inclusion of aluminum hydroxide, which inhibits the contractions of smooth muscle cells in the gastrointestinal tract, thereby counterbalancing the contractions induced by the osmotic effects of the magnesium hydroxide.

### Other niche uses

Magnesium hydroxide is also a component of antiperspirant.

#### Waste water treatment

Magnesium hydroxide powder is used industrially to neutralize acidic wastewaters. It is also a component of the Biorock method of building artificial reefs. The main advantage of Mg(OH) $_2$ over Ca(OH) $_2$, is to impose a lower pH better compatible with that of seawater and sea life: pH 10.5 for Mg(OH) $_2$ in place of pH 12.5 with Ca(OH) $_2$.

#### Fire retardant

Natural magnesium hydroxide (brucite) is used commercially as a fire retardant. Most industrially used magnesium hydroxide is produced synthetically. Like aluminum hydroxide, solid magnesium hydroxide has smoke suppressing and flame retardant properties. This property is attributable to the endothermic decomposition it undergoes at 332 °C (630 °F):
    Mg(OH)$_2$ → MgO + H$_2$O
The heat absorbed by the reaction retards the fire by delaying ignition of the associated substance. The water released dilutes combustible gases. Common uses of magnesium hydroxide as a flame retardant include additives to cable insulation, insulation plastics, roofing, and various flame retardant coatings.

## Mineralogy

Brucite, the mineral form of Mg(OH)$_2$ commonly found in nature also occurs in the 1:2:1 clay minerals amongst others, in chlorite, in which it occupies the interlayer position normally filled by monovalent and divalent cations such as Na$^+$, K$^+$, Mg$^{2+}$ and Ca$^{2+}$. As a consequence, chlorite interlayers are cemented by brucite and cannot swell nor shrink.
Brucite, in which some of the Mg$^{2+}$ cations have been substituted by Al$^{3+}$ cations, becomes positively charged and constitutes the main basis of layered double hydroxide (LDH). LDH minerals as hydrotalcite are powerful anion sorbents but are relatively rare in nature.
Brucite may also crystallize in cement and concrete in contact with seawater. Indeed, the Mg$^{2+}$ cation is the second-most-abundant cation in seawater, just behind Na$^+$ and before Ca$^{2+}$. Because brucite is a swelling mineral, it causes a local volumetric expansion responsible for tensile stress in concrete. This leads to the formation of cracks and fissures in concrete, accelerating its degradation in seawater.
For the same reason, dolomite cannot be used as construction aggregate for making concrete. The reaction of magnesium carbonate with the free alkali hydroxides present in the cement porewater also leads to the formation of expansive brucite.
    MgCO$_3$ + 2 NaOH → Mg(OH)$_2$ + Na$_2$CO$_3$
This reaction, one of the two main alkali–aggregate reaction (AAR) is also known as alkali–carbonate reaction.