Magnesium iodide is an inorganic compound with the chemical formula MgI2.
These salts are typical ionic halides, being highly soluble in water.
Magnesium iodide has few commercial uses, but can be used to prepare compounds for organic synthesis.
[4] Another method to prepare MgI2 is mixing powdered elemental iodine and magnesium metal.
Usage of magnesium iodide in the Baylis-Hillman reaction tends to give (Z)-vinyl compounds.