(E)-3-(4-Hydroxy-3-methoxybenzylidene)-4-(4-hydroxyphenyl)pyrrolidin-2-one

The title compound, C18H17NO4, was isolated from an ethanol extract of Ophiopogon japonicus. The dihedral angle between the 4-hydroxy-3-methoxyphenyl ring and the pyrrolidine ring is 17.4 (1)°. The 4-hydroxyphenyl ring makes a dihedral angle of 69.74 (6)° with the least-squares plane through the 4-hydroxy-3-methoxyphenyl ring and the pyrrolidine ring. The conformation of the pyrrolidine fragment is similar to a T-form. The crystal structure is stabilized by intermolecular N—H⋯O and O—H⋯O hydrogen bonds.