Legumes are the one plant family that pays rent on your garden soil instead of just drawing it down. Plant a heavy feeder like corn or a leafy brassica and it strips nitrogen out of the ground. Plant peas, beans, clover, or fava in the same spot and they pull nitrogen out of thin air, stash it underground, and leave the bed richer than they found it. That single trick is why experienced gardeners build whole rotations and cover-crop plans around this family, and why a packet of bean seed can quietly replace a bag of fertilizer.
This guide explains exactly what legumes are, how their nitrogen-fixing partnership actually works in the soil, and then turns that biology into concrete garden actions: how to inoculate seed, which edible legumes to grow and how, how to use legume cover crops as green manure, where they fit in crop rotation and companion planting, and how to harvest and use what you grow.
What legumes are and why they matter in the garden
Legumes are members of the Fabaceae family, the third-largest family of flowering plants. The defining feature is the seed pod: a dry fruit that splits along two seams, holding seeds in a row. If you have ever shelled a pea or snapped a green bean, you have handled a legume.
The family is far bigger than the vegetable patch suggests. Edible legumes include garden peas, snap and snow peas, green and dry beans, runner beans, fava (broad) beans, lentils, chickpeas, soybeans, cowpeas (black-eyed peas), pigeon peas, and peanuts. The same family also covers the workhorse cover crops and forages: clovers, hairy vetch, alfalfa, lupine, sunn hemp, and Austrian winter peas. Even some ornamentals belong here, including sweet peas and lupines, and the sensitive plant that folds its leaves when you touch it.
What ties this sprawling group together for a gardener is not the pod but the roots. Nearly all of these plants can host a soil bacterium that performs a chemical feat plants cannot do for themselves, and that ability is the reason legumes sit at the center of so much soil-building advice.
How legumes fix nitrogen, explained plainly
Nitrogen is one of the three nutrients plants need in the largest amounts, and the one most often in short supply. It drives leafy growth, chlorophyll, and protein. The strange part is that nitrogen is everywhere: roughly 78 percent of the air is nitrogen gas. But that gas, N2, is locked behind a tight triple bond that plant roots simply cannot break. To a plant, the atmosphere is a buffet behind glass.
Legumes get around the glass by hiring a contractor. Soil bacteria called rhizobia can split atmospheric nitrogen and convert it into ammonium, the form plants actually absorb. Neither partner can do the job alone, so they strike a deal.
Here is the sequence that plays out underground:
- A legume root releases chemical signals into the soil. Compatible rhizobia sense those signals, swim toward the root, and multiply around the fine root hairs.
- The bacteria attach and the plant builds an “infection thread” that lets them enter the root. In response, the root swells into small lumps called nodules. This process is called nodulation.
- Inside each nodule, the rhizobia run the nitrogen factory. They pull in nitrogen gas and convert it to ammonium. The plant, in exchange, pumps the bacteria a steady supply of sugars made by photosynthesis.
- The plant uses the ammonium to build leaves, stems, pods, and seeds. The bacteria get food and shelter. Both sides come out ahead, which is what makes this a true symbiosis rather than a parasite.
The fixed nitrogen does not vanish when the plant dies. The bulk of it is held in the leaves, stems, and pods above ground, with the rest in the roots and nodules. When that growth decomposes, the nitrogen is released into the soil as the residue breaks down, where the next crop can take it up. This is the whole point: legumes enrich the ground rather than deplete it, provided you return their growth to the soil rather than pulling every plant and tossing it.
A simple field test confirms it is working. After your peas or beans finish, dig up a plant, wash the roots, and look for the nodules. Slice or squeeze one open. If the inside is pink or reddish, the partnership is active and fixing nitrogen, because that color comes from leghemoglobin, a molecule that manages oxygen inside the nodule. A nodule that is white, green, or grey is not doing much. Do not confuse healthy nodules with root-knot nematode galls, which are also bumpy but are swellings of the root itself rather than attached lumps you can rub off.
One honest caveat. Not every legume is a strong fixer, and not all of the nitrogen is a free gift to your other plants. Heavy fixers like fava beans get around 90 percent of their nitrogen from the air; peas and lentils run near 80 percent, chickpeas around 70 percent. Common snap and dry beans are comparatively poor fixers, often supplying less nitrogen than they use, so they do not enrich soil the way favas or clover do. And a legume mostly keeps its nitrogen for itself while alive, sharing the surplus only after its residue rots down. That detail shapes how you should use the family, which the next sections cover.
How to inoculate legume seed with rhizobia
Rhizobia are usually present in garden soil already, but two things go wrong often enough to matter. Their numbers may be too low to fully nodulate a crop, and the strain in your soil may not match the legume you are planting. Rhizobia are picky: the bacteria that nodulate peas and vetch are a different group from the ones that work with beans, and different again from the soybean or clover strains. Inoculating insures the partnership against both problems, and it is cheap and quick.
When inoculating is worth the trouble:
- The first time you grow a particular legume in a bed, especially soybeans, peanuts, chickpeas, lentils, or cover crops like clover and vetch that may never have grown there.
- Soil that has been heavily fertilized, fumigated, freshly built from bagged mix, or left fallow and bare for a long stretch.
- Any time you want to maximize nitrogen fixation rather than just get a crop.
If you have grown the same legume in that bed within the last couple of years and saw good pink nodules, the right rhizobia are likely still present and you can usually skip it.
How to apply inoculant, step by step:
- Buy the correct inoculant for your crop. Inoculant is sold as a dark, peat-based powder or granule, labeled by legume group (for example pea/vetch, bean, soybean, clover, or peanut). Using the wrong strain does nothing. Check the expiration date, because the bacteria are alive and die over time. Store it cool and out of direct sun.
- Just before planting, lightly moisten the seed. Plain water works; a splash of milk or a very dilute sugar solution helps the powder cling, but is not required.
- Sprinkle on the inoculant and stir until the seeds are evenly coated black. Use the rate on the package; more does no harm.
- Sow the coated seed promptly into moist soil, and try to keep it out of hot, direct sunlight while you work, since UV light and heat kill rhizobia.
You can also dust inoculant directly into the seed furrow if coating seed is awkward, which is handy for fine cover-crop seed. Avoid drenching freshly inoculated seed in chlorinated water, and go easy on nitrogen fertilizer in legume beds. A soil already flush with available nitrogen tells the plant it has no reason to feed bacteria, so nodulation drops off. Rhizobia also dislike acidity; they work best in soil around pH 6.0 to 7.0, so lime an acidic bed before counting on strong fixation.
Growing the common edible legumes
Most edible legumes split neatly into cool-season and warm-season camps, which is the first thing to get right.
Peas (garden, snap, and snow) are cool-season crops. Sow them directly as soon as the soil can be worked in early spring, or again in late summer for a fall crop; in mild-winter regions they can grow through winter. Give them full sun and moist, well-drained soil, and a trellis for vining types. Peas draw roughly 80 percent of their nitrogen from fixation, so they leave the bed in good shape for a follower. Harvest shelling peas when pods are plump but still bright, snap peas when pods fill out, and snow peas while pods are flat and tender.
Fava beans (broad beans) are also cool-season and exceptionally cold-hardy, germinating in soil as cold as the mid-30s Fahrenheit. Sow them in early spring, or in fall where winters are mild, as an overwintering crop. They are the family’s best nitrogen fixer at about 90 percent from the air, which makes them a top choice when soil-building is the goal as much as eating. Expect a long season; pick young pods whole like green beans, or let them mature and shell out the large seeds.
Green and dry beans are warm-season crops; wait until after the last frost and the soil has warmed before sowing. Bush types need no support and crop all at once, while pole types climb a trellis and produce over a longer window. Keep in mind that common beans are modest fixers, so grow them for the harvest and treat any soil benefit as a bonus rather than a full nitrogen replacement. Harvest snap beans young and tender; for dry beans, leave pods on the plant until they rattle and dry, then shell.
Lentils and chickpeas suit gardeners with a longer, drier season. Sow both in spring for a fall harvest. They are not fussy about soil type as long as it drains, want full sun, and reward inoculation, especially on ground where they have never grown. Both pull a large share of their nitrogen from fixation, making them good rotation crops as well as a harvest.
Peanuts are a warm-season legume that grows unlike the rest. After the yellow flowers self-pollinate, the plant sends “pegs” down into the soil, and the peanuts develop underground at the tips. They need full sun, loose well-drained soil, and a long season; pods can take well over four months to ripen. Lift the whole plant after the first frost, then cure it before separating and storing the nuts. As a bonus, peanuts fix nitrogen on par with fava beans.
Using legume cover crops and green manure to build soil
This is where the nitrogen story becomes a soil-building tool rather than just a side effect of dinner. A cover crop is grown to protect and feed the soil, not to be harvested. Sow a legume cover crop, let it grow, then cut it down and work it into the bed before it sets seed, and the decomposing growth releases its fixed nitrogen for the next crop. Used this way, a legume is also called a green manure.
Match the cover crop to the season:
- Cool-season legumes for fall sowing: crimson clover, hairy vetch, Austrian winter pea, red and white clover. Sow in late summer or early fall, giving four to eight weeks of growth before hard frost so the stand can establish. These hold the soil through winter, then surge in spring and are turned under before summer planting. Hairy vetch is a standout when nitrogen is the priority; it can supply much of the nitrogen for a following heavy feeder. Mixing a cereal such as rye or oats with the legume gives the vetch or peas something to climb, adds bulk, and suppresses weeds.
- Warm-season legumes for spring or summer sowing: cowpeas, sunn hemp, soybeans, and field peas. Sown after frost into an open bed, they grow fast in the heat, smother weeds, and pile up nitrogen quickly. Sunn hemp in particular can add a large amount of nitrogen in a couple of months.
How much nitrogen you actually get varies widely with the species, the amount of growth, and the stage at termination, but legume cover crops commonly return on the order of 40 to over 200 pounds of nitrogen per acre worth of fertility, scaled down to whatever your beds hold. One healthy stand of clover can fix up to around 150 to 200 pounds per acre; alfalfa, the heaviest fixer, far more.
Timing the kill is the part most gardeners get wrong. Nitrogen in the plant peaks around early flowering and then plateaus. Let the crop set seed and it both reallocates nitrogen into hard seed and reseeds itself as a weed, so terminate at early bloom. You have a few ways to do it:
- Cut at the soil line and leave the cut tops as a mulch. Nitrogen releases more slowly, and the residue keeps suppressing weeds.
- Till or chop the growth lightly into the top few inches of soil. This speeds decomposition and releases nitrogen faster, within a few weeks.
- For no-till beds, crimp or roll the crop flat into a dense mat and plant through it.
Legume residue is high in nitrogen relative to carbon, so it breaks down fast. That is exactly why you wait: give incorporated growth about two to three weeks to decompose before sowing the next crop, so the bed is releasing nitrogen rather than tying it up. Avoid turning residue under right before heavy rain on bare soil, which can leach the nitrogen straight back out.
Where legumes fit in crop rotation and companion planting
Rotation is the simplest way to capture the legume advantage on a garden scale. The logic is to follow a nitrogen-hungry crop with a nitrogen-giving one. After a bed of corn, tomatoes, or leafy brassicas has drawn the soil down, plant peas, beans, or a legume cover crop there next. The legumes refill the nitrogen the previous crop spent, and the rotation also breaks pest and disease cycles. Moving legumes through every bed on a multi-year cycle has a second benefit: it keeps feeding the rhizobia population, so the right bacteria stay abundant in your soil over time.
Companion planting works too, but it pays to be realistic about how the nitrogen moves. A living legume keeps most of the nitrogen it fixes for its own growth; neighboring plants get a meaningful share only after the legume’s roots and residue decompose. Some transfer does happen during the season through root exudates and shared fungal networks, but it is minor. So the genuine companion benefit comes from interplanting a legume and then leaving its roots and trimmings in place to feed what follows, rather than expecting a bean to fertilize the tomato beside it in real time.
The classic example is the Three Sisters: corn, beans, and squash grown together. The corn gives the beans a living pole to climb, the beans add nitrogen the corn will use as their residue breaks down, and the sprawling squash shades the ground and smothers weeds. The same thinking scales down to interplanting bush beans among peppers or brassicas, or sowing clover as a living understory between fruit trees and vines, where it stabilizes the soil and slowly feeds the roots above it.
Harvesting legumes and putting them to use
How you finish a legume depends on whether you grew it to eat or to feed the soil, and the two goals can overlap.
For eating, pick at the right stage. Snap beans, snow peas, and young fava pods are best harvested while tender and immature, and frequent picking keeps the plants producing. Shelling peas and shelling favas should fill out their pods first. For dry beans, lentils, and chickpeas, leave the pods on the plant until they are brown and rattling, then pull the plants, dry them further under cover, and shell. Peanuts are lifted whole after frost and cured for a couple of weeks before the nuts are separated. Dry legumes store for a long time in airtight containers, which is part of why this family has fed people for millennia.
For soil, the key move is to keep the nitrogen on site. Even after you harvest the pods, the roots and the leafy tops still hold fixed nitrogen, so chop the spent plants and leave them on or in the bed rather than yanking and binning the whole thing. Better still, cut the plants at the soil line and let the nitrogen-rich roots and nodules stay underground to decompose in place. That habit alone turns every edible legume bed into a small green-manure deposit and steadily lifts the fertility of the ground you grow in.
Start with one bed and one crop. Inoculate a row of peas or favas this season, check the roots for pink nodules when they finish, and leave their tops to break down where you will plant next. Once you have seen a legume hand fertility back to the soil with your own eyes, working this family into every rotation stops being a chore and starts being the easiest fertilizer you will ever grow.