The asymmetric unit of the title compound, C(21)H(23)N(5)OS(2), contains two independent chiral mol-ecules. The two phenyl rings of one mol-ecule form a dihedral angle of 51.95 (7)° and the distance between their centroids is 4.345 (1) Å. In the other mol-ecule, the phenyl rings form a dihedral angle of 58.79 (8)° with a ring centroid-centroid distance of 4.435 (2) Å. An intra-molecular O-H⋯N hydrogen bond occurs in each independent mol-ecule. The crystal packing is stabilized by and inter-molecular N-H⋯O and N-H⋯S hydrogen bonds and C-H⋯S inter-actions.