In this study, polymeric graphitic carbon nitride (g-C3N4) semiconductors was synthesized via a thermal condensation method. Subsequently, Ag/AgBr nanoparticles with varying ratios were decorated onto the g-C3N4 surface using the water/oil emulsion method. The resulting nanocomposites were characterized using XRD for phase identification and structural analysis, HR-TEM and SEM&EDAX for morphological structure, particle size, and elemental composition analysis, and XPS for investigating the chemical state and electronic structure. The impact of Ag/AgBr content on the optical properties of g-C3N4 were also studied such as (optical bandgap (Eg), refractive index (n), extinction coefficient (k), optical conductivity (σopt) and dielectric function (ε*)), Electrochemical impedance spectroscopy (EIS), PL spectroscopy and Chrono-amperometric investigations were conducted to assess the charge transfer capabilities and long-term durability of the prepared nanocomposites. The results revealed a reduction in Ag/AgBr particle size with an increase in g-C3N4 content, accompanied by a decrease in the optical bandgap from 2.444 eV to 2.393 eV. Furthermore, the nanocomposites exhibited enhanced degradation efficiencies of RhB dye, with the highest tested content of Ag/AgBr achieving 100% degradation after 120 min of irradiation. However, the challenge of catalyst separation after the degradation process remained. To address this issue, we developed a novel approach by impregnating Ag/AgBr@g-C3N4 photocatalyst onto a floating porous sponge using a simple sugar-template technique, offering potential as a reusable photocatalyst material. Furthermore, the 3D PDMS − Ag/AgBr@g-C3N4 photocatalyst was evaluated and found to maintain nearly the same photocatalytic efficiency for up to 5 consecutive cycles.