The non-H atoms of the title compound, C(10)H(8)N(4)OS, lie approximately in a common plane (r.m.s. deviation = 0.058 Å). In the crystal, two mol-ecules are linked across a center of inversion by a pair of N-H⋯N hydrogen bonds, forming a a dimer.