In the molecule of the title compound, C37H33ClN4O6, the four-membered β-lactam ring is essentially planar and is oriented at dihedral angles of 30.0 (1), 76.3 (1) and 30.9 (1)° with respect to the methoxyphenyl ring, the phenyl ring and the indole unit, respectively. The pyrrolidine ring adopts a twist conformation. Intramolecular C—H⋯Cl and C—H⋯O hydrogen bonds result in the formation of two five- and one six-membered rings. In the crystal structure, intermolecular C—H⋯O and N—H⋯O hydrogen bonds link the molecules. A weak π⋯π interaction between the pyrrole rings further stabilizes the structure, with a centroid–centroid distance of 3.806 (2) Å.