In this research, a biosensor was introduced for indirect detection of diazinon using a molybdenum disulfide/zirconium metal-organic framework nanocomposite (MoS2@MIP-202(Zr)). The probe is based on the high peroxidase-like activity of the MoS2@MIP-202(Zr) nanocomposite on NaHCO3-H2O2 chemiluminescence system as well as the inhibitory effect of diazinon on enzymatic activity of acetylcholinesterase (AchE). In the presence of diazinon, AChE cannot effectively catalyze the breakdown of acetylcholine into choline, so the resulted H2O2 from choline oxidation is decreased, leading to diminish in the chemiluminescence signal. The analytical signal is gradually decreased with increase in diazinon concentration, and there is a linear relationship between the signal and diazinon concentration. Accordingly, after synthesis and characterization of MoS2@MIP-202(Zr) nanocomposite, it was employed as a green, cost-effective and easy probe for indirect detection of diazinon. In the optimal condition, the calibration graph was linear in the concentration range of 0.5‒300.0 nmol L−1. The limit of detection and limit of quantification of the method are 0.12 and 0.40 nmol L−1, respectively. The intra-day and inter-day relative standard deviations (% RSD n=5, diazinon concentration; 100 nmol L‒1) are 1.35 and 3.66%, respectively. The method was used for diazinon detection in water samples, and the relative recovery values between 95.0 and 102.5% were achieved for the spiked samples.