A diazotroph is an organism that is able to grow without external sources of fixed nitrogen. Examples of organisms that do this are rhizobia and Frankia (in symbiosis) and Azospirillum. All diazotrophs contain iron-molybdenum or -vanadium nitrogenase systems. Two of the most studied systems are those of Klebsiella pneumoniae and Azotobacter vinelandii. These systems are used because of their genetic tractability and their fast growth.
Types of diazotrophs 
Diazotrophs are scattered across bacterial taxonomic groups (mostly in the Bacteria but also a couple of Archaea). Even within a species that can fix nitrogen there may be strains that do not fix nitrogen. Fixation is shut off when other sources of nitrogen are available, and, for many species, when oxygen is at high partial pressure. Bacteria have different ways of dealing with the debilitating effects of oxygen on nitrogenases, listed below.
Free-living diazotrophs 
- Anaerobes—these are obligate anaerobes that cannot tolerate oxygen even if they are not fixing nitrogen. They live in habitats low in oxygen, such as soils and decaying vegetable matter. Clostridium is an example. Sulphate-reducing bacteria are important in ocean sediments (e.g. Desulfovibrio), and some Archean methanogens fix nitrogen in muds and animal intestines.
- Facultative anaerobes—these species can grow either with or without oxygen, but they only fix nitrogen anaerobically. Often, they respire oxygen as rapidly as it is supplied, keeping the amount of free oxygen low. Examples include Klebsiella pneumoniae, Bacillus polymyxa, Bacillus macerans, and Escherichia intermedia.
- Aerobes—these species require oxygen to grow, yet their nitrogenase is still debilitated if exposed to oxygen. Azotobacter vinelandii is the most studied of these organisms. It uses very high respiration rates, and protective compounds, to prevent oxygen damage. Many other species also reduce the oxygen levels in this way, but with lower respiration rates and lower oxygen tolerance.
- Oxygenic photosynthetic bacteria generate oxygen as a by-product of photosynthesis, yet some are able to fix nitrogen as well. These are colonial bacteria that have specialized cells (heterocysts) that lack the oxygen generating steps of photosynthesis. Examples are Anabaena cylindrica and Nostoc commune. Other cyanobacteria lack heterocysts and can fix nitrogen only in low light and oxygen levels (e.g. Plectonema).
- Anoxygenic photosynthetic bacteria do not generate oxygen during photosynthesis, having only a single photosystem which cannot split water. Nitrogenase is expressed under nitrogen limitation. Normally, the expression is regulated via negative feedback from the produced ammonium ion but in the absence of N2, the product is not formed, and the by-product H2 continues unabated [Biohydrogen]. Example species: Rhodobacter sphaeroides, Rhodopseudomonas palustris, Rhodobacter capsulatus.
Symbiotic diazotrophs 
- Rhizobia—these are the species that associate with legumes, plants of the Fabaceae family. Oxygen is bound to leghemoglobin in the root nodules that house the bacterial symbionts, and supplied at a rate that will not harm the nitrogenase.
- Frankias—much less is known about these 'actinorhizal' nitrogen fixers. The bacteria also infect the roots leading to the formation of nodules. Actinorhizal nodules consist of several lobes, each lobe has a similar structure as a lateral root. Frankia is able to colonize the cortical tissue of nodules where it fixes nitrogen. Actinorhizal plants and Frankias also produce hemoglobins, but their role is less well established than for rhizobia. Although at first it appeared that they inhabit sets of unrelated plants (alders, Australian pines, California lilac, bog myrtle, bitterbrush, Dryas), revisions to the phylogeny of angiosperms show a close relatedness of these species and the legumes. These footnotes suggest the ontogeny of these replicates rather than the phylogeny. In other words, an ancient gene (from before the angiosperms and gymnosperms diverged) that is unused in most species was reawakened and reused in these species.
- Cyanobacteria—there are also symbiotic cyanobacteria. Some associate with fungi as lichens, with liverworts, with a fern, and with a cycad. These do not form nodules (indeed most of the plants do not have roots). Heterocysts exclude the oxygen, as discussed above. The fern association is important agriculturally: the water fern Azolla harbouring Anabaena is an important green manure for rice culture.
- Association with animals—although diazotrophs have been found in many animal guts, there is usually sufficient ammonia present to suppress nitrogen fixation. Termites on a low nitrogen diet allow for some fixation, but the contribution to the termite's nitrogen supply is negligible. Shipworms may be the only species that derive significant benefit from their gut symbionts.
In terms of generating nitrogen available to all organisms, the symbiotic associations greatly exceed the free-living species with the exception of cyanobacteria.
- Postgate, J (1998). Nitrogen Fixation, 3rd Edition. Cambridge University Press, Cambridge UK.
- Dixon R and Kahn D (2004). "Genetic regulation of biological nitrogen fixation". Nat Rev Microbiol 2 (8): 621–31. doi:10.1038/nrmicro954. PMID 15263897.
- Blankenship RE, Madigan MT & Bauer CE (1995). Anoxygenic photosynthetic bacteria. Dordrecht, The Netherlands, Kluwer Academic.
- Vessey JK, Pawlowski, K and Bergman B (2005). "Root-based N2-fixing symbioses: Legumes, actinorhizal plants, Parasponia sp and cycads". Plant and soil 274 (1–2): 51–78. doi:10.1007/s11104-005-5881-5.
- Beckwith, J, Tjepkema, J D, Cashon, R E, Schwintzer, C R, Tisa, L S (2002). "Hemoglobin in five genetically diverse Frankia strains". Can J Microbiol 48 (12): 1048–1055. doi:10.1139/w02-106. PMID 12619816.
- Soltis DE, Soltis PS, Morgan DR, Swensen SM, Mullin BC, Dowd JM, Martin PG (1995). "Chloroplast gene sequence data suggest a single origin of the predisposition for symbiotic nitrogen fixation in angiosperms". Proc Natl Acad Sci USA 92 (7): 2647–2651. doi:10.1073/pnas.92.7.2647. PMC 42275. PMID 7708699.