Emerging contaminants such as ceftriaxone are a significant issue in the environment. They have led to a series of ecological, environmental, and health issues, and it is urgent to find a green and secure method to remove antibiotics from water effectively. In this research, the CuCoFe2O4@Gum Arabic (GA)/Activated Carbon (AC) as an innovative bio-based matrix magnetic nanocatalyst was synthesized for the efficient degradation of ceftriaxone from aqueous media. The structure of CuCoFe2O4@GA/AC was characterized via FESEM, EDS, Mapping, XRD, FTIR, VSM, and DRS analyses. The structural analysis of the catalyst revealed its synthesis at the nanometer scale (40–50 nm), exhibiting high magnetic strength (Ms: 5.38 emu/g) and favorable optical properties with a bandgap of 3.6 eV. Under optimized conditions, including a pH of 5, 60 min of irradiation time, 0.24 g/L photocatalyst dose, and ceftriaxone concentration of 5 mg/L, the removal efficiency from synthetic and real samples was 94.43% and 62.5%, respectively. The photocatalytic degradation process of ceftriaxone followed pseudo-first-order and Langmuir–Hinshelwood kinetic models. Furthermore, analysis of the process mechanism indicated a prominent role of the superoxide radical. The catalyst had a high recovery capability and chemical stability. The photocatalytic degradation of ceftriaxone by CuCoFe2O4@GA/AC showcased remarkable efficiency, indicating its potential utility in the treatment of wastewater contaminated with antibiotics.