Herein, we develop a self-driven photoelectrochemical system (SDPS) featuring a TiO2 nanorod array (TNR)/Si photovoltaic cell (Si PVC) photoanode and a porous copper foam (CF) cathode for efficient uranium recovery. Under simulated sunlight illumination, this SDPS simultaneously achieves ∼ 99.4 % UO22+ recovery and ∼ 99.2 % sulfamethoxazole (SMX) removal, with observed rate constant (kobs) value of 0.121 min−1 and 0.029 min−1, respectively, and a maximum power density (Pmax) of 0.89 mW·cm−2 when treating complex wastewater of SMX (10 mg·...