Cerium photoredox catalysis has emerged as a powerful strategy to activate molecules under mild conditions. Radical intermediates are formed using visible light and simple complexes of the earth-abundant lanthanide. Here, we report an artificial photoenzyme enabling this chemistry inside a protein. We utilize a de novo designed protein scaffold that tightly binds lanthanide ions in its central cavity. Upon visible-light irradiation, the cerium-dependent enzyme catalyzes the radical C-C bond cleavage of 1,2-diols in aqueous solution. Protein engineering led to variants with improved photostability and metal binding behavior. The photoenzyme cleaves a range of aromatic and aliphatic substrates, including lignin surrogates. Surface display of the protein scaffold on Escherichia coli facilitates whole-cell photobiocatalysis. Furthermore, we show that also natural lanthanide-binding proteins are suitable for this approach. Our study thus demonstrates a new-to-nature enzymatic photoredox activity with broad catalytic potential.