The title compound, C12H9NO2, was prepared by an Aldol reaction of furfuraldehyde with 2,3-dihydro-1H-pyrrolizin-1-one. The molecule is almost planar, with an r.m.s. deviation of 0.045 Å, excluding the methylene H atoms. In the crystal structure, molecules are linked via weak intermolecular C—H⋯O hydrogen bonding and aromatic π–π stacking [centroid–centroid distance = 3.6151 (9) Å].