The substitution of Bisphenol A (BPA) with Bisphenol B (BPB) has raised concerns due to BPB's increased environmental presence and its potential hazards. Despite the frequent detection in water environments, effective removal methods for BPB are still limited. This study hypothesizes that electrochemical oxidation (EO) can effectively degrade BPB and its by-products. To test this, EO was applied under various conditions, analyzing the role of anode material, current density, pH, and BPB concentration. The results revealed that BPB degradation followed pseudo-first-order kinetics, with boron-doped diamond (BDD) anode showing a rate constant 27 times higher than iridium oxide electrodes. After 180 min, BDD achieved 81.8 % mineralization of BPB. The remaining organic load was associated to easily biodegradable short-chain carboxylic acids. Additionally, the EO process was evaluated in different matrices, including drinking water, tap water, simulated municipal wastewater, and synthetic urine, to assess the impact of matrix complexity. Electrogenerated oxidants, such as hydroxyl radicals, sulfate radicals, and active chlorine, significantly enhanced BPB degradation rates in real water matrices. Energy consumption varied from 5.32 kWh m-3 in drinking water to 2.28 kWh m-3 in synthetic urine, demonstrating the role of matrix composition in EO efficiency. These findings show that EO is a promising technology for removing BPB and similar chemicals in real-world water matrices.