Two-dimensional covalent organic frame works(2D COFs) are ideal heterogeneous catalysts, and have been wide ly use din photo catalysis and electrocatalysis,owing to their high specific surface area, tunable porosity, facile functionalization, highly accessible and dispersedcataly tic activesites. Starting from therational design strategy of the structure and function alization of COFs, synthetic methods for 2D COF s ere reviewed, including solvo thermal synthesis, mechano chemical synthesis, microwave synthesis, ionothermal synthesis, sonochemical synthesis, interfacial synthesis, androom temperaturesynthesis.Furthermore,recentprogressof2D COFs applications in photocatalysis and electrocatalysis was summarized, including hydrogen evolution reaction, oxygen evolution reaction, oxygen reduction reaction, carbon dioxide reduction reaction, and photo/ electro catalytic organic conversion. Finally,the challenges of 2D COFs in photocatalysis and electrocatalysis were summarized,includinghighcostoforganicligands,difficultyofindustrialization,theuseofsacrificial agents,and a cooperative couplingreaction strategy wasproposed based on photo/electroorganic synthesis and hydrogen evolutionor oxygen evolution reactions.