Background: Anopheles gambiae has been shown to change its global gene expression patterns upon Plasmodium infection. While many alterations are directly related to the mosquito's innate immune response, parasite invasion is also expected to generate toxic by-products such as free radicals. The current study aimed at identifying which loci coding for detoxification enzymes are differentially expressed as a function of Plasmodium berghei infection in midgut and fat body tissues.Results: Using a custom-made DNA microarray, transcript levels of 254 loci primarily belonging to three major detoxification enzyme families (glutathione S-transferases, cytochrome P450 monooxygenases and esterases) were compared in infected and uninfected mosquitoes both during ookinete invasion and the release of sporozoites into the hemocoel. The greatest changes in gene expression were observed in the midgut in response to ookinete invasion. Interestingly, many detoxification genes including a large number of P450s were down-regulated at this stage. In the fat body, while less dramatic, gene expression alterations were also observed and occurred during the ookinete invasion and during the release of sporozoites into the hemocoel. While most gene expression changes were tissue-related, CYP6M2, a CYP previously associated with insecticide resistance, was over-expressed both in the midgut and fat body during ookinete invasion.Conclusions: Most toxicity-related reactions occur in the midgut shortly after the ingestion of an infected blood meal. Strong up-regulation of CYP6M2 in the midgut and the fat body as well as its previous association with insecticide resistance shows its broad role in metabolic detoxification.