In this study photochemical transformation of the antiretroviral pharmaceutical maraviroc under the simulated UV–Vis radiation was presented. The drug was shown to be extremely photo-resistant, with a half-life over 250 h, which is particularly significant, considering its presence in the aquatic environments. Addition of the natural river water matrix substantially increased the degradation rate, albeit the process led to formation of numerous phototransformation products. Due to high photostability and presumable environmental persistence of maraviroc, a photocatalytic method of its elimination was proposed. Although titanium dioxide alone presented acceptable results, its combination with peroxymonosulfate enormously accelerated the degradation process, increasing it over 67 000 times in comparison with the direct photolysis. Substitution of ultrapure water with river water resulted in inhibition of the PMS-driven processes, however the decomposition efficiency was still very high. Noteworthy, majority of the identified photoproducts were still present after termination of irradiation in all the experiments, which may indicate necessity of ecotoxicological assessment of those compounds.