Light-driven production of hydrogen peroxide (H 2 O 2 ) is a green and sustainable way to achieve solar-to-chemical energy conversion. During such a conversion, both the high activity and the stability of catalysts were critical. We prepared an Au-supported C 3 N 4 catalyst-i.e., Au/C 3 N 4 -500(N 2 )-by strongly anchoring Au nanoparticles (~5 nm) onto a C 3 N 4 matrix-which simultaneously enhanced the activity towards the photosynthesis of H 2 O 2 and the stability when it was reused. The yield of H 2 O 2 reached 1320 µmol L −1 on Au/C 3 N 4 -500(N 2 ) after 4 h of light irradiation in an acidic solution (pH 3), which was higher than that (1067 µmol L −1 ) of the control sample Au/C 3 N 4 -500(Air) and 2.3 times higher than that of the pristine C 3 N 4 . Particularly, the catalyst Au/C 3 N 4 -500(N 2 ) retained a much higher stability. The yield of H 2 O 2 had a marginal decrease on the spent catalyst-i.e., 98% yield was kept. In comparison, only 70% yield was obtained from the spent control catalyst. The robust anchoring of Au onto C 3 N 4 improved their interaction, which remarkably decreased the Au leaching when it was used and avoided the aggregation and aging of Au particles. Minimal Au leaching was detected on the spent catalyst. The kinetic analyses indicated that the highest formation rate of H 2 O 2 was achieved on the Au/C 3 N 4 -500(N 2 ) catalyst. The decomposition tests and kinetic behaviors of H 2 O 2 were also carried out. These findings suggested that the formation rate of H 2 O 2 could be a determining factor for efficient production of H 2 O 2 .