In the title compound, C22H17ClN2O5, the nearly planar four-membered β-lactam ring [maximum deviation of 0.016 (1) for the N atom] makes dihedral angles of 53.07 (9), 73.19 (9) and 6.61 (9)° with the chloro-, nitro- and methoxybenzene rings, respectively. The crystal structure is stabilized by C—H⋯O hydrogen bonds, a weak C—H⋯π interaction and a π–π stacking interaction [centroid–centroid distance = 3.6513 (8) Å] between the methoxybenzene rings of inversion-related molecules.