g-C3N4 was modified via combining Li doping and Ag deposition. The effect of doping Li in g-C3N4 on the structure and optical property was studied. The composite exhibited superior visible light photocatalytic activity. The synergistic effects of Li doping and Ag deposition were discussed.