Eight well-known herbals in Zhejiang Province, Zhebawei, are commonly used as traditional Chinese herbal medicines owing to their rich active ingredients. However, the unavoidable use of pesticides during agricultural production has led to pesticide residue problems in these herbs. In this study, a simple, rapid, and accurate method was established to determine 22 triazole pesticide residues in Zhebawei. An improved QuEChERS method was used for sample pretreatment, and Rhizoma Atractylodis Macrocephalae was used as a representative sample. The sample was extracted with acetonitrile to eliminate some polar and nonpolar compounds, pigments, and other impurities, and the purification effects of multiwalled carbon nanotubes (MWCNTs), amino-modified multiwalled carbon nanotubes (MWCNTs-NH2), carboxylated multiwalled carbon nanotubes (MWCNTs-COOH), crosslinked polyvinylpyrrolidone (PVPP), zirconium dioxide (ZrO2), 3-(N,N-diethylamino)-propyltrimethoxysilane (PSA), octadecyl (C18), and graphitized carbon black (GCB) were compared. MWCNTs-COOH and C18 were selected as the purification adsorbents, and their dosages were systematically optimized. The combination of 10 mg of MWCNTs-COOH and 20 mg of C18 was eventually selected as the purification adsorbents. Liquid chromatography-tandem mass spectrometry (LC-MS/MS) was used for analysis, and box graphs were plotted to present the dispersion of each group of recoveries, thus enabling the identification of the data outliers, dispersion distribution, and data symmetry. The established method was systematically verified and showed good linearity over the concentration range of 1-200 μg/L (except for bromuconazole, epoxiconazole, and etaconazole) with correlation coefficients >0.99. The average recoveries of the 22 pesticides at spiked levels of 10, 20, 100, and 200 μg/kg were in the range of 77.0%-115% with relative standard deviations (RSDs) <9.4%. The limits of detection and quantification were 1-2.5 μg/kg and 10-20 μg/kg, respectively. The applicability of the developed method to other herbals was investigated at 100 μg/kg, and the average recoveries of the target pesticides in different matrices ranged from 76.4% to 123% with RSDs <12.2%. Finally, the method established was used to detect triazole pesticide residues in 30 actual Zhebawei samples. The results showed that triazole pesticides were present in Bulbus Fritillariae Thunbergii and Dendranthema Morifolium. Difenoconazole was detected in Bulbus Fritillariae Thunbergii at contents ranging from 41.4 μg/kg to 110 μg/kg, while difenoconazole, myclobutanil, triadimenol and propiconazole were detected in Dendranthema Morifolium at contents ranging from 16.1 μg/kg to 250 μg/kg. The established method can meet the requirements for the accurate quantitative analysis of triazole fungicides in Zhebawei.