In the title compound, C(22)H(19)Cl(2)N(5)S, the thia-zole and pyrimidine rings are almost co-planar, making a dihedral angle of 6.48 (7)°. In the crystal, intermolecular N-H⋯N hydrogen bonds link pairs of molecules into centrosymmetric dimers..