In the title compound, C19H20N4OS, the 1,2,4-triazole ring forms dihedral angles of 58.64 (9) and 87.68 (9)° with the phenyl rings, which are inclined to one another by 43.30 (6)°. In the crystal, molecules are linked by N—H...O, N—H...S and C—H...S hydrogen bonds, forming chains propagating along the c-axis direction. Neighbouring chains are linked by three C—H...π interactions, forming layers parallel to the bc plane. Finally, the layers are linked by a fourth C—H...π interaction, forming a three-dimensional network.