In the structure of the title nicotinonitrile derivative, C19H15N3O, the pyridine ring makes dihedral angles of 11.50 (7) and 43.36 (8)° with the 4-aminophenyl and phenyl rings, respectively, and the dihedral angle between the phenyl rings is 36.28°. In the crystal, molecules are linked by N—H⋯N hydrogen bonds into wave-like sheets parallel to (10-2). These sheets are stacked by π–π interactions between the 4-aminophenyl rings of adjacent sheets, with centroid–centroid distances of 3.7499 (9) Å. C—H⋯π interactions are also present.