Insecticide resistance is an economically important example of evolution in response to intense selection pressure. Here, the genetics of resistance to the neonicotinoid insecticide imidacloprid is explored using the Drosophila Genetic Reference Panel, a collection of inbred Drosophila melanogaster genotypes derived from a single population in North Carolina. Imidacloprid resistance varied substantially among genotypes, and more resistant genotypes tended to show increased capacity to metabolize and excrete imidacloprid. Variation in resistance level was then associated with genomic and transcriptomic variation, implicating several candidate genes involved in central nervous system function and the cytochrome P450s Cyp6g1 and Cyp6g2. CRISPR-Cas9 mediated removal of Cyp6g1 suggested that it contributed to imidacloprid resistance only in backgrounds where it was already highly expressed. Cyp6g2, previously implicated in juvenile hormone synthesis via expression in the ring gland, was shown to be expressed in metabolically relevant tissues of resistant genotypes. Cyp6g2 overexpression was shown to both metabolize imidacloprid and confer resistance. These data collectively suggest that imidacloprid resistance is influenced by a variety of previously known and unknown genetic factors.The introduction of synthetic insecticides is often followed by the appearance of resistance phenotypes in field populations, leading to significant reductions in agricultural production 1 . There has been much debate about whether the evolution of resistance is caused by variation in a single gene (monogenic) or by the additive effects of many (polygenic) 2, 3 . Substantially more work has been dedicated to characterizing the monogenic variants, but such alleles arise in a genetic background where there is polygenic variation for tolerance to the insecticide 2 . Much still remains unclear about the relative contribution of different alleles to insecticide resistance, but D. melanogaster is uniquely placed to answer such questions, owing to the extensive genetic toolkit that has been developed in this model insect.Imidacloprid is amongst the most widely used insecticides. It is derived from nicotine and is a member of the neonicotinoid chemical class. Neonicotinoids target nicotinic acetylcholine receptors (nAChRs) that have vital roles in neurotransmission and behaviour in insects 4, 5 . However, imidacloprid resistance via mutations in targets is not the most common resistance mechanisms, possibly due to associated fitness costs 6 . The overexpression of cytochrome P450 enzymes (P450s) more frequently underpins imidacloprid resistance 7 . Some members of the P450 superfamily can function as drug metabolizing enzymes (DMEs) with xenobiotic substrates, while others have vital roles in development using endogenous substrates 8 . P450s which are capable of metabolizing imidacloprid and conferring resistance have been identified in several species [9][10][11] ; the Cyp6g1 gene of D. melanogaster