Cytochrome P450 enzymes (P450s) and their redox partner cytochrome P450 reductase (CPR) often perform poorly in bioproduction of natural products by engineered prokaryotic microbes. Here, the authors report spatial architecture-guided P450-CPR assembly for improving the biosynthetic performance of both plant and human P450s in E. coli.