The title compound, C8H4FNO2, has a single, almost planar, molecule in the asymmetric unit, with the non-H atoms having a mean deviation from planarity of 0.042 Å. Intermolecular N—H...O hydrogen bonds result in infinite chains along [100]. The molecules are further linked through weak C—H...O and C—H...F interactions.