Cytochromes P450 (CYPs) comprise a superfamily of enzymes involved in various physiological functions, including the metabolism of drugs and carcinogenic compounds present in food, making them of great importance for human health. The possibility that CYPs could be broadening or changing substrate specificity in accordance to the high diversity of xenobiotics compounds environmentally available suggests that their metabolic function could be under adaptive evolution. We evaluated the existence of functional divergence and signatures of selection on mammalian genes from the drug-metabolizing CYP2 family. Thirteen of the sites found to be functionally divergent and the eight found to be under strong positive selection occurred in important functional domains, namely on the substrate entrance channel and within the active site. Our results provide insight into CYPs evolution and the role of molecular adaptation in enzyme substrate-specificity diversification.