The degradation of 4-hydroxyphenylacetic acid, a ubiquitous component of olive oil mill wastewater (OOMW), has been studied by anodic oxidation with electrogenerated HO (AO-HO), electro-Fenton (EF) and photoelectro-Fenton (PEF). Experiments were performed in either a 0.050M NaSO solution or a real OOMW at pH 3.0, using a cell with a boron-doped diamond (BDD) anode and an air-diffusion cathode for HO generation. Hydroxyl radicals formed at the BDD surface from water oxidation in all processes and/or in the bulk from Fenton's reaction between added Fe and generated HO in EF and PEF were the main oxidants. In both matrices, the oxidation ability of the processes increased in the order AO-HO