Cerium(III) nitrate hexahydrate efficiently catalyzes the three-component Biginelli reaction under solvent-free conditions of an aldehyde, a beta-keto ester or beta-diketone and urea or thiourea to afford the corresponding 3,4-dihydropyrimidin-2(1H)-ones or -thiones in excellent yields.