Three-component Biginelli reaction of ethyl 4-(2,4-dioxo-4-phenylbutanamido)benzoate, aromatic aldehyde and thiourea in acetic acid in the presence of sodium acetate led to the formation of ethyl 4-(6-aryl-5-benzoyl-4-hydroxy-2-thioxohexahydropyrimidine-4-carboxamido)benzoates. Structure of the obtained compounds was established by IR, H-1 NMR, C-13 spectroscopy methods.