The molecule of the title compound, C8H4ClNO2, is planar, with the non-H atoms possessing an r.m.s. deviation from planarity of 0.062 Å. In the crystal, molecules are linked through N—H...O hydrogen bonds, forming chains along [010]. The chains are further linked through C—H...O hydrogen bonds, forming layers parallel to (001).