A robust synthesis for magnetic CoFe2O4 nanoparticles via hydrothermal technique was investigated. The prepared magnetic nanoparticles were characterized by powder x-ray, SEM, TEM, HR-TEM, EDX, TGA, IR analysis and and vibrating sample magnetometry. Based on the obtained data, the prepared powder composed of ultrafine particles in nanometer size range with high homogeneous spherical shape and elemental composition. Moreover, the prepared magnetic CoFe2O4 nanoparticles has been used as an efficient catalyzed for green synthesis of tetrahydropyridines and pyrrole derivatives in excellent yields, easy work-up and purification of products by non-chromatographic methods. The catalysts can be recovered for the subsequent reactions and reused without any appreciable loss.