The synthesis of 7 alpha-hydroxylated bile acids from oxysterols requires an oxysterol 7 alpha-hydroxylase encoded by the Cyp7b1 locus. As expected, mice deficient in this enzyme have elevated plasma and tissue levels of 25- and 27-hydroxycholesterol; however, levels of another major oxysterol, 24-hydroxycholesterol, are not increased in these mice, suggesting the presence of another oxysterol 7 alpha-hydroxylase. Here, we describe the cloning and char acterization of murine and human cDNAs and genes that encode a second oxysterol 7 alpha-hydroxylase. The genes contain 12 exons and are located on chromosome 6 in the human (CYP39A1 locus) and in a syntenic position on chromosome 17 in the mouse (Cyp39a1 locus). CYP39A1 is a microsomal cytochrome P450 enzyme that has preference for 24-hydroxycholesterol and is expressed in the liver. The levels of hepatic CYP39A1 mRNA do not change in response to dietary cholesterol, bile acids, or a bile acid-binding resin, unlike those encoding other sterol 7 alpha-hydroxylases. Hepatic CYP39A1 expression is sexually dimorphic (female > male), which is opposite that of CYP7B1 (male > female). We conclude that oxysterol 7 alpha-hydroxylases with different substrate specificities exist in mice and humans and that sexually dimorphic expression patterns of these enzymes in the mouse may underlie differences in bile acid metabolism between the sexes.