Earthworms are not going to eat your plants in any meaningful way. They feed primarily on decaying organic material in the soil, not on living plant tissue. In most cases, having earthworms around your plants is a net positive, improving soil structure, drainage, and nutrient availability. There is one important exception worth knowing about: invasive jumping worms, which can indirectly harm plants by destroying soil quality.
What Earthworms Actually Eat
Earthworms feed on dead and decomposing plant material, fungi, bacteria, and bits of organic matter mixed into the soil. According to the USDA, they eat “fresh and decaying material from plant roots, including crops like corn and soybeans.” The key word is decaying. They’re recyclers, not predators. Their digestive systems are built to process soft organic matter and the microorganisms living on it, not to chew through healthy stems or leaves.
There is some scientific evidence that earthworms can consume or abrade very fine, transparent rootlets as they burrow. A study published in PLOS ONE found that the common nightcrawler (a European species found worldwide) caused higher root mortality in its burrows, likely through grazing or physical contact with tiny roots. But this is incidental feeding during burrowing, not targeted plant destruction. For the vast majority of gardeners, this minor root contact is far outweighed by the benefits earthworms provide.
How Earthworms Help Your Plants Grow
Earthworm tunnels loosen compacted soil, improve drainage, and create channels that roots can follow deeper into the ground to reach water and nutrients. They also pull organic matter from the surface down into the root zone, effectively mixing compost into your soil for free.
The castings earthworms leave behind (their excrement) are genuinely nutrient-rich. Analysis from the University of California found that worm castings contain significant levels of nitrogen, phosphorus, and potassium, with an NPK rating of 5-5-3. They’re also loaded with iron, sulfur, and calcium. Worms often deposit these castings right inside their tunnels, creating nutrient-lined pathways that plant roots naturally grow into.
Over time, earthworms build topsoil. Research from Australia’s Department of Primary Industries found that in favorable conditions, earthworms can bring roughly 50 tons of material per hectare to the surface annually, enough to form a 5-millimeter layer each year. One trial documented worms building an 18-centimeter-thick topsoil layer over 30 years. Their castings also bind soil particles into stable clumps that hold moisture without falling apart when wet.
The Exception: Jumping Worms
Not all worms in your garden are helpful. Jumping worms, an invasive group originally from East Asia, are a genuine problem for plants. Unlike European earthworms that tunnel deep and leave nutrient-rich castings, jumping worms live and feed aggressively in the top few inches of soil. They consume organic matter so rapidly that they transform healthy topsoil into dry, granular pellets with a texture resembling coffee grounds.
This altered soil is bad news for plants. It holds water poorly, loses its structure, and becomes depleted of the nutrients that plants, fungi, and soil organisms depend on. The Wisconsin Department of Natural Resources notes that this soil is “often unaccommodating to ornamental and garden plants and inhospitable to many native plant species.” Transplanting seedlings or mature plants into jumping-worm-damaged soil is especially difficult because roots can’t establish properly in the loose, granular texture.
Jumping worms also strip leaf litter and mulch from the soil surface, removing the protective layer that retains moisture and slowly feeds the soil ecosystem. In areas where jumping worms take hold, invasive plant species often thrive while native plants decline.
How to Tell Them Apart
If you’re seeing worms in your garden and wondering whether they’re the helpful or harmful kind, a few quick traits make identification straightforward.
- Movement: European earthworms inch forward slowly. Jumping worms thrash wildly and move in erratic, snake-like motions when disturbed.
- Color: Jumping worms tend to be darker because they live near the surface. European species are often pinkish-brown.
- Band (clitellum): The raised band near a worm’s head is saddle-shaped and swollen on European species. On jumping worms, it wraps smoothly all the way around the body and sits flush against it, often appearing milky white.
- Castings: European earthworm castings look like small clumps of fresh dirt. Jumping worm castings look and feel like coffee grounds, forming a uniform granular layer on the soil surface.
Jumping worms spread through compost, mulch, potted plants, and landscaping materials. If you spot them, avoid moving soil or compost from that area to uninfested parts of your yard.
Earthworms in Pots and Containers
In open garden soil, earthworms are almost always beneficial. Containers are a different story. A potted plant has limited organic matter, restricted space, and soil that can dry out or become waterlogged quickly. Earthworms trapped in a pot will run out of food, and their burrowing can disrupt the root system of a small plant in a way that wouldn’t matter in open ground.
If you find earthworms in a potted plant, they likely hitchhiked in with the soil. You can gently remove them and relocate them to your garden. For composting indoors, red wigglers are a better choice. These surface-dwelling worms feed exclusively on organic scraps and work well in dedicated vermicomposting bins, but they’re not suited to life in a regular plant pot either.
Encouraging Earthworms in Your Garden
If your garden soil already has earthworms, the best strategy is to keep them happy. Their bodies are more than 75 percent water, so consistent soil moisture matters. They prefer a near-neutral pH but can tolerate a range of roughly 5 to 8. Silty soils rich in organic matter are ideal; sandy soils dry out too fast and heat up uncomfortably.
Mulching, composting, and minimizing tillage all support earthworm populations. Adding manure or organic amendments gives them a steady food supply. Legumes, either grown as crops or used in rotation, are particularly attractive to earthworms because of the quality of organic matter they produce. A thick layer of surface cover, like you’d find in a mulched garden bed or a healthy lawn, provides the continuous food supply and moisture earthworms need to thrive.

