Nitrogen-fixing bacteria convert nitrogen gas from the atmosphere into ammonia, a form that plants and other organisms can actually use. This single biochemical trick underpins nearly all life on Earth, since nitrogen is essential for building proteins and DNA, yet the gas that makes up 78% of our atmosphere is useless to most living things in its raw form. Biological nitrogen fixation produces roughly 200 million tons of usable nitrogen each year, making these bacteria one of the planet’s most important engines of fertility.
Why Most Life Can’t Use Atmospheric Nitrogen
Nitrogen gas consists of two nitrogen atoms locked together by an extremely strong triple bond. Breaking that bond takes enormous energy, whether it happens inside a bacterium or in an industrial chemical plant. Most organisms simply lack the molecular machinery to do it. Without nitrogen-fixing bacteria bridging that gap, the supply of biologically available nitrogen on land and in water would be a fraction of what it is today, and ecosystems would be far less productive.
The enzyme responsible for this conversion is called nitrogenase. It works by transferring eight electrons, one at a time, to split the triple bond and attach hydrogen atoms, ultimately producing two molecules of ammonia. Each electron transfer step requires two molecules of ATP, the cell’s energy currency, making the whole process expensive for the bacterium. That high energy cost is one reason nitrogen-fixing bacteria don’t simply flood their surroundings with ammonia: they regulate the process tightly and hold onto the product.
How Bacteria Partner With Legumes
The most well-known nitrogen-fixing relationship is between Rhizobium bacteria and legumes like soybeans, peas, clover, and alfalfa. The partnership begins with a chemical conversation. The plant’s roots release signaling compounds into the soil, and nearby Rhizobium bacteria respond by producing molecules called Nod factors. These Nod factors are recognized by specific receptors on the plant’s root cells, triggering a chain of events: the root hairs curl, the bacteria enter through newly formed infection threads, and eventually the plant builds specialized structures called root nodules to house the bacteria.
Inside these nodules, conditions are carefully controlled. The plant supplies sugars and energy to the bacteria, while the bacteria convert atmospheric nitrogen into ammonia and share it with the plant. The nodule environment is kept low in oxygen, which is critical because nitrogenase is destroyed by oxygen exposure. A special oxygen-binding protein in the nodules (similar in function to hemoglobin in your blood) regulates oxygen levels so the bacteria can respire without damaging their nitrogen-fixing machinery.
This partnership is why farmers have rotated legume crops with grain crops for centuries. A field planted with clover or soybeans ends up with more available nitrogen in the soil, reducing or eliminating the need for added fertilizer the following season.
Free-Living Fixers in Soil and Water
Not all nitrogen-fixing bacteria need a plant partner. Free-living species like Azotobacter in soils and various cyanobacteria in freshwater and oceans fix nitrogen independently. These organisms are especially important in ecosystems where legumes are scarce, such as open oceans, rice paddies, and tropical forest soils.
Cyanobacteria face a unique challenge: many of them generate oxygen through photosynthesis, which would destroy their own nitrogenase. Some species solve this by developing specialized cells called heterocysts. These cells are larger and rounder than normal cells, with diminished pigmentation and a thick, multilayered envelope. Two extra layers surround the heterocyst: an inner glycolipid layer and an outer polysaccharide layer, both of which restrict oxygen from entering. Mutant cyanobacteria that lack either of these protective layers cannot fix nitrogen when oxygen is present. By confining nitrogen fixation to heterocysts and photosynthesis to neighboring vegetative cells, the organism separates the two incompatible processes in space.
In tropical forests, free-living nitrogen fixers in the soil depend heavily on specific nutrients. Molybdenum is a required component of the nitrogenase enzyme itself, serving as part of the active site where nitrogen gets split. Phosphorus fuels the ATP that powers the reaction and supports bacterial cell growth. Research in tropical forest soils has shown that the availability of both molybdenum and phosphorus constrains how much nitrogen these bacteria can fix. In some soils, molybdenum alone is the bottleneck; in others, both nutrients are limiting simultaneously.
The Scale of Biological vs. Industrial Fixation
For most of human history, biological nitrogen fixation was the only significant source of new reactive nitrogen entering ecosystems. That changed in the early 20th century with the invention of the Haber-Bosch process, which uses high temperatures and pressures to synthesize ammonia from atmospheric nitrogen and hydrogen gas. Today, industrial fertilizer production roughly matches biological fixation in scale, and the two together have dramatically increased the amount of reactive nitrogen circulating through the environment.
The environmental costs of synthetic fertilizer are steep. Nitrogen fertilizers account for about 5% of global greenhouse gas emissions. Roughly a third of those emissions come from the manufacturing process itself, which consumes massive amounts of energy and can release nitrous oxide, a greenhouse gas nearly 300 times more potent than carbon dioxide per molecule. The remaining two-thirds come from what happens after fertilizer is applied: soil microbes convert some of it to nitrous oxide, and excess nitrogen runs off into waterways, fueling algal blooms and dead zones.
Biological nitrogen fixation avoids most of those upstream emissions. The bacteria use their own metabolic energy rather than fossil fuels, and the ammonia they produce tends to stay local, feeding directly into plant tissue or surrounding soil rather than running off in large quantities.
What Limits Nitrogen Fixation in Nature
Despite its importance, biological nitrogen fixation doesn’t run at full capacity in most environments. Several factors hold it back. The nitrogenase enzyme requires molybdenum at its core, so soils or waters low in this trace element support less fixation. Phosphorus shortages limit the bacteria’s ability to produce ATP and grow. In tropical forest soils, the ratio of available phosphorus to molybdenum is often far higher than what nitrogen-fixing bacteria actually need, meaning molybdenum can be the hidden bottleneck even when phosphorus seems adequate.
Oxygen is another universal constraint. Because nitrogenase is inactivated by oxygen, nitrogen fixation only works in low-oxygen microenvironments: inside root nodules, within heterocyst walls, in waterlogged soils, or in anaerobic pockets of sediment. Soil compaction, drainage, and aeration all influence how much fixation occurs in a given landscape.
Energy availability matters too. Fixing nitrogen is metabolically expensive for the bacterium, so free-living fixers need a reliable carbon source, and symbiotic bacteria depend on their host plant being healthy and photosynthetically active. Drought, shade, or poor soil conditions that stress the plant will reduce nitrogen fixation in its root nodules.
Agricultural and Environmental Significance
Farmers already rely on biological nitrogen fixation through legume crops, cover cropping, and, in some rice-growing regions, cyanobacteria that colonize flooded paddies. These biological sources of nitrogen reduce fertilizer costs and limit the environmental damage associated with synthetic alternatives.
A major goal in agricultural research is extending this capability to cereal crops like corn, wheat, and rice, which feed most of the world but cannot form nitrogen-fixing partnerships on their own. Various efforts are underway using synthetic biology to either engineer the nitrogen-fixing machinery directly into crop cells or to create new associations between cereal roots and nitrogen-fixing microbes. The challenge is substantial: the nitrogenase system involves numerous genes, requires an oxygen-free compartment, and demands significant energy from the host. No commercially viable nitrogen-self-fertilizing cereal exists yet, but the potential payoff, reducing global dependence on synthetic fertilizer and its associated emissions, keeps the research active.
In natural ecosystems, nitrogen-fixing bacteria regulate the pace of plant growth, influence which species dominate a landscape, and shape the chemistry of soils and waterways. Forests that host trees with nitrogen-fixing root symbionts accumulate soil nitrogen faster, which can accelerate the growth of neighboring non-fixing species. In oceans, cyanobacterial nitrogen fixation supports the base of marine food webs in nutrient-poor tropical waters where other nitrogen sources are scarce.

