Nowadays, fast-growing industrialization has resulted in the release of enormous amounts of contaminants such as toxic dyes into water bodies and leading to cause health and environmental risks. In this regard, we prepared inorganic nanocomposites for the treatment of toxic dyes. Hence, we synthesized TiO2/PAni/GO nanocomposites and examined them by using XRD, SEM, TEM, UV–Vis spectroscopy, BET analysis, and a photoluminescence investigation. In addition, band gap energies of the nanocomposites were determined, and Total Organic Carbon (TOC) testing was used to determine dye degradation levels. The photocatalytic degradations of Thymol Blue and Rose Bengal dyes were investigated at different dye concentrations, illumination periods, solution pH values, and photocatalyst dosages. By using TiO2/PAni/GO, TiO2/PAni, and TiO2 at neutral pH, a photocatalyst dose of 1600 mg/L, and exposure to visible light, Thymol Blue and Rose Bengal were photodegraded 85–99%, 60–97%, and 10–20%, respectively, at a concentration of 25 ppm (180 min). Reductions in the TOCs confirmed their photodegradation, and a kinetic study revealed photodegradation followed first-order kinetics. This study shows the coating of polyaniline (PAni) and graphene oxide (GO) on TiO2 improved its ability to photodegrade Thymol Blue and Rose Bengal dye.