The modern world requires a chemical industry that can run at low production costs while producing high-quality products with minimal environmental impact. The development of environmentally friendly, cost-effective, and efficient wastewater treatment materials remains a majorproblem for the sustainable approach. We prepared nanoscale cadmium sulfide (CdS)-enwrapped polypyrrole (PPy) polymer composites for degradation of organic pollutants. The prepared CdS@PPy nanocomposites were characterized by powder X-ray diffraction, scanning electron microscope (SEM), field emission scanning electron microscope (FESEM), Fourier transform infrared spectroscopy (FTIR), and ultraviolet-visible(UV) absorption spectroscopy, indicating proper intercalation between CdS and PPy. Consequently, the catalytic efficiency of the synthesized hybrid nanocomposites was analyzed through the degradation of methylene blue (MB) and rhodamine B (Rh B) under visible light irradiation. The measured degradation efficiency of the dye solutions under the photolysis process is about 18% and 23% for MB and Rh B dye, respectively. Furthermore, the recycle test result concludes that the CdS@PPy composite exhibits 91% and 89% of MB and Rh B dye degradation efficiency even at the 4th cycle, respectively. The positive synergistic impact of CdS and PPymay be the result of effective photocatalytic degradation of MB and RhB.