The synthesis of zinc stannate nanocomposite (Zn2SnO4 NC) was carried out using an environment friendly process that included the use of Ficus carica (F. carica) leaves extract as a capping and reducing agent. X-ray diffraction (XRD) analysis was used to analyze the structural and crystallographic parameters, and the crystallite was discovered to have cubic geometry. The elemental composition of the studied Zn2SnO4 NC was investigated using energy dispersive X-ray (EDX), which revealed that it was extremely pure. The band gap (3.12 eV) was calculated through Tauc plot using diffuse reflectance (DRS) data where the functional groups were explored through Fourier transform infrared (FTIR) spectroscopy. Prior to the photocatalytic reaction, some preliminary experiments were performed, which proposed that pH 9 is suitable for the mineralization of methylene blue (MB) (10 ppm) in the presence of 20 mg of Zn2SnO4 NC and simulated solar light. The 96 % of MB was degraded in 80 min with the degradation rate of 0.038 min-1.