An ordered and well-crystallized cubic Im3m mesoporous Cr-TiO2 photocatalyst with superb performance under visible light has been fabricated.