Photocatalysis by surfactant-templated ordered mesoporous TiO2 films measured.
Hydrazine treatment was performed for co-doping of Ti3+ and N.
Visible light absorption increases with Ti3+ and N co-doping.
Visible-light driven water splitting enhanced up to 4× over undoped titania.
Optimal time of hydrazine exposure found due to pore texture coarsening.