Glyphodes pyloalis Walker (Lepidoptera: Pyralididae) is a common pest in sericulture and has developed resistance to different insecticides. However, the mechanisms involved in insecticide resistance of G. pyloalis are poorly understood. Here, we present the first whole-transcriptome analysis of differential expression genes in insecticide-resistant and susceptible G. pyloalis. Clustering and enrichment analysis of DEGs revealed several biological pathways and enriched Gene Ontology terms were related to detoxification or insecticide resistance. Genes involved in insecticide metabolic processes, including cytochrome P450, glutathione S-transferases and carboxylesterase, were identified in the larval midgut of G. pyloalis. Among them, CYP324A19, CYP304F17, CYP6AW1, CYP6AB10, GSTs5, and AChE-like were significantly increased after propoxur treatment, while CYP324A19, CCE001c, and AChE-like were significantly induced by phoxim, suggesting that these genes were involved in insecticide metabolism. Furthermore, the sequence variation analysis identified 21 single nucleotide polymorphisms within CYP9A20, CYP6AB47, and CYP6AW1. Our findings reveal many candidate genes related to insecticide resistance of G. pyloalis. These results provide novel insights into insecticide resistance and facilitate the development of insecticides with greater specificity to G. pyloalis.