Oxidation of TiO or Ti2O3 led to the formation of TiO2 with activity in visible light much higher than when TiN was used as a precursor, pointing out the importance of oxygen defects/vacancies for extension of activity of TiO2 into the visible region.