A membrane-bound cytochrome P450 enzyme that catalyzes the 7-alpha-hydroxylation of cholesterol in the presence of molecular oxygen and nadph-ferrihemoprotein reductase. This enzyme, encoded by CYP7, converts cholesterol to 7-alpha-hydroxycholesterol which is the first and rate-limiting step in the synthesis of bile acids.