In this research, a magnetic biochar derived from the Vicia ervilia plant and possessing graphene-like properties (BC-G/Fe3O4) was used along with the activator persulfate for the adsorption and degradation of emerging pollutants such as Remdesivir and Favipiravir. The morphology, specific surface area, graphitization degree, and surface chemistry properties of the composite were determined using various techniques. The results showed that the synthesized BC-G/Fe3O4 had a high SSA (506.556 m2/g), indicating its suitable adsorption properties for the removal of antiviral drugs. The impact of various factors on the adsorption-oxidation process, including pH, catalyst dosage, oxidant concentration, antiviral concentration, and temperature, was examined and optimized through the utilization of response surface methodology and central composite design. The highest removal percentage of Remdesivir (93 %) and Favipiravir (98 %) was achieved at an initial antiviral concentration of 125 mg/L, catalyst dosage of 7 mg for Remdesivir and 5 mg for Favipiravir, contact time of 120 min, and pH of 7. Through the implementation of radical scavenging experiments, a thorough understanding of the mechanisms involved in PMS activation and the degradation of Favipiravir and Remdesivir was attained. The findings of this study indicate that the BC-G/Fe3O4 catalyst possesses excellent biocompatibility, adsorption-degradation capabilities, and reusability. Consequently, it can be successfully employed to eliminate emerging pollutants from aquatic environments.