Highly dispersed TiO2 nanocrystals with (001) facets were successfully grown in situ on g-C3N4 through a facial method. The resultant composite exhibits remarkably enhanced photocatalysis compared to pure TiO2 or g-C3N4 or mechanically mixed TiO2/g-C3N4.