The title compound, C(16)H(16)N(4)O(2)S, crystallizes with two symmetry-independent half-mol-ecules in the asymmetric unit. All non-H atoms in each molecule lie in a crystallographic mirror plane. The mol-ecules form sheets in the ac plane, which then form stacks along the b axis. The sheets are connected via π-π stacking inter-actions [centroid-centroid distance between pyrazolato rings = 3.6949 (8) Å].