Photocatalytic technology has attracted considerable attention in recent years due to its significant potential in environmental protection and energy conversion. Covalent organic frameworks (COFs), a novel class of porous materials, demonstrate remarkable photocatalytic performance owing to their high surface areas, tunable pore sizes, permanent porosities, and customizable functionalities. This review provides a comprehensive overview of the application of COFs in photocatalysis. In energy-related applications, COFs effectively catalyze hydrogen (H