The reaction between magnesium chloride MgCl and sodium hydroxide NaOH is a double displacement reaction, also known as a metathesis reaction. In this reaction, the cations and anions of the two reactants switch places, forming two new products.The balanced chemical equation for the reaction is:MgCl aq + 2 NaOH aq Mg OH s + 2 NaCl aq The products formed are magnesium hydroxide Mg OH and sodium chloride NaCl . Magnesium hydroxide is a solid precipitate, while sodium chloride remains dissolved in the solution.