The sheets of graphene oxide (GO) were sonicated, linked with carbon nanotubes (CNTs), and doped with AgI (G-CNT/AgI). X-ray diffraction studies reveal that the crystalline nature of nanocomposites diminishes as the carbon content rises. Analyses using SEM and TEM reveal that the shape and size of the materials are cubic and 20 nm. The EDX anal. revealed that the samples included solely Ag, I, and Carbon. The material′s UV-vis absorption spectra result in significant absorption bands that may be seen at 420 nm. After loading G-CNTs into the AgI, the absorption range grew a little, which shows that the G-CNTs are excellent for the nanocomposite′s ability to absorb light. To evaluate the performance of the component, the Methylene blue (MB) dye solution was deteriorated. Within 90 min, the degradation was nearly finished. Due to the formation of a heterojunction between AgI and G-CNT and the subsequent separation of charge carriers, the G-CNT/AgI nanocomposite exhibited exceptional photocatalytic stability after four cycles. As a result, the innovative G-CNT/AgI photocatalyst was a potential component of the waste water purification system.