Graphitic carbon nitride (g-C3N4), owing to its unique structure, has emerged as a hotspot in the semiconductor photocatalytic hydrogen production. However, the intrinsic poor crystallinity of g-C3N4, which leads to poor hydrogen production efficiency, remains a significant drawback. This study introduces a novel approach for synthesizing highly crystallized g-C3N4 by optimizing precursor mass and employing a fixed temperature polymerization technique. Our research focuses on the intermediate stage polymerization at 220 °C using varying masses of dicyandiamide (DCY) precursors. The results indicate that an increase in the mass of the DCY precursor leads to g-C3N4 with a more regular microstructure and enhanced crystallinity. The photocatalytic hydrogen production rate of this g-C3N4 reached up to 3779 μmol·h−1·g−1, which is five times that of the original g-C3N4.This research holds significant implications for improving the photocatalytic hydrogen production performance of intrinsic g-C3N4.