Hydrogen-bonded organic frameworks (HOFs) are a kind of crystalline porous material that have shown great potential for photocatalysis on account of their mild synthesis conditions and high crystallinity. Perylene-based photocatalysts have great potential for photocatalytic H2O2 production due to their excellent photochemical stability and broad spectral absorption. In this work, we designed and synthesized a high crystalline perylene-based HOF (PTBA) and an amorphous analog sample PTPA for photocatalytic H2O2 evolution. Under visible light irradiation, PTBA shows a higher photocatalytic H2O2 production rate of 2699 μmol g−1 h−1 than PTPA (2176 μmol g−1 h−1) and an apparent quantum yield (AQY) of 2.96% at 500 nm. The enhanced photocatalytic performance of PTBA is attributed to the promotion of the separation and transfer of photocarriers due to its high crystallinity. This work provides a precedent for the application of HOFs in the field of photocatalytic H2O2 generation.