The title compound, C(16)H(17)N(5)S, is in the thione form and crystallizes with two independent molecules in the asymmetric unit. In both molecules, the pentamethyleneimine five-membered ring adopts an envelope conformation, and in one of the molecules this ring shows positional disorder. The thione S and hydrazine N atoms are in the Z configuration with respect to the C-N bond.