In the title compound, C13H9ClN2O5, the dihedral angle between the planes of the benzene and pyridine rings is 55.30 (13)°. The nitro group is tilted by 38.21 (10)° with respect to the mean plane of the pyridine ring. In the crystal, molecules are linked by O—H...O and C—H...O hydrogen bonds, forming a three-dimensional framework. The crystal packing is further stabilized by π–π stacking interactions [intercentroid distance = 3.5877 (17) Å].