Owing to its unique structure, porosity and photoresponse properties, two-dimensional hierarchically porous (2D-HP) C3N4 has attracted wide attention in environmental remediation and sustainable energy evolution fields. Up to today, 2D-HP C3N4 has been developed as an efficient photocatalyst for various environmental/energy photocatalytic applications. Its advantages in promoting light harvesting, reactant diffusion and transportation, surface molecule activation and photoinduced carrier separation have been verified. In this perspective, we highlighted the advantages of 2D-HP C3N4 in various photocatalytic reactions such as water splitting and H2O2 production. The relevant mechanism was simultaneously discussed. Moreover, the prospects and obstacles for the industrial utilization of 2D-HP C3N4-based photocatalysts are outlined and summarized. Finally, we envision available approaches for the deployment of 2D-HP C3N4-based materials to promote its practical application.