In the title compound, C(23)H(23)N(5)S, the thia-zole ring and pyrimidine ring are almost coplanar, making a dihedral angle of 4.02 (9)°. in the crystal, weak inter-molecular N-H⋯N inter-actions link pairs of molecules into centrosymmetric dimers.