Context. The hydrogen fluoride (HF) molecule is seen in absorption in the interstellar medium (ISM) along many lines of sight. Surprisingly, it is observed in emission toward the Orion Bar, which is an interface between the ionized region around the Orion Trapezium stars and the Orion molecular cloud. Aims. We aim to understand the origin of HF emission in the Orion Bar by comparing its spatial distribution with other tracers. We examine three mechanisms to explain the HF emission: thermal excitation, radiative dust pumping, and chemical pumping. Methods. We used a Herschel/HIFI strip map of the HF J = 1 -> 0 line, covering 0.5' by 1.5' that is oriented perpendicular to the Orion Bar. We used the RADEX non-local thermodynamic equilibrium (n...