An effective synthetic strategy is demonstrated for preparing highly ordered crystallized mesoporous TiO(2) by introducing rare earth in the synthesis process; the obtained product exhibits near-infrared photocatalytic activity.