The ability of cytochrome P450 enzymes to catalyze highly regio- and stereospecific hydroxylations makes them attractive alternatives to approaches based on chemical synthesis but they require expensive cofactors, e.g. NAD(P)H, which limits their commercial potential. Ferredoxin (Fdx) is a multifunctional electron carrier that in plants accepts electrons from photosystem I (PSI) and facilitates photoreduction of NADP(+) to NADPH mediated by ferredoxin-NAD(P)H oxidoreductase (FdR). In bacteria, the electron flow is reversed and Fdx accepts electrons from NADPH via FdR and serves as the direct electron donor to bacterial P450s. By combining the two systems, we demonstrate that irradiation of PSI can drive the activity of a bacterial P450, CYP124 from Mycobacterium tuberculosis. The substitution of the costly cofactor NADPH with sunlight illustrates the potential of the light-driven hydroxylation system for biotechnology applications.