Monodisperse cobalt ferrite (CoFe2O4) nanoparticles (NPs) were synthesized by thermal decomposition of metal precursors in the presence of surfactants and then assembled on mesoporous graphitic carbon nitride (mpg-C3N4) via sonication of two components in ethanol solution. The yielded nanocomposite, namely CoFe2O4/mpg-C3N4, were characterized by using many advanced analytical techniques (TEM, HR-SEM, EDX, XRD, BET, PPMS-VSM, UV-vis DRS and ICP-MS). The magnetic properties of the CoFe2O4/mpg-C3N4 nanocomposite were studied by using M-H and M-T loops and the magnetic saturation and blocking temperature of the nanocomposite were found to be 6.1 emu/g and 269 K, respectively. The nanocomposite were then tested in the photocatalytic degradation of Malachite Green (MG) and showed considerably high photocatalytic activity under UV-light irradiation. The effects of various key operating parameters comprising catalyst amount, initial dye concentration, pH and reaction time span for the degradation of MG dye were studied to optimize the reaction conditions. The maximum degradation efficiency (DE %) of 93.41% was obtained by using 0.08 g L-1 catalyst and 10 mg L-1 MG dye at pH 5 within 120 min reaction time. Besides MG, the photocatalytic degradation of several other organic dyes (methylene blue, acid orange 7 and rhodamine B) was also studied to exhibit the performance of CoFe2O4/mpg-C3N4 nanocomposite under the optimized conditions. The results revealed that the kinetic of dye removal process could be designated through the application of pseudo-first-order kinetic model. In addition to high photocatalytic activity, CoFe2O4/mpg-C3N4 nanocomposite could be magnetically recovered after the dye degradation and reused for consecutive five runs without a significant loss (nearly 17%) in their initial performance. (C) 2018 Elsevier B.V. All rights reserved.