Co-doped carbon nitride (CoCN-6NH 4 Cl) was prepared through an NH 4 Cl-assisted pyrolysis method. The catalyst exhibits enhanced and persistent activity toward peroxymonosulfate (PMS) activation for antibiotic degradation under visible light. The levofloxacin (LEV) removal efficiency reaches 89.1% within 60 min, much higher than that of the catalyst (CoCN) prepared without addition of NH 4 Cl (65.0%). Moreover, the decay of the LEV removal efficiency after four cycles over CoCN-6NH 4 Cl is only 7.6%, in contrast to 21.8% over CoCN. The enhanced activity of CoCN-6NH 4 Cl can be attributed to the remarkably increased specific surface area to expose more active sites as well as the modified electronic structure caused by Cl doping. The improved charge separation efficiency of CoCN-6NH 4 Cl results in the generation of more photogenerated holes (h + ), superoxide radicals (•O 2 − ), and singlet oxygen ( 1 O 2 ) as main active species participating in the LEV degradation, thus greatly promoting the degradation efficiency. This work provides a facile and effective strategy to develop high-performance catalysts in advanced oxidation processes.