A green chemistry protocol using ethylene glycol and diethylene glycol is developed for the synthesis of dihydropyrimidinones.