Graphitic carbon nitride (g-C3N4) as a fascinating conjugated polymer has attracted considerable attention due to its outstanding electronic properties, high physicochemical stability, and unique structure. In this work, we reported the characterization of g-C3N4, which was simply synthesized by thermal polymerization of thiourea, the photocatalytic degradation kinetics, and the pathway of levofloxacin (LEV) using the prepared g-C3N4. The XRD and SEM results confirmed a crystalline graphite structure with a tri-s-triazine unit and stacked sheet-like layers of g-C3N4. The efficacy factor (EF) was compared to different photocatalytic processes to assess the LEV removal performance. g-C3N4 exhibits good stability as a photocatalyst during LEV photodegradation. Radical scavenger experiments revealed that in the oxidative degradation of LEV, •O2– and h+ played the determining roles. Moreover, based on the identification of intermediates using liquid chromatography with tandem mass spectrometry (LC-MS/MS), the degradation pathway of LEV was proposed.