A novel n-MgFe2O4–n-ZnS heterojunction catalyst was employed via two step approach for photodegradation of organic dyes such as methylene blue (MB) and crystal violet (CV) dyes under visible light irradiation. The synthesized MgFe2O4/ZnS NCs were characterized using PXRD, FTIR, UV-visible spectroscopy, PL and FESEM analysis which reveals the formation of flake like structure with size as to be ~50 nm. The photocatalytic experimental result demonstrates that the MgFe2O4/ZnS nanocomposites (NCs) improve photodegradation performance with 98.0% and 91% decomposition of MB and CV dyes within 120 min illumination during simulated visible light irradiation. From the result, MgFe2O4/ZnS NCs has higher photocatalytic performance than that of MgFe2O4, and ZnS due to efficient separation of the photo-induced electron-hole pairs and effective electron–hole generation transfer by the formation of n-MgFe2O4–n-ZnS heterojunction. Hence, photodegradation performance implies that the synthesized MgFe2O4/ZnS NCs can be effectively utilized in waste water purification systems.