In the title pyrimidine derivative, C12H16N2OS, the tetra-hydro-pyrimidine ring adopts an envelope conformation with the C atom of the methyl-ene -CH2- group as the flap. In the crystal, N-H⋯O and N-H⋯S hydrogen bonds connect mol-ecules into undulating sheets perpendicular to the a axis.