In the present investigation, photosensitized nanofibers (NFs) based on guar gum (GG)/poly(vinyl alcohol) (PVA)/Mg4Si6O15(OH)2·6H2O (SP) (modified by 1, 4-diamminobutane [DAB]) was fabricated by electrospinning approach and same was used for the degradation of dye under solar light irradiation. For electrospinning of NFs, the acceleration voltage, nozzle flow rate and collector distance levels of 19,000 KV, 0.5 mL/h and 3 cm were optimum conditions along with 7% (w/v) blend of GG/PVA (1.4:5.6 wt/wt) and 0.01 g modified Mg4Si6O15(OH)2·6H2O. The exfoliation, intercalation and clay organophilization in GG/PVA/Mg4Si6O15(OH)2·6H2O (GG/PVA/SP) NFs were examined by FTIR analysis. The photocatalytic activity (PCA) of NF was studied under the solar light irradiation for methylene blue (MB) dye degradation. The photosensitized GG/PVA/SP2 (G3) showed promising PCA under visible light and G3 furnished higher degradation of MB dye (99.1%) within 10 min of irradiation. Results revealed that GG/PVA/SP based NFs are highly active under solar light, which can be applied for the treatment of wastewater.