Here, solutions with 0.185mM of the herbicide diuron of pH 3.0 have been treated by electrochemical advanced oxidation processes (EAOPs) like electrochemical oxidation with electrogenerated H2O2 (EO-H2O2), electro-Fenton (EF) and UVA photoelectro-Fenton (PEF) or solar PEF (SPEF). Trials were performed in stirred tank reactors of 100mL and in a recirculation flow plant of 2.5L using a filter-press reactor with a Pt or boron-doped diamond (BDD) anode and an air-diffusion cathode for H2O2 electrogeneration. Oxidant hydroxyl radicals were formed from water oxidation at the anode and/or in the bulk from Fenton's reaction between added Fe(2+) and generated H2O2. In both systems, the relative oxidation ability of the EAOPs increased in the sequence EO-H2O2<EF<PEF or SPEF. The two latter processes were more powerful due to the photolysis of intermediates by UV radiation. In the stirred tank reactor, the PEF treatment with BDD was the most potent method, yielding 93% mineralization after 360 min at 100 mA cm(-2). In the flow plant, the SPEF process attained a maximum mineralization of 70% at 100 mA cm(-2). Lower current densities slightly reduced the mineralization degree in SPEF, enhancing the current efficiency and dropping the energy consumption. The diuron decay always obeyed a pseudo-first-order kinetics, with a much greater apparent rate constant in EF and SPEF compared to EO-H2O2. Oxalic and oxamic acids were detected as final carboxylic acids. Ammonium and chloride ions were also released, the latter ion being partially converted into chlorate and perchlorate ions at the BDD surface.