In this study,t he photocatalytic activity of graphitic carbon nitride (g-C 3 N 4 )s ynthesized via different precursors (urea, thiourea, and dicyandiamide) is investigated in the degradation process of tetracycline. Owing to the efficient charge separation andt ransfer,p rolongedr adiative lifetime of charge, large surface area,a nd nanosheet morphology, the urea-derivedg -C 3 N 4 exhibits superior photocatalytic activity for tetracycline degradation under visible-light irradiation. This performance can compare with that of most reported g-C 3 N 4 -based composite photocatalysts. Through the time-circle degradation experiment, the urea-derived g-C 3 N 4 is found to have an excellent photocatalytic stability. The presence of NO 3 À ,C H 3 COO À ,C l À and SO 4 2À ions with the concentrationo f1 0mm inhibits the photocatalytic activity of urea-derived g-C 3 N 4 ,w here this inhibitory effect is more obvious for Cl À and SO 4 2À ions. For the coexisting Cu 2 + ,C a 2 + ,a nd Zn 2 + ions, the Cu 2 + ion exhibits as ignificantly higher inhibitory effect than Ca 2 + and Zn 2 + ions for tetracycline degradation. However,b oth the inhibitory and facilitatinge ffects are observed in the presence of Fe 3 + ion with different concentration. The h + , COH and CO 2 À radicals are confirmed as major oxidation species and ap ossible photocatalytic mechanism is proposed in au rea-derived g-C 3 N 4 reaction system.T his study is of importants ignificance to promote the large-scale applicationo fg-C 3 N 4 photocatalysts in antibiotic wastewater purification.