Enables steroid 21-monooxygenase activity. Involved in cellular hormone metabolic process; cellular response to peptide hormone stimulus; and response to antibiotic. Predicted to be located in endoplasmic reticulum membrane. Human ortholog(s) of this gene implicated in congenital adrenal hyperplasia. Orthologous to several human genes including CYP21A2 (cytochrome P450 family 21 subfamily A member 2). [provided by Alliance of Genome Resources, Apr 2022]