The benzopyran ring of the title compound, C16H11ClN2O2, is planar [maximum deviation = 0.079 (2) Å] and is almost perpendicular to the chlorophenyl ring [dihedral angle = 86.85 (6)°]. In the crystal, N—H...O, O—H...N, C—H...O and C—H...Cl hydrogen bonds form inter- and intramolecular interactions. The DFT/B3LYP/6-311G(d,p) method was used to determine the HOMO–LUMO energy levels. The molecular electrostatic potential surfaces were investigated by Hirshfeld surface analysis and two-dimensional fingerprint plots were used to analyse the intermolecular interactions in the molecule.