The title compound, C4H4N2S, was obtained by the reduction of 2-mercaptopyrazine (during its crystallization with 2-mercaptopyrazine and isonicotinic acid N-oxide in ethanol solution. It crystallizes in the monoclinic space group P21/m. In the crystal, the molecules are linked by N—H...N and C—H...S hydrogen bonds.