Background Bactrocera dorsalis (Hendel) is a notorious agricultural pest worldwide, and its resistance to insecticides is a major obstacle in successful control. Cytochrome P450s (P450s) are major metabolic enzymes associated with insecticide resistance. The genome of B. dorsalis was sequenced recently, allowing an integrated genome-wide analysis of P450 genes (P450s) and the analysis of correlations between these genes and insecticide resistance in this pest. Results Totally, 101 P450s were identified in the B. dorsalis genome and classified into four clans, 25 families and 57 subfamilies. Quantitative reverse transcription polymerase chain reaction results showed that most of these genes were highly expressed in adults (46) and in metabolic tissues, including the fatbody (63), midgut (61) and Malphagian tubules (66). In a malathion-resistant strain, 13 and 9 genes were significantly upregulated and downregulated, respectively, compared with a susceptible strain, and these genes were screened as candidate genes associated with malathion resistance. Conclusion This study provides useful information for understanding the evolution and potential functions of P450s in B. dorsalis, and the results lay the foundation for further studies on the correlations between P450s and malathion resistance in B. dorsalis. © 2020 Society of Chemical Industry.