The title compound, C8H4ClNO2, has two planar molecules in the asymmetric unit, with the non-H atoms showing a mean deviation from planarity of 0.015 and 0.022 Å, respectively. In the crystal, the molecules are linked through N—H...O hydrogen bonds to form infinite chains along [010]. They are further connected through C—H...Cl close contacts with a donor–acceptor distance of 3.682 (5) Å. No π–π interactions are observed in the structure.