Mercury(II) fluoride has the molecular formula HgF<sub>2</sub> as a chemical compound of one atom of mercury with 2 atoms of fluorine.
Mercury(II) fluoride is most commonly produced by the reaction of mercury(II) oxide and hydrogen fluoride:
Mercury(II) fluoride can also be produced through the fluorination of mercury(II) chloride:
or of mercury(II) oxide:
with oxygen as byproduct.
Mercury(II) fluoride is a selective fluorination agent.