Diptera and Lepidoptera species have the highest levels of insecticide resistance, and the mechanism of drug resistance has been studied in detoxification metabolism genes such as P450, GST, EST, and ABC. Since Bactrocera dorsalis are resistant to a variety of chemicals, the pattern and mechanism of resistance in Bactrocera dorsalis have been investigated from a variety of aspects such as detoxification metabolism genes, detoxification enzymes, intestinal symbiotic bacteria, and synergists in the world. In this study, 51 species and 149 detoxification metabolism genes were annotated in the Suppression Subtractive Hybridization (SSH) library, and 12 candidate genes related to beta-cypermethrin resistance were screened and quantitatively expressed in this library. Two genes were found to be upregulated in the egg stage, three genes in the larval stage, one gene in the pupal stage, and five genes in the adult stage, and four genes were found to be upregulated in the midgut and the malacca ducts in the midgut. The expression of cyp6g1, cyp6a22, GST-Epsilon9, and Trypsin-4 genes was upregulated in resistant strains, with the most obvious upregulation occurring in the midgut and the Malpighian tubules. These results provide new insights into the study of pesticide resistance in quarantine insects.