Photoelectrochemical chloride activation (PEC-Cl) is a promising and reagent-free strategy to treat saline organic wastewater by activation of chloride (Cl–) using sunlight. However, the low efficiency and Cl– corrosion of photoelectrode, and the limited mass transfer of pollutant hinder its application. Herein we successfully solve these challenges by developing porous oxygen-vacancy-rich TiO2 nanoneedle arrays (TiO2 NNs-r400) photoanode. Under illumination, the photoinduced holes in TiO2 NNs-r400 oxidize Cl– to reactive species (e.g., HOCl, Cl•, Cl2•− and ClO•), resulting in the degradation rate of tetracycline hydrochloride (HTC, 0.861 min−1) by TiO2 NNs-r400/PEC-Cl system is 2–3 orders of magnitude higher than the state-of-the-art. Experiments and computational analysis indicate that oxygen vacancies (Ovs) on TiO2 NNs-r400 promote the photocarriers separation efficiency and more importantly, facilitate Cl– adsorption with intermediary strength and reduce the energy barriers of Cl– oxidation. Furthermore, we design a continuous flow-through PEC reactor for TiO2 NNs-r400/PEC-Cl technology. The process exhibits 100% HTC degradation (TOC = 60.23%) for over 2000 h flow-through operation, which maintains high activity in the treatment marine aquaculture wastewater with nearly zero energy consumption by directly utilize natural sunlight. In the final effluent, the toxicity of almost all degradation intermediates is decreased, and the formation of total organic chlorine is low (17.2 µg L–1). This work provides insights into Cl– activation on Ov-rich photoanode and strategy for practical application of solar energy in efficient, sustainable and eco-friendly wastewater decontamination.