Cotton plants accumulate phytotoxins, including gossypol and related sesquiterpene aldehydes, to resist insect herbivores and pathogens. To counteract these defensive plant secondary metabolites, cotton bollworms (Helicoverpa armigera) elevate their production of detoxification enzymes, including cytochrome P450 monooxygenases (P450s). Besides their tolerance to phytotoxin, cotton bollworms have quickly developed resistance to deltamethrin, a widely used pyrethroid insecticide in cotton field. However, the relationship between host plant secondary metabolites and bollworm insecticide resistance is poorly understood. Here, we show that exogenously expressed CYP6AE14, a gossypol-inducible P450 of cotton bollworm, has epoxidation activity towards aldrin, an organochlorine insecticide, indicating that gossypol-induced P450s participate in insecticide metabolism. Gossypol-ingested cotton bollworm larvae showed higher midgut P450 enzyme activities and exhibited enhanced tolerance to deltamethrin. The midgut transcripts of bollworm larvae administrated with different phytochemicals and deltamethrin were then compared by microarray analysis, which showed that gossypol and deltamethrin induced the most similar P450 expression profiles. Gossypol-induced P450s exhibited high divergence and at least five of them (CYP321A1, CYP9A12, CYP9A14, CYP6AE11 and CYP6B7) contributed to cotton bollworm tolerance to deltamethrin. Knocking down one of them, CYP9A14, by plant-mediated RNA interference (RNAi) rendered the larvae more sensitive to the insecticide. These data demonstrate that generalist insects can take advantage of secondary metabolites from their major host plants to elaborate defence systems against other toxic chemicals, and impairing this defence pathway by RNAi holds a potential for reducing the required dosages of agrochemicals in pest control.