Developing low-cost, highly active transition metal-based catalysts for peroxymonosulfate (PMS) activation is essential but remains challenging. Herein, we proposed a novel “waste-to-energy” strategy to derive an effective PMS activator (CoO@C) by integrally utilizing the abundant Co content in the cathodes and the defective structure of anode graphite from spent lithium-ion batteries (LIBs). The CoO@C/PMS system could completely degrade atrazine (ATZ) within 15 min, along with a robust resilience to coexisting substrate and a wide pH range of 5.0–11.0. Through quenching experiments and electron paramagnetic resonance (EPR), •OH was identified as the primary reactive oxygen species (ROS) responsible for ATZ degradation. Furthermore, electron transfer between the catalyst and PMS was examined via density functional theory (DFT) calculations to elucidate the activation mechanism. The Fukui index pinpointed the vulnerable sites of ATZ, offering insights into the possible degradation pathways along with UHPLC-MS analysis. Furthermore, CoO@C was fixed on a polyethersulfone (PES) membrane for continuous degradation of ATZ, which maintained a degradation efficiency exceeding 90 % after treating 6 L of wastewater. This research provided valuable insights into the preparation of metal-based catalysts for advanced oxidation processes and achieved the sustainable utilization of spent LIBs.