Defect engineering is in the limelight for the fabrication of electrochemical energy storage devices.However,determining the influence of the defect density and location on the electrochemical behavior remains challenging.Herein,self-organized TiO2 nanotube arrays (TNTAs) are synthesized by anodization,and their oxygen defect location and density are tuned by a controllable post-annealing process.TNTAs annealed at 600 ℃ in N2 exhibit the highest capacity (289.2 mAh g-1 at 0.8C) for lithium-ion storage,while those annealed at 900 ℃ in N2 show a specific capacitance of 35.6 mF cm-2 and stability above 96% after 10,000 cycles for supercapacitor.Ex situ electron paramagnetic resonance spectra show that the surface-exposed oxygen defects increase,but the bulk embedded oxygen defects decrease with increasing annealing temperature.Density functional theory simulations reveal that a higher density of bulk oxygen defects corresponds to higher localized electrons states,which upshift the Fermi level and facilitate the lithium intercalation kinetic process.Meanwhile,differential charge density calculation indicates that the increase of surface oxygen defects in the anatase (1 0 1) plane leads to higher density excess electrons,which act as negative charge centers to enhance the surface potential for ion adsorption.This oxygen-deficient location and density tunable strategy introduce new opportunities for high-energy and high-power-density energy storage systems.