In this study, an efficient strategy for the synthesis of solvent titanium dioxide and titanium dioxide/graphitic carbon nitride (TiO2/g-C3N4) heterostructure photocatalyst was applied to fabricate a kind of visible-light-driven photocatalyst. The obtained samples were characterised by means of X-ray diffraction, infrared spectroscopy, ultraviolet–visible spectroscopy, ultraviolet-visible diffuse reflectance spectroscopy and photoluminescence. The heterostructure shows higher absorption edge towards harvesting more solar energy compared with pure TiO2 and pure g-C3N4 respectively. The photocatalytic behaviour under visible light and kinetics of the TiO2/g-C3N4 catalyst via methylene blue degradation were addressed. The results showed that the introduction of solvent titanium dioxide into g-C3N4 enhanced the photocatalytic activity in the visible light region. TiO2/g-C3N4 is potential visible light driven photocatalyst for the organic substances degradation in aqueous solutions.