The optimization of the synthetic route of titanium dioxide nanoparticles doped with nitrogen was carried out in order to obtain photocatalysts with improved photocatalytic activity. Thereby, from the synthesized photocatalysts was possible to reach about 100% discoloration and 64% mineralization of Ponceau 4R (P4R) dye. Both doped (with largest and smallest photocatalyitc activity) and undoped catalysts were analyzed by X-ray diffraction showing the predominance of the crystalline anatase phase. Besides, using the Rietveld method, the results showed 17.3% of brookite phase in the undoped oxides. By further analysis of diffuse reflectance spectroscopy was observed that doped catalysts presented slight shift on absorption band to th...