Abstract Photocatalytic H 2 evolution is regarded as an ideal approach to produce green energy. Here, a step‐scheme (S‐scheme) heterojunction of macro/mesoporous TiO 2 /g‐C 3 N 4 photocatalysts with enhanced H 2 evolution performance is constructed via a simple chemical vapor deposition process. It is found that the microstructure of samples can be easily controlled by adjusting the dosage of melamine. As compared to the respective monocomponent TiO 2 and g‐C 3 N 4 , the H 2 evolution rate of TiO 2 /g‐C 3 N 4 S‐scheme heterojunction is greatly improved. The H 2 evolution rate of the 20CT sample reaches the maximum value of 3211 μmol g −1 h −1 , which is much higher than those of TiO 2 and g‐C 3 N 4 by factors of 27.2 and 7.5, respectively. In addition, through in‐depth analysis with photoluminescence, X‐ray photoelectron spectroscopy, and Mott–Schottky characterizations, a new mechanism of S‐scheme heterojunction is proposed for the obtained system. The formation of the S‐scheme heterojunction in TiO 2 /g‐C 3 N 4 is therefore responsible for the observed photocatalytic performance enhancement, due to the efficient charge separation as well as the high redox ability.