The excessive utilization and emission of waste plastics have caused serious damage to the environment, and it is of great significance to explore high-value utilization methods for these waste plastics. To address this challenge, functional nano cobalt-loaded porous carbon materials (CoPC) with excellent antibiotic wastewater removal properties were prepared by one-step pyrolysis using waste PET plastics as a carbon source, a process described in this paper. Characterization revealed that the obtained CoPC-2 catalysts had a high degree of defects, a large specific surface area (343.41 m