Background: Cyanobacteria are ecologically significant prokaryotes that can be found in heavy metals contaminated environments. As their photosynthetic machinery imposes high demands for metals, homeostasis of these micronutrients has been extensively considered in cyanobacteria. Recently, most studies have been focused on different habitats using microalgae leads to a remarkable reduction of an array of organic and inorganic nutrients, but what takes place in the extracellular environment when cells are exposed to external supplementation with heavy metals remains largely unknown. Methods: Here, extracellular polymeric substances (EPS) production in strains Nostoc sp. N27P72 and Nostoc sp. FB71 was isolated from different habitats and thenthe results were compared and reported . Result: Cultures of both strains, supplemented separately with either glucose, sucrose, lactose, or maltose showed that production of EPS and cell dry weight were boosted by maltose supplementation. The production of EPS (9.1 ± 0.05 μg/ml) and increase in cell dry weight (1.01 ± 0.06 g/l) were comparatively high in Nostoc sp. N27P72 which was isolated from lime stones.The cultures were evaluated for their ability to remove Cu (II), Cr (III), and Ni (II) in culture media with and without maltose. The crude EPS showed metal adsorption capacity assuming the order Ni (II)> Cu (II)> Cr (III) from the metal-binding experiments .Nickel was preferentially biosorbed with a maximal uptake of 188.8 ± 0.14 mg (g cell dry wt) -1 crude EPS. We found that using maltose as a carbon source can increase the production of EPS, protein, and carbohydrates content and it could be a significant reason for the high ability of metal absorbance. FT-IR spectroscopy revealed that the treatment with Ni can change the functional groups and glycoside linkages in both strains. Results of Gas Chromatography-Mass Spectrometry (GC–MS) were used to determine the biochemical composition of Nostoc sp. N27P72, showed that strong Ni (II) removal capability could be associated with the high silicon containing heterocyclic compound and aromatic diacid compounds content. Conclusion: The results of this studyindicatede that strains Nostoc sp. N27P72 can be a good candidate for the commercial production of EPS and might be utilized in bioremediation field as an alternative to synthetic and abiotic flocculants.