Enables oxysterol 7-alpha-hydroxylase activity. Involved in B cell chemotaxis and bile acid biosynthetic process. Acts upstream of or within negative regulation of intracellular estrogen receptor signaling pathway; positive regulation of epithelial cell proliferation; and prostate gland epithelium morphogenesis. Predicted to be located in intracellular membrane-bounded organelle. Is expressed in several structures, including alimentary system; brain; genitourinary system; limb; and sensory organ. Human ortholog(s) of this gene implicated in congenital bile acid synthesis defect 3 and hereditary spastic paraplegia 5A. Orthologous to human CYP7B1 (cytochrome P450 family 7 subfamily B member 1). [provided by Alliance of Genome Resources, Apr 2022]