Reactions of 6-aryl-5-cyano-4-oxo-2-thioxo-1,2,3,4-tetrahydropyrimidines with formaldehyde and primary amines gave earlier unknown 3,4-dihydro-2H,6H-pyrimido[2,1-b]-[1,3,5]thiadiazine derivatives in 58–94% yields. In boiling AcOH, these pyrimidothiadiazines underwent the retro-Mannich reaction leading to the starting pyrimidine-2-thiones. The structure of 3-(4-ethoxyphenyl)-6-oxo-8-phenyl-3,4-dihydro-2H,6H-pyrimido[2,1-b][1,3,5]thiadiazine-7-carbonitrile was studied by X-ray diffraction analysis.