The title compound, C15H11N3O, is basically planar except that the pyridine ring is slightly titled, the dihedral angle between the pyridyl and quinolyl rings being 3.55 (5) degrees. The crystal grows in two directions and the crystal packing is stabilized by pi-pi stacking interactions.