Earthworms are generally good for garden soil because their feeding, tunneling, and waste deposits improve soil structure, water movement, and nutrient availability. But their benefit isn't automatic or universal: it depends on which earthworm species are present, what kind of soil you have, how wet or dry the site stays, and whether your garden is a annual vegetable bed, a no-till perennial border, or a forested woodland garden.
Understanding that variation is more useful than simply deciding earthworms are "good" or "bad."
What earthworms actually do in soil
An earthworm is essentially a small, mobile soil-processing machine. It eats soil, dead plant material, and the microorganisms living on both, then passes the mixture through its gut. What comes out is a cast — a clump of soil richer in available nutrients and more stable in structure than what went in.
Charles Darwin, who studied earthworms for decades, estimated that they could move enormous quantities of soil through their bodies over time, and modern soil science confirms that earthworm activity is a major driver of soil mixing in many temperate ecosystems.
Two processes matter most for a gardener. First, earthworms physically restructure soil. Their burrows create continuous pores that let air and water move downward instead of running off the surface. Second, they redistribute organic matter, pulling surface litter into the soil and mixing it with mineral particles. This is why soils with healthy earthworm populations tend to feel crumbly and dark rather than compacted and pale.
The benefit is real but modest in scale. Earthworms don't create fertility out of nothing; they accelerate the breakdown and redistribution of organic matter that's already there. A garden with poor, compacted soil and no organic inputs won't be transformed just by adding worms. A garden with decent organic matter and an active worm population will cycle nutrients faster and drain better.
The three main types of earthworms, and why the distinction matters
Not every earthworm does the same job, and this is where many garden recommendations go wrong. Soil ecologists group earthworms into three broad categories based on where they live and feed.
Epigeic worms live in surface litter and fresh organic matter. They don't burrow deeply into mineral soil. Red wigglers (Eisenia fetida), the classic composting worm, are epigeic. They're excellent at breaking down compost and mulch but are not the worms you'd find deep in a garden bed, and they generally don't survive well in bare mineral soil without a constant supply of fresh organic material.
Endogeic worms live in the upper mineral soil and feed on soil itself, including organic matter mixed into it. They create horizontal burrows and are often pale or grayish. These worms are the ones most associated with garden soil improvement, because they're actively processing the soil root zones where plants grow.
Anecic worms are the deep vertical burrowers, and the common nightcrawler (Lumbricus terrestris) is the best-known example. They build permanent vertical burrows that can extend a meter or more down, pull surface litter into their burrows to feed, and come to the surface at night. Their deep burrows are especially valuable for water infiltration and root penetration.
A garden with only composting red wigglers in a mulch layer is not the same as a garden with a self-sustaining population of endogeic and anecic worms in the soil. The former helps break down mulch; the latter builds soil structure over years.
How earthworms improve soil structure and drainage
The burrow network is arguably the earthworm's most underappreciated contribution. A single anecic worm can maintain a vertical burrow for years, and these burrows persist even after the worm moves on because the worm lines them with mucus and casts that stabilize the walls. The result is a system of macropores that can conduct water rapidly downward.
In a compacted lawn or a garden bed that pools after rain, earthworm burrows can meaningfully improve infiltration. They also give plant roots a path of least resistance through dense soil. This is one reason reduced-tillage systems tend to develop better structure over time: tillage destroys burrow networks, while leaving soil undisturbed lets worms rebuild them.
The structural benefit shows up as aggregation — soil particles bound together into crumbs. Earthworm casts are richer in stable aggregates than surrounding soil, and repeated casting over seasons builds a more friable, workable soil. This is a slow process measured in years, not weeks.
Nutrient cycling: what earthworm casts actually contain
Earthworm casts are often described as "several times richer" in nutrients than surrounding soil, and that's broadly true for available nitrogen, phosphorus, and potassium, but the comparison needs context. Casts are richer partly because the worm concentrates organic matter and microbial activity, and partly because the casts are fresh. The absolute amount of nutrients an earthworm population adds to a garden is modest compared with what you'd add through compost or fertilizer.
The more important effect is availability. Nitrogen and phosphorus in casts tend to be in forms plants can take up more readily, and the microbial community in casts is active. Earthworms also speed the decomposition of surface litter, which releases nutrients faster than litter would break down on its own.
What earthworms don't do is fix nitrogen from the atmosphere or manufacture minerals. If your soil is deficient in phosphorus or potassium, worms won't correct that. They're a biological accelerant, not a fertilizer replacement.
Do earthworms aerate soil the way people claim?
Partially. Earthworm burrows do increase air movement into soil, and this supports root respiration and aerobic microbial activity. But the aeration effect is smaller and more localized than the mechanical aeration you'd get from a core aerator or from deep-rooted plants. The burrows matter most in fine-textured or compacted soils where air movement is otherwise restricted.
The claim that earthworms "aerate" soil is directionally correct but shouldn't lead you to skip other compaction remedies. If a bed is severely compacted from foot traffic or construction, worms alone won't fix it in a reasonable time frame. Adding organic matter, avoiding working wet soil, and using deep-rooted cover crops will do more, faster.
When earthworms can be a problem
Earthworms are beneficial in most garden contexts, but there are real situations where their presence is a mixed blessing or even a liability.
In forest or woodland gardens, non-native earthworms — particularly Asian jumping worms (Amynthas and Metaphire species) and some European species in previously worm-free northern forests — can rapidly consume the leaf litter layer that native understory plants and forest ecosystems depend on. In parts of North America where earthworms were absent after glaciation, introduced worms have altered forest floor ecology significantly.
If you garden in or adjacent to a woodland, the presence of jumping worms is a genuine concern, and they're difficult to manage. Jumping worms are distinguished by their vigorous thrashing behavior, a smooth clitellum (the band near the head) that goes all the way around the body, and a tendency to live in the surface litter rather than deep burrows.
In potted plants and container gardens, earthworms are usually not helpful. A container is a closed system, and worms can run out of food, die, and leave behind a nitrogen-rich mass that can burn roots. Earthworms belong in the ground, not in pots.
In very wet or poorly drained soil, some worm species can suffer, and their burrows may not function well when the water table is high. Worm populations also drop sharply in waterlogged or anaerobic conditions.
In heavily tilled annual beds, earthworm populations are reduced by tillage, and the worms that remain may not build the stable burrow networks that provide the structural benefits. This isn't a reason to avoid worms — it's a reason to use them alongside reduced tillage if structure is your goal.
How to tell whether your soil has healthy earthworm activity
The simplest test is a spade and a few minutes. Dig a shovel-depth block of moist soil (about 6 to 8 inches deep) from a few spots and count the earthworms you see. A rough benchmark for healthy garden soil is around 10 or more worms per shovel of soil, though this varies enormously by soil type, season, and region — and it's not a standardized scientific measure.
What matters more is the trend: are you finding worms consistently, and does the soil look crumbly and dark where they are?
You can also look for surface signs: small mounds of granular casts on the soil surface after rain, and holes in the mulch layer where anecic worms have pulled litter down. Under a sheet of cardboard or a board left on damp soil for a week or two, worms often congregate — a quick way to check presence without digging.
If you find few or no worms, the cause is usually one of a few things: low organic matter, compacted soil, frequent tillage, waterlogged or very dry conditions, or a history of heavy synthetic fertilizer and pesticide use.
Building earthworm populations in your garden
You can't reliably "stock" a garden with earthworms in the way you'd add compost. Buying worms and releasing them rarely establishes a lasting population unless the habitat already supports them, and it can introduce non-native species where that's a concern. The better strategy is to make the soil a place worms want to live.
Add organic matter — compost, aged manure, leaf mold, or a mulch layer. This is the single most effective step. Worms need food, and surface mulch in particular supports anecic worms that pull litter down.
Reduce tillage. Each pass of a rototiller disrupts burrows and can kill worms directly. No-till or minimal-till beds develop larger, more stable worm populations over a few years.
Keep soil moist but not waterlogged. Worms need moisture to breathe through their skin, but saturated soil is lethal.
Avoid harsh pesticides and excessive synthetic nitrogen. Some pesticides are directly toxic to earthworms, and heavy nitrogen applications can acidify soil and reduce worm habitat. This doesn't mean all synthetic inputs are incompatible with worms, but their overuse tends to suppress populations.
Leave some surface residue. Bare soil offers little food or cover for worms. Mulch, cover crops, and crop residues all help.
Mind the species question. In most of Europe and much of North America where earthworms are already established, native and long-established species are simply part of the soil biology. In formerly worm-free northern forests, avoid moving soil, mulch, or plants that might carry jumping worms.
Earthworms versus other soil life
Earthworms are the most visible part of a much larger soil food web. Fungi, bacteria, protozoa, nematodes, arthropods, and mycorrhizal fungi all do work that worms can't replace. A garden with plenty of worms but poor fungal networks or depleted microbial diversity is still not a healthy soil. Earthworms are a useful indicator and a genuine contributor, but they're one piece of a system.
This matters when you're deciding what to do. If you see plenty of worms, that's encouraging evidence your soil biology is functioning — but it doesn't mean you can skip adding organic matter or stop mulching. If you see few worms, improving organic matter and reducing disturbance is the right response, but don't expect a quick fix. Soil biology rebuilds over seasons.
Practical takeaways for the gardener
For most garden beds, the presence of earthworms is a sign of a functioning soil and a mild benefit to structure and nutrient cycling. The realistic expectation is gradual improvement in soil tilth and drainage over years, not a dramatic transformation.
The practical actions that support worms — adding compost, mulching, reducing tillage, keeping soil moist — are the same actions that improve soil generally, which is why "earthworms are good" is useful shorthand rather than a separate garden strategy.
Where earthworms are absent or scarce, focus on habitat rather than adding worms. Where jumping worms or other invasive species are a concern, particularly in woodland gardens, learn to recognize them and avoid spreading them through moved soil or mulch. And in containers, skip the worms entirely.
If you're deciding what to do next, the highest-return action is almost always to add a layer of compost or mulch and stop tilling. That supports earthworms and the rest of the soil food web at the same time, and it's the intervention that most reliably shows results in a single growing season.
Frequently Asked Questions
Can I just buy earthworms and add them to my garden?
You can, but it's usually not effective. Worms released into unsuitable soil — low organic matter, compacted, or dry — tend to die or disperse. The habitat has to support them. Where native or appropriate species are already present, buying more rarely helps. Where they're absent, improving organic matter and moisture is the more reliable path. In some regions, releasing non-native worms is discouraged because of ecological risks.
Will earthworms get rid of thatch in my lawn?
Earthworms do help break down thatch by pulling organic material into the soil, and a healthy worm population is one factor in thatch management. But if thatch is thick, worms alone won't solve it quickly; core aeration, dethatching, and avoiding excess nitrogen are more direct responses. Earthworms are a supporting factor, not a thatch remedy.
Are earthworms bad for potted plants?
Generally yes. Containers are small, closed systems with limited food, and worms can die and create a nutrient-heavy pocket that may damage roots. Earthworms are soil-dwelling organisms that belong in the ground. Keep them out of containers and use compost or slow-release fertilizer instead.
How do I know if I have jumping worms?
Look for worms that thrash vigorously and snake-like when disturbed, a smooth clitellum that completely encircles the body and sits closer to the head than on common earthworms, and a tendency to be found in the surface litter rather than in deep burrows. If you suspect them, avoid moving soil, mulch, or plants from the affected area, and check with your local extension service for regional guidance.
Do earthworms improve soil for vegetable gardens?
Yes, in the sense that their activity improves structure, drainage, and nutrient cycling — all useful for vegetables. But vegetable gardens are often tilled, which suppresses worm populations. Combining organic matter additions with reduced tillage gives the best results. Earthworms support vegetable growing; they don't substitute for fertile soil and good watering.