Nanopolyaniline (PAN) polymers have recently been under active investigation as promising photocatalysts. In this work, a simple modified sol–gel method is used to make nano PAN polymers, and a chemical polymerization method is used to make nano polyaniline titanium dioxide quantum dots (PAN-TiQD) polymers as an active photocatalyst during the photodegradation of Dianix blue dye as an organic pollutant under xenon light. The traditional colloidal sol–gel method and the microwave-assisted hydrothermal method were used to make TiQD, which was then mixed with nanoPAN to make PAN-5 % TiQD (W/W) nanocomposites. Characterizations like XRD, FTIR, UV and visible diffuse reflectance spectra, TGA, surface area, EDX, and TEM were used to characterize the nanoPAN and PAN-TiQD that were made. Also, the photocatalytic activity of all synthesized polymers was investigated by the photodegradation process of Dianix blue dye as an organic hazardous pollutant in aqueous medium using a xenon photoreactor with an initial power of 75 W/Cm2. The effects of irradiation time and photocatalyst type on the photodegradation process efficiency of Dianix blue dye were examined. After 3 h of photodegradation processes, the photodegradation efficiency of PAN-TiQD reached 69 % compared to 36 % of nanoPAN due to the fact that it contains 5 % TiQD as a highly active catalyst, which reached 91 %. As an added value for this study, a significant contribution is the examination of eight hazardous industrial wastewater samples, which were assessed under direct sunlight and were in accordance with the KSA environmental permissible limit of 1000 ppm.Finally, the recycling processes in the presence of all synthesized catalysts were investigated and evaluated six times. The photodegradation rate of the recycling processes of Dianix blue dye was highly decreased in the presence of nano PAN than PAN-TiQD, while it had a low decreasing percentage in the case of TiQD. The recycling process using sunlight for industrial pollution samples was investigated at one of the KSA textile plants by using six synthetic catalysts and assessing COD and TOC values.