Disposal of the cow dung pollutants arising from cattle farming threatens the environment and public safety in diverse ways. To date, researchers have worked on developing new pathways to control and manage cattle farming wastes, but most do not involve the reuse of these wastes. Herein, a cow dung biochar-modulated photothermal N-halamine hydrogel (i.e., PAN/CA/CoBC/pMAG-Cl) was designed for converting cow dung into biochar (CoBC), which was then coupled with a 3D interpenetrating hydrogel network to treat infected wounds. The PAN/CA/CoBC/pMAG-Cl hydrogel exhibited excellent synergistic antibacterial performance against 106 CFU·mL-1 Escherichia coli (E. coli) and Staphylococcus aureus (S. aureus) within 60 min. The bactericidal effect was multimodal, involving CoBC-based photothermal killing (i.e., temperature as high as 80.5 °C) after 808 nm near-infrared light irradiation for 10 min, contact killing through the strong oxidative characteristic of N-halamine (pMAG-Cl), and release killing via active halogens (i.e., Cl+) reinforced by the photothermal action of CoBC. The S. aureus-infected wound model in vivo demonstrated that the PAN/CA/CoBC/pMAG-Cl hydrogel worked as an ideal wound dressing, capable of resisting bacterial infection, accelerating the healing process, and promoting epithelial regeneration. This proposed strategy could indicate a new way for the disposal of cow dung pollutant and its reuse in antibacterial-associated applications.