Mesoporous C, N-codoped TiO2 (C/N-TiO2) hybrid shells incorporated with graphite carbon were synthesized. Catalytic results indicated that C and N codoping could remarkably improve the photocatalytic performance of TiO2.