The present study focused on the degradation of the commercial herbicide 2,4-D in water by solar photoFenton assisted with ferrioxalate complex and calcium peroxide (CaO2), using an experimental system consisting of a storage tank, a water pump, a solar reactor, and a compound parabolic concentrator (CPC), which collected solar energy of 212.102 kJ/L. The CaO2 was synthesized from eggshells, the influence of the 2,4-D concentration, oxalic acid (H2C2O4), iron (Fe3+), and CaO2 on the degradation of herbicide was evaluated by HPLC, and the intermediates such as 2,4-dichlorophenol, 1,4-benzoquinone, and oxalic acid were determined to confirm the proposed reaction mechanism. The generation of hydroxyl radicals and other reactive species, depends on the molar ratios of oxalate/Fe3+, CaO2/Fe3+, and CaO2/2,4-D. The optimum concentrations for 100 % degradation were 61.5 mg/L 2,4-D, 50.5 mg/L Fe3+, 100.5 mg/L H2C2O4, and 81 mg/L CaO2 with 42.27 % COD and 44.09 % TOC. This study highlights the viability of the solar photoFenton process to degrade the 2,4-D herbicide and aims to promote: the recovery of organic waste such as eggshells, the complexing effect of H2C2O4-Fe3+, the CaO2 as an alternative oxidant, and the application of renewable energy in the treatment of similar contaminants present in wastewater for future research.