One of the pesticides made of organophosphates is diazinon. If it persists in soil and water resources, it may endanger animal and human health. Here, Diazinon was photocatalytically degraded under visible light using CoFe2O4@ZnMOF/Graphene nanoflake (GNF) nanocomposite, which had not been used before for diazinon degradation. Initially, a CoFe2O4@ZnMOF /GNF with excellent optical characteristics was developed. This nanocomposite characterized with XRD, FESEM and TEM microscopy. Numerous factors influencing the photocatalytic degradation of diazinon were investigated using a fractional factorial design 24−1. The investigated factors were: the initial concentration of diazinon, the photocatalyst dosage, contact time and pH. According to the studies, these parameters have a significant impact on degradation efficiency. The highest experimental degradation efficiency achieved was 97.38%. The software determined that the optimum conditions were 10mg catalyst, 30 ppm Diazinon dosage, 90 min reaction time, and pH 9. The kinetics of diazinon photocatalytic degradation were investigated and reported to follow a pseudo-first-order kinetic model. Finally, after five runs, the reusability of the CoFe2O4@Zn MOF-GNF photocatalyst demonstrated excellent chemical stability during the photocatalytic degradation of diazinon.