In the title compound, C22H24ClN3O4, intramolecular C—HO and C—HN hydrogen bonds form S(9) and S(7) ring motifs, respectively. The 1,4-dihydropyridine ring adopts a flattened boat conformation. The benzene ring makes a dihedral angle of 33.36 (6)° with the pyrazole ring. In the crystal, pairs of N—HN hydrogen bonds link the molecules into inversion dimers. The dimers are stacked in column along the a axis through N—HO and C—HN hydrogen bonds. The crystal packing also features C—Hπ interactions involving the pyrazole ring.