Generally, food safety monitoring is vital issue to preserve human health and guarantee a longer lifespan. In present study, a continuous mode of magnetic dispersive solid phase extraction method based on using magnetic covalent organic framework@metal organic framework nanocomposite as sorbent has been proposed. The developed method has been tested for the extraction of some pesticides (pirimicarb, terbutryn, fenthion, triticonazole, hexaconazole, diniconazole, and haloxyfop-R-methyl) from commercial fruit juices prior to their analysis by high performance liquid chromatography–tandem mass spectrometry. In the current research, the properties of nanocomposite were characterized by scanning electron microscopy, Fourier–transform infrared spectrophotometry and X–ray diffraction techniques. In the next step, the synthesized nanocomposite was employed as an efficient sorbent in the developed extraction procedure that was done in a narrow bore tube. Under optimum extraction conditions, extraction recoveries were in the ranges of 67–83 %. Moreover, the limits of detection and quantification of the selected analytes were in the ranges of 17–43 and 56–143 ng L−1, respectively. Finally, the proposed method was successfully applied in the analysis of the opted pesticides in sixty fruit juice samples.