Extended X-ray Absorption Fine Structure (EXAFS) investigation of the oxygen-rich titania formed via the thermal treatment of N-doped TiO 2 has revealed that the removal of N-dopants is responsible for the creation of defect sites in the titanium environment, thus triggering at high temperatures (500-800 o C) the capture of atmospheric oxygen followed by its diffusion towards the vacant sites and formation of interstitial oxygen species. The effect of the dopants on Ti coordination number and Ti-O int and TiN int bond distances has been estimated. The photocatalytic p-cresol degradation tests have demonstrated that the interband states formed by the N-dopants contribute to a greater extent to the visible-light activity than the oxygen interstitials do. However, under the UV irradiation the oxygen-rich titania shows higher efficiency in the pollutant degradation, while the N-dopants in N-TiO 2 play the role of recombination sites. On the other hand, the presence of the surface nitrogen species in TiO 2 is highly beneficial for the application in partial photooxidation reactions, where N-TiO 2 demonstrates a superior selectivity of 5-hydroxymethyl furfural (HMF) oxidation to 2,5furandicarboxaldehyde (FDC). Thus, this work underlines the importance of a rational design of non-metal doped titania for photocatalytic degradation and partial oxidation applications, and it establishes the role of bulk defects and surface dopants on the TiO 2 photooxidation performance.