The reaction between dimedone, an aromatic aldehyde and urea catalysed by ZnO nanoparticles (ZnO NPs) in refluxing ethanol as a solvent provided a simple and efficient one-pot route for the synthesis of octahydroquinazolinone derivatives in excellent yields.