Cyanobacteria have been linked with hydrogen cyanide, based on their ability to 9 catabolize it by the nitrogenase enzyme, as a part of nitrogen fixation. Nitrogenase can also use 10 hydrogen cyanide instead of its normal substrate, dinitrogen and convert it to methane and 11 ammonia. In this study, we tested whether cyanobacteria are able, not only to reduce, but also to 12 produce HCN. The production of HCN was examined in 78 cyanobacteria strains from all five 13 principal sections of cyanobacteria, both non-heterocytous and heterocytous, representing a variety 14 of lifestyles and habitats. Twenty-eight (28) strains were found positive for HCN production, with 15 universal representation amongst 22 cyanobacterial planktic and epilithic genera inhabiting 16 freshwater, brackish, marine (including sponges), and terrestrial (including anchialine) habitats. The 17 HCN production could be linked with nitrogen fixation, as all of HCN producing strains are 18 considered capable of fixing nitrogen. Epilithic lifestyle, where cyanobacteria are more vulnerable to 19 a number of grazers and accumulate more glycine, had the largest percentage (75%) of 20 HCN-producing cyanobacteria compared to strains from aquatic ecosystems. Further, we 21 demonstrate the isolation and characterisation of taxa like Geitleria calcarea and Kovacikia 22 muscicola, for which no strain existed and Chlorogloea sp. TAU-MAC 0618 which is, to the best of 23 our knowledge, the first bacterium isolate from anchialine ecosystems. Our results highlight the 24 complexity of cyanobacteria secondary metabolism, as well as the diversity of cyanobacteria in 25 underexplored habitats, providing a missing study material for this type of environments.26