PanH, a cytochrome P450 monooxygenase, was identified and verified as the enzyme responsible for epoxycyclohexenone formation in panepoxydone biosynthesis in the basidiomycete mushroom Panus rudis. A PanH-producing yeast as a biocatalyst enabled an enzymatic approach to synthesize a library of bioactive epoxycyclohexenone compounds.