The non-H atoms of the title molecule, C19H16N2O2, are almost coplanar (r.m.s. deviation = 0.019 Å), apart from the phenyl group, which is disordered with two components of almost equal occupancy: the dihedral angle between them is 78.9 (3)°. In the crystal, weak C—H...N hydrogen bonds link the molecules into [001] chains and aromatic π–π stacking interactions [shortest centroid–centroid separation = 3.747 (2) Å] form columns parallel to the c-axis direction.