The title compound, C20H15N3O6·C3H7NO, was synthesized by the reaction of methyl 2-cyano-3-(3-nitrophenyl)acrylate and 4-hydroxyquinolin-2-one in ethanol, catalysed by KF–alumina. X-ray analysis reveals that the pyran ring adopts a boat conformation.