Magnesium nitrate refers to inorganic compounds with the formula Mg(NO<sub>3</sub>)<sub>2</sub>(H<sub>2</sub>O)<sub>x</sub>, where x = 6, 2, and 0. All are white solids.
The magnesium nitrate used in commerce is made by the reaction of nitric acid and various magnesium salts.
[[File:80445-ICSD.png|thumb|left|140 px|Structure of [Mg(H<sub>2</sub>O)<sub>6</sub>]<sup>2+</sup> in the dinitrate salt.]]
Use
The principal use is as a dehydrating agent in the preparation of concentrated nitric acid.
Its fertilizer grade has 10.5% nitrogen and 9.4% magnesium, so it is listed as 10.5-0-0 + 9.4% Mg. Fertilizer blends containing magnesium nitrate also have ammonium nitrate, calcium nitrate, potassium nitrate and micronutrients in most cases; these blends are used in the greenhouse and hydroponics trade.
Reactions
Magnesium nitrate reacts with alkali metal hydroxide to form the corresponding nitrate:
: Mg(NO<sub>3</sub>)<sub>2</sub> + 2 NaOH → Mg(OH)<sub>2</sub> + 2 NaNO<sub>3</sub>.
Since magnesium nitrate has a high affinity for water, heating the hexahydrate does not result in the dehydration of the salt, but rather its decomposition into magnesium oxide, oxygen, and nitrogen oxides:
:2 Mg(NO<sub>3</sub>)<sub>2</sub> → 2 MgO + 4 NO<sub>2</sub> + O<sub>2</sub>.
The absorption of these nitrogen oxides in water is one possible route to synthesize nitric acid. Although inefficient, this method does not require the use of any strong acid.
It is also occasionally used as a desiccant.
