In the title molecule, C(19)H(15)N(5)0, the dihedral angle between the phenyl and the triazole rings is 59.30(7)degrees. The triazole ring forms dihedral angles of 47.90(8) and 26.91(8)degrees with the two pyridyl rings. In the crystal, the molecules exist as centrosymmetrically C-H...N intermolecular hydrogen-bended dimers. The glide-related molecules translated a unit along the b axis are linked by weak C-H...N hydrogen bonds to form an infinite chain along the c axis which is further stabilized by C-H...pi interactions.