Mercury(I) iodide is a chemical compound of mercury and iodine. The chemical formula is Hg2I2. It is photosensitive and decomposes easily to mercury and HgI2.