In the title mol-ecule, C(7)H(7)N(5)S, the pyridyl and triazole rings form a dihedral angle of 20.07 (6)°. Inter-molecular N-H⋯N hydrogen bonds link the mol-ecules into chains extended in the direction [10]. Further stability is provided by π⋯π stacking inter-actions, indicated by short distances between the centroids of triazole rings [3.480 (5) Å] and pyridyl rings [3.574 (5) Å] of neighbouring mol-ecules.