A significant amount of research has been conducted on the development and application of photocatalytic materials for the visible light degradation of organic pollutants in wastewater. However, most pollutant degradation studies are conducted using simulated wastewater often prepared using DI water. This is far removed from the realities of environmentally relevant water systems. It is therefore important to investigate the activity of these semiconductor materials with real water samples. In this study, the photocatalytic activity of the photocatalyst was investigated in the secondary effluent of a wastewater treatment plant (WWTP) in Pretoria, South Africa, for the degradation of phenol under visible light irradiation. The experimental design was done using the Taguchi method L16 orthogonal tray with three factors (pH, initial phenol concentration, and photocatalyst dosage) and four levels. The results show that pH is the highest-ranked significant factor influencing the degradation rate, closely followed by the initial concentration of the pollutant. The photocatalyst dosage had the least significant impact on degradation. The effects of individual anion components such as Cl-, NO3-, NO2-, SO42- and cations such as Ca2+, Mg2+, Zn2+, and K+ were investigated. While Cl- did not negatively influence the degradation rate, the results show that NO3- and SO42- inhibit the degradation of phenol. More specifically, the presence of nitrites resulted in total impeding of the degradation process illustrating that nitrite concentrations ≥ 20ppm should be removed from wastewater prior to photocatalytic degradation. The cations investigated promoted the degradation of phenol. Generally, there was enhanced degradation in the water matrix when compared to DI water, and the results revealed improved degradation efficiency due to the cumulative impact of various components of the wastewater.