(Nb,Rh) codoped TiO2 nanorods exhibit strong visible light absorption and efficient photocatalytic performance for hydrogen production.