A useful and green synthesis of 3,4-dihydropyrimidin-2(1H)-ones/thiones derivatives were achieved by one-pot cyclocondensation between substituted aryl aldehydes, diketone/ketoester, and urea/thiourea using magnetic CoN-iFe 2 O 4 @Silica-SO 3 H nanoparticles under solvent-free condition. The choice of this approach showed essential advantages such as short reaction time, simple work-up procedure, high activity of the catalyst, high yield of the reaction products, the magnetic properties of the catalyst, and environmentally amiable conditions. In addition, the catalyst recovered and reused four times without notable loss of its activity. The magnetic CoNiFe 2 O 4 @Silica-SO 3 H nanoparticles were described by Fourier-transform infrared spectroscopy (FT-IR), field emission scanning electron microscope, energy dispersive X-ray spectroscopy, X-ray diffraction spectroscopy, and vibrating sample magnetometer. The products were obtained with excellent yields (88-98%). The formation of the products was confirmed and identified with their physical properties (melting points), the FT-IR, 1 H NMR, 13 C NMR, mass spectrometry, and the elemental analysis.