# Hydrogen fluoride

Hydrogen fluoride (fluorane) is an inorganic compound with chemical formula HF. It is a very poisonous, colorless gas or liquid that dissolves in water to yield hydrofluoric acid. It is the principal industrial source of fluorine, often in the form of hydrofluoric acid, and is an important feedstock in the preparation of many important compounds including pharmaceuticals and polymers such as polytetrafluoroethylene (PTFE). HF is also widely used in the petrochemical industry as a component of superacids. Due to strong and extensive hydrogen bonding, it boils near room temperature, a much higher temperature than other hydrogen halides.
Hydrogen fluoride is an extremely dangerous gas, forming corrosive and penetrating hydrofluoric acid upon contact with moisture. The gas can also cause blindness by rapid destruction of the corneas.

## History

In 1771 Carl Wilhelm Scheele prepared the aqueous solution, hydrofluoric acid in large quantities, although hydrofluoric acid had been known in the glass industry before then. French chemist Edmond Frémy (1814–1894) is credited with discovering hydrogen fluoride (HF) while trying to isolate fluorine.

## Structure and reactions

HF is diatomic in the gas-phase. As a liquid, HF forms relatively strong hydrogen bonds, hence its relatively high boiling point. Solid HF consists of zig-zag chains of HF molecules. The HF molecules, with a short covalent H–F bond of 95 pm length, are linked to neighboring molecules by intermolecular H–F distances of 155 pm. Liquid HF also consists of chains of HF molecules, but the chains are shorter, consisting on average of only five or six molecules.

### Comparison with other hydrogen halides

Hydrogen fluoride does not boil until 20 °C in contrast to the heavier hydrogen halides, which boil between −85 °C (−120 °F) and −35 °C (−30 °F). This hydrogen bonding between HF molecules gives rise to high viscosity in the liquid phase and lower than expected pressure in the gas phase.

### Aqueous solutions

HF is miscible with water (dissolves in any proportion). In contrast, the other hydrogen halides exhibit limiting solubilities in water. Hydrogen fluoride forms a monohydrate HF$^.$H$_2$O with melting point −40 °C (−40 °F), which is 44 °C (79 °F) above the melting point of pure HF.
HF and H$_2$O similarities :
| Boiling points of the hydrogen halides (blue) and hydrogen chalcogenides (red): HF and H$_2$O break trends. | Freezing point of HF/ H$_2$O mixtures: arrows indicate compounds in the solid state. |
Aqueous solutions of HF are called hydrofluoric acid. When dilute, hydrofluoric acid behaves like a weak acid, unlike the other hydrohalic acids, due to the formation of hydrogen-bonded ion pairs [H$_3$O$^+$·F$^−$]. However concentrated solutions are strong acids, because bifluoride anions are predominant, instead of ion pairs. In liquid anhydrous HF, self-ionization occurs:
    3 HF ⇌ H$_2$F$^+$ + HF−2
which forms an extremely acidic liquid (H$_0$ = −15.1).

### Reactions with Lewis acids

Like water, HF can act as a weak base, reacting with Lewis acids to give superacids. A Hammett acidity function (H$_0$) of −21 is obtained with antimony pentafluoride (SbF$_5$), forming fluoroantimonic acid.

## Production

Hydrogen fluoride is typically produced by the reaction between sulfuric acid and pure grades of the mineral fluorite:
    CaF$_2$ + H$_2$SO$_4$ → 2 HF + CaSO$_4$
About 20% of manufactured HF is a byproduct of fertilizer production, which generates hexafluorosilicic acid. This acid can be degraded to release HF thermally and by hydrolysis:
    H$_2$SiF$_6$ → 2 HF + SiF$_4$
    SiF$_4$ + 2 H$_2$O → 4 HF + SiO$_2$

## Use

In general, anhydrous hydrogen fluoride is more common industrially than its aqueous solution, hydrofluoric acid. Its main uses, on a tonnage basis, are as a precursor to organofluorine compounds and a precursor to cryolite for the electrolysis of aluminium.

### Precursor to organofluorine compounds

HF reacts with chlorocarbons to give fluorocarbons. An important application of this reaction is the production of tetrafluoroethylene (TFE), precursor to Teflon. Chloroform is fluorinated by HF to produce chlorodifluoromethane (R-22):
    CHCl$_3$ + 2 HF → CHClF$_2$ + 2 HCl
Pyrolysis of chlorodifluoromethane (at 550-750 °C) yields TFE.
HF is a reactive solvent in the electrochemical fluorination of organic compounds. In this approach, HF is oxidized in the presence of a hydrocarbon and the fluorine replaces C–H bonds with C–F bonds. Perfluorinated carboxylic acids and sulfonic acids are produced in this way.
1,1-Difluoroethane is produced by adding HF to acetylene using mercury as a catalyst.
    HC≡CH + 2 HF → CH$_3$CHF$_2$
The intermediate in this process is vinyl fluoride or fluoroethylene, the monomeric precursor to polyvinyl fluoride.

### Precursor to metal fluorides and fluorine

The electrowinning of aluminium relies on the electrolysis of aluminium fluoride in molten cryolite. Several kilograms of HF are consumed per ton of Al produced. Other metal fluorides are produced using HF, including uranium tetrafluoride.
HF is the precursor to elemental fluorine, F$_2$, by electrolysis of a solution of HF and potassium bifluoride. The potassium bifluoride is needed because anhydrous HF does not conduct electricity. Several thousand tons of F$_2$ are produced annually.

### Catalyst

HF serves as a catalyst in alkylation processes in refineries. It is used in the majority of the installed linear alkyl benzene production facilities in the world. The process involves dehydrogenation of n-paraffins to olefins, and subsequent reaction with benzene using HF as catalyst. For example, in oil refineries "alkylate", a component of high-octane petrol (gasoline), is generated in alkylation units, which combine C$_3$ and C$_4$ olefins and iso-butane.

### Solvent

Hydrogen fluoride is an excellent solvent. Reflecting the ability of HF to participate in hydrogen bonding, even proteins and carbohydrates dissolve in HF and can be recovered from it. In contrast, most non-fluoride inorganic chemicals react with HF rather than dissolving.

## Health effects

Hydrogen fluoride is highly corrosive and a powerful contact poison. Exposure requires immediate medical attention. It can cause blindness by rapid destruction of the corneas. Breathing in hydrogen fluoride at high levels or in combination with skin contact can cause death from an irregular heartbeat or from pulmonary edema (fluid buildup in the lungs).