The CYP11B1 gene encodes a hydroxylase enzyme localized to the mitochondrial inner membrane. This enzyme is involved in the conversion of progesterone to cortisol in the adrenal cortex, specifically in the catalysis of 11-deoxycortisol to cortisol and 11-deoxycorticosterone to corticosterone.