Arapid and highly efficient strategy for introducing Ci nto g-C 3 N 4 involves copolymerizing p-electron-richb arbituric acid with melamine via af acile microwave-assisted heating,t herebye liminating the issues in conventional electric furnace heating,such as the severe volatilization, owingtothe mismatcho ft he sublimation temperatures of barbituric acid and melamine.T he g-C 3 N 4 catalyst after optimizing the Cdoping content actively generates increased amounts of H 2 under visible light exposure with the highest H 2 generation rate of 25.0 mmol h À1 ,w hichi sn early 20 times above that using g-C 3 N 4 produced by conventional electric furnace heating of two identical monomers (1.3 mmol h À1 ). As such, the microwaveassisted heating strategy may stand out as an extremely simple route to incorporating p-electrons into g-C 3 N 4 with markedly improved photocatalytic performance.