Mercury(I) fluoride or mercurous fluoride is the chemical compound composed of mercury and fluorine with the formula Hg<sub>2</sub>F<sub>2</sub>. It consists of small yellow cubic crystals, which turn black when exposed to light.
Mercury(I) fluoride is prepared by the reaction of mercury(I) carbonate with hydrofluoric acid:
When added to water, mercury(I) fluoride hydrolyzes to elemental liquid mercury, mercury(II) oxide, and hydrofluoric acid:
It can be used in the Swarts reaction to convert alkyl halides into alkyl fluorides:
In common with other Hg(I) (mercurous) compounds which contain linear X-Hg-Hg-X units, Hg<sub>2</sub>F<sub>2</sub> contains linear FHg<sub>2</sub>F units with an Hg-Hg bond length of 251 pm (Hg-Hg in the metal is 300 pm) and an Hg-F bond length of 214 pm. The overall coordination of each Hg atom is a distorted octahedron; in addition to the bonded F and other Hg of the molecule, there are four other F atoms at 272 pm. The compound is often formulated as .