The bacteria that fix nitrogen for legume plants are collectively called rhizobia—a functional group of soil bacteria, not a single species. When a legume root encounters compatible rhizobia, the two form a root nodule in which the bacteria convert atmospheric nitrogen gas into ammonia the plant can use, while the plant supplies the bacteria with carbon and energy. This partnership, called rhizobial symbiosis, is why beans, peas, clover, alfalfa, and other legumes can thrive on nitrogen-poor soils. The important qualification is that "rhizobia" covers many genera and species, each with its own host preferences, and not every legume pairs with every rhizobium.

What "Fixing Nitrogen" Actually Means

Air is about 78 percent nitrogen gas, but N₂ is nearly inert: its two nitrogen atoms are joined by a triple bond that most organisms cannot break. The enzyme nitrogenase can break that bond, but only under oxygen-free conditions and at a high energy cost. Only certain bacteria—and a few archaea—carry a working nitrogenase system.

Rhizobia solve the oxygen problem inside the nodule. They are enclosed in plant-derived membranes and supplied with leghemoglobin, a plant protein related to hemoglobin that binds oxygen tightly. This keeps free oxygen low enough that nitrogenase is not destroyed, while still delivering enough oxygen for the bacteria's respiration. The globin gives active nodules their characteristic pink interior—one practical sign, when you cut open a legume root nodule, that nitrogen fixation is actually occurring.

The overall conversion is usually summarized as:

N₂ + 8H⁺ + 8e⁻ + 16 ATP → 2NH₃ + H₂ + 16 ADP + 16 Pi

The ammonia is protonated to ammonium and quickly assimilated by the plant into amino acids and other nitrogen compounds. A large share of the plant's nitrogen demand can be met this way, though fixation supplements rather than always replaces soil nitrogen; legumes still take up nitrate and ammonium from soil when available.

The Main Rhizobial Genera—and the Ones That Are Not Rhizobia

The best-known rhizobia fall into the alphaproteobacteria, especially the family Rhizobiaceae:

Genus Typical legume partners Notes
Rhizobium Clover, peas, vetch, beans The original genus; fast-growing
Bradyrhizobium Soybean, cowpea, peanut, lupine Slow-growing; very important in agriculture
Sinorhizobium (Ensifer) Alfalfa, medic, some woody legumes Common in dryland forage systems
Mesorhizobium Chickpea, birdsfoot trefoil Intermediate growth rate
Azorhizobium Sesbania Can fix nitrogen in free-living conditions as well as in nodules

Some betaproteobacteria also form legume nodules, notably Cupriavidus taiwanensis (on Mimosa) and Burkholderia species on certain tropical legumes. These discoveries since the 1990s expanded the definition of rhizobia beyond the classic alphaproteobacterial genera.

A frequent confusion: Azotobacter, Azospirillum, and Frankia are not rhizobia. Azotobacter is a free-living soil bacterium that fixes nitrogen without a host. Azospirillum associates with grass roots, including cereals. Frankia is an actinobacterium that forms nodules on actinorhizal plants such as alder, Casuarina, and sea buckthorn—not on legumes. All fix nitrogen, but only rhizobia form the root-nodule symbiosis with legumes.

How the Partnership Forms

Nodulation is a carefully negotiated process:

1: Signaling. Legume roots release flavonoids, and compatible rhizobia respond with Nod factors—lipochitooligosaccharides whose structure is recognized by the plant. This is the main basis of host specificity: a plant responds only to Nod factors of compatible strains. 2: Root hair curling and infection thread. In many legumes, root hairs curl around attached bacteria, which enter through an infection thread—a plant-made tunnel that carries them toward the root cortex. 3: Nodule development. The plant builds a nodule primordium; bacteria are released into plant cells enclosed in symbiosomes, where they differentiate into nitrogen-fixing bacteroids. 4: Mature nodule function. Leghemoglobin appears, nitrogenase activity begins, and the plant supplies photosynthate. In most legumes, nodules are indeterminate (growing at a persistent meristem) or determinate (spherical, as in soybean), reflecting different developmental programs.

The relationship is not unconditional. If soil nitrogen is plentiful, many legumes reduce or suppress nodulation, because fixing nitrogen is energetically expensive. This is a key practical point for farmers: heavy nitrogen fertilization can undercut the very symbiosis they hope to encourage.

Host Specificity: Why Some Legumes Need the Right Strain

Rhizobia are often described by cross-inoculation groups—legumes that nodulate with the same rhizobial species. Peas, lentils, vetch, and faba beans share the Rhizobium leguminosarum group; clover pairs with R. leguminosarum biovar trifolii; alfalfa with Sinorhizobium meliloti; soybean with Bradyrhizobium japonicum and related strains.

Specificity is usually not absolute. Some legumes nodulate with several rhizobial species; some rhizobia nodulate several hosts. But compatibility is narrow enough that a field growing a new legume may lack the right bacteria. In that case the crop nodulates poorly and stays yellow and nitrogen-starved—a problem often solved by inoculating seed or soil with a compatible rhizobial strain at planting. Inoculants are especially important where the legume has not been grown recently or where soils are acid, saline, or low in rhizobia population.

What Rhizobia Do for the Plant and the Soil

The plant gains assimilable nitrogen, often enough to support vigorous growth. In agricultural terms, this can substantially reduce nitrogen fertilizer requirements for that crop and leave nitrogen-rich residues that benefit the following cereal or grass. Legume rotations are one of the oldest soil-fertility strategies, and the rhizobial symbiosis is the engine behind it.

The bacteria, in turn, gain a protected niche and a stream of carbon. Neither partner benefits fully without the other, though both can survive alone: rhizobia persist in soil, if sometimes at declining populations, and legumes grow without fixation when nitrogen is supplied.

Because of this, legumes are also used in cover cropping and forage systems. Crimson clover, hairy vetch, and alfalfa can build substantial nitrogen capital in soils, though how much is fixed, how much is harvested, and how much becomes available to the next crop depends on management, climate, and soil conditions. Rhizobia mediate the process; they do not guarantee a fixed amount.

Common Misconceptions

"Rhizobia are one species." They are a diverse set of genera and species, with different hosts and environmental tolerances. "Any legume fixes nitrogen anywhere." Only with compatible rhizobia and suitable conditions—adequate moisture, pH, phosphorus, and micronutrients such as molybdenum and iron—does fixation proceed well. "Nodules always mean active fixation." A nodule can be young, senescent, or occupied by ineffective strains; pink tissue is a better indicator of active nitrogenase than the mere presence of nodules. "Rhizobia replace all nitrogen fertilizer." They supply a meaningful share, but legumes still need soil nutrients, and fixation declines when soil nitrogen is high.

Practical Takeaways

For a gardener or farmer: choose seed or inoculant matched to the legume (clover inoculant for clover, soybean inoculant for soybean), avoid over-fertilizing with nitrogen at planting if the goal is fixation, and check nodules a few weeks after emergence—active ones are pink inside. For a student: remember that the direct answer to "a bacteria that fixes nitrogen for legume plants" is rhizobia, a multi-genus group forming root nodules, distinct from free-living fixers like Azotobacter and from actinorhizal symbionts like Frankia.

The rhizobium–legume partnership remains one of the best-studied mutualisms in biology and a central reason legumes anchor so many cropping systems, pastures, and natural plant communities on soils that would otherwise be nitrogen-poor.