A series of 4-aryl-2-cyanoimino-3,4-dihydro-1H-pyrimidines was obtained as a result of a multicomponent Biginelli reaction using 1,3-dicarbonyl compounds, aromatic aldehydes, and cyanamide. Alkylation of the obtained compounds with benzyl chloride takes place at the two nitrogen atoms of the tetrahydropyrimidine ring, while oxidation with manganese dioxide leads to the corresponding 1-(pyrimidin-2-yl)carbamides or pyrimidine-2-amines, depending on the conditions.