Treatment of 1-(5-bromo-2-chloro-6-methylpyrimidin-4-yl)-1-methylhydrazine with dimethylthiocarbamoylchloride gave 7-chloro-N,N,1,5-tetramethyl-1H-pyrimido[4,5-e][1,3,4]thiadiazin-3-amine in basic acetonitrile. The latter compounds were reacted with secondary amines in boiling ethanol to afford the related 7-amino derivatives.