In this study, a composite bearing titanium carbide (TiC), titanium dioxide (TiO2), polyvinyl alcohol and xylan (TiC@C-anatase/rutile@polyvinyl alcohol/xylan) was synthesized and applied as a photocatalyst for the degradation of bromophenol blue (BPB) solution through several steps. Nanostructure of TiC and TiO2 in the anatase and rutile phases was obtained through heat treatment of TiC at different times and temperatures (TiC@AR/PX, the energy bandgap reduced to IR range (52% of the sunlight) while showing an enhancement in the surface activity. The photocatalytic activity of the compounds was tested by studying the decomposition of BPB solution under visible light. The result illustrated the ability of TiC and TiC@AR to decrease the concentration of BPB after 150 min by 35% and 37%, respectively, while this reduction was 72% for TiC@AR/PX. Considering the effective parameters, the energy bandgap and the surface layer played key roles in photocatalytic degradation.