Elemental doping is a promising way for enhancing the electrocatalytic activity of metal oxides. Herein, we fabricate Ti/ Ti 4 O 7 -CB-Ce anode materials by the modi cation means of carbon black and Cerium codoped Ti 4 O 7 , and this shift effectively improve the interfacial charge transfer rate of Ti 4 O 7 and •OH yield in the electrocatalytic process. Remarkably, the Ti 4 O 7 -CB-Ce anode exhibits excellent e ciency of minocycline (MNC) wastewater treatment (100 % removal within 20 minutes) and the removal rate reduces from 100 % to 98.5 % after 5 cycles, which is comparable to BDD electrode. •OH and 1 O 2 are identi ed as the active species in the reaction. Meanwhile, it's discovered that Ti/ Ti 4 O 7 -CB-Ce anodes can effectively improve the biochemical properties of the non-biodegradable pharmaceutical wastewater (B/C values from 0.25 to 0.44) and signi cantly reduce the toxicity of the wastewater (luminescent bacteria inhibition rate from 100 % to 26.6 %). This work paves an effective strategy for designing superior metal oxides electrocatalysts. Highlights 1. CB-Ce co-doped Ti 4 O 7 anodes reduce 100 % MNC and 40 % COD from wastewater. 2. Ti/Ti 4 O 7 -CB-Ce shows better performance than Ti/SnO2-Sb, Pt-Ir and BDD anodes. 3. Co-doping of CB-Ce can improve the charge transfer rate and the yield of •OH. 4. Ti/Ti 4 O 7 -CB-Ce anodes improve the B/C values and reduce the toxicity of wastewater.