In this study, a novel ionic liquid immobilized on silica-coated cobalt-ferrite magnetic nanoparticles. This novel hybrid nanostructure ( CoFe2O4@SiO2@PAF-IL) was characterized by various microscopic and spectroscopic techniques including Fourier transformation infrared spectroscopy (FT–IR), X-ray powder diffraction (XRD), field emission scanning electron microscopy (SEM), the electron-dispersive X-ray spectroscopy (EDS), vibrating sample magnetometer (VSM), and thermogravimetric analysis (TGA/DTG). The catalytic activity of prepared nanomaterial was considered in the synthesis of the benzothiazole and benzimidazole derivatives. This method has several advantages such as good to excellent yields, short reaction times, solvent-free and environmentally-benign conditions, and simple work-up. Besides, nanocatalyst can be easily separated from the reaction mixture with the external magnetic field and reused several times without any loss of its catalytic activity.