In the title mol-ecule, C(9)H(7)N(7), the two triazole rings are twisted by an angle of 3.8 (5)°; the central triazole ring is twisted by 32.3 (6)° with respect to the pyridyl ring. The crystal packing consists of layers generated by inter-molecular N-H⋯N hydrogen bonds.