The “worms” you see in trees are almost never true worms. They are caterpillars, beetle larvae, or other insect young, and getting rid of them depends entirely on which creature you are dealing with and how far the infestation has progressed. Some can be managed with a targeted spray of biological insecticide, others require hands-on removal, and a few demand professional intervention once they have burrowed deep into wood. Prevention, meanwhile, comes down to keeping trees healthy enough to resist attack in the first place, because stressed trees attract borers and defoliators the way an open wound attracts infection.
Identifying What Is Actually in Your Tree
Before you grab a sprayer, figure out what you are looking at. The word “worm” gets used casually for dozens of different larvae, and treatments that work on one may be useless against another. The most common culprits fall into two broad groups: leaf-feeders that chew foliage on the outside of the tree, and wood-borers that tunnel inside branches or trunks.
Leaf-feeding caterpillars are the ones most people notice first. Fall webworms spin conspicuous silky webs over branch tips, usually in late summer, and feed on enclosed leaves. Their life cycle is temperature-driven, and in warmer regions populations can produce multiple generations in a single year.1Entomologia Experimentalis et Applicata. Shifting of the life cycle and life‐history traits of the fall webworm in relation to climate change Tent caterpillars look similar but form their webs in branch crotches in spring rather than at branch tips. Forest tent caterpillars do not even make a web at all, preferring to cluster together on trunks and larger branches. Bagworms are the odd ones out: each larva builds a portable bag of silk and plant fragments and drags it along as it feeds. The silk these bags are made from is remarkably fine, with individual fibers averaging roughly three micrometers in diameter.2Oxford Academic (DNA Research). Life inside a bag: multiomics insights into the bagworm species Eumeta crameri Then there are the spongy moth caterpillars (formerly called gypsy moths), which can strip entire canopies and cause severe mortality. In one documented outbreak, over a third of all trees in affected stands died, with the heaviest losses among oaks.3Frontiers in Plant Science. Limited long-term changes in tree physiological function despite shifts in forest stand structure following moth (Lymantria dispar L.) outbreak and drought
Wood-boring larvae are harder to spot because they live inside the tree. Longhorn beetle larvae, bark beetles, and emerald ash borer larvae all tunnel through sapwood or heartwood, disrupting the flow of water and nutrients. A study of wood-boring beetle damage in South American hardwoods found that larvae tunnel through sapwood, phloem, and bark, weakening the tree and producing measurable reductions in radial growth.4ScienceDirect. The effect of wood-boring beetles on the radial growth of Prosopis flexuosa DC. in the arid Chaco of Argentina Unlike caterpillars, borers often go unnoticed until the damage is advanced, which is why early detection matters so much.
Spotting an Infestation Before It Gets Out of Hand
With leaf-feeders, the signs are usually obvious: chewed leaves, silk webbing, frass (caterpillar droppings) on the ground below. The challenge is catching borers early. Research on emerald ash borer found that recently colonized trees did not always show the classic visible signs like exit holes or bark loss. Instead, the earliest clues were cracks in scaffold branches and fractures in the upper canopy, particularly fractures located close to where the branch joins the trunk rather than out at the branch tip.5Arboriculture & Urban Forestry. Evaluation of Ash Tree Symptoms Associated with Emerald Ash Borer Infestation in Urban Forests If you see unexplained branch breakage high in the crown, particularly on species known to be targeted by borers, it is worth investigating further before you see the more dramatic symptoms of bark peeling and canopy thinning.
Other signs to look for include small round exit holes in bark, sawdust-like frass pushed out of tunnels, woodpecker activity concentrated in one area (they are hunting the larvae inside), and D-shaped exit holes specific to emerald ash borer. For caterpillars, egg masses on bark during winter are a strong predictor of spring defoliation. Spongy moth egg masses are tan, fuzzy patches about the size of a quarter, often found on trunks or the undersides of branches.
Biological Controls That Actually Work
The single most effective and widely used biological tool against tree caterpillars is Bacillus thuringiensis, usually abbreviated Bt. This naturally occurring soil bacterium produces crystal proteins that are lethal to caterpillars but harmless to mammals, birds, and most other insects. When a caterpillar eats foliage sprayed with Bt, the crystal toxins bind to receptors in its gut lining and destroy it from within.6PubMed Central. Cry1Ac toxin binding in the velvetbean caterpillar Anticarsia gemmatalis: study of midgut aminopeptidases N The variety most commonly sold for home and forestry use is Bt kurstaki, or Btk.
Btk has been tested against a wide range of tree-defoliating caterpillars. Against spruce budworm, one of North America’s most destructive forest pests, aerial application of Btk every two years cut balsam fir mortality from about 74% in untreated stands down to roughly 10%, at significantly lower cost than annual treatment programs.7Annals of Forest Science. Biennial aerial application of Bacillus thuringiensis Berliner var. kurstaki is the most cost-effective approach of protection against spruce budworm (Choristoneura fumiferana [Clemens]) For homeowners dealing with fall webworms, tent caterpillars, or bagworms on individual trees, Btk is available as a liquid concentrate you mix and spray onto foliage. Timing matters: it works best on young caterpillars, so spray when you first notice feeding activity rather than waiting until larvae are large. Older caterpillars eat less and are harder to kill.
Parasitic wasps are another biological control worth understanding, though you cannot buy them at the garden center the way you can Bt. Several wasp families lay their eggs inside or on caterpillar larvae, and the developing wasp eventually kills the host. Surveys of caterpillar populations in plantation settings have documented multiple wasp species parasitizing the same caterpillar pest, with combined parasitism rates adding up to a meaningful fraction of the larval population.8IOP Conference Series: Earth and Environmental Science. Infestation of parasitic wasps from nettle caterpillar Ploneta diducta Snellen (Lepidoptera: Limacodidae) in oil palm plantation You cannot deploy these wasps on demand, but you can encourage them by avoiding broad-spectrum insecticides that kill them too, and by maintaining plant diversity around your trees. Flowers and hedgerows give adult wasps the nectar they need to survive.
For wood-boring pests, entomopathogenic nematodes and fungi offer a biological alternative to chemical trunk injections. In field trials against red palm weevil, injections of the fungus Beauveria bassiana and entomopathogenic nematodes into infested palms reduced larval activity to zero within three to four months.9PubMed Central. Acoustic Comparisons of Red Palm Weevil (Rhynchophorus ferrugineus) Mortality in Naturally Infested Date Palms after Injection with Entomopathogenic Fungi or Nematodes, Aluminum Phosphide Fumigation, or Insecticidal Spray Treatments These products are commercially available for certain borers, and arborists can apply them via trunk injection. Results take longer than chemical options, but the ecological footprint is much smaller.
Physical Removal and Low-Tech Approaches
For small infestations on reachable branches, physical removal is often the fastest solution and the one with the fewest side effects. Fall webworms and tent caterpillar nests can be pruned out with a pole pruner or even torn open with a stick so that birds and predators can pick off the exposed larvae. Do this in early morning or evening when the caterpillars are inside the web rather than out feeding. Bag the nests and dispose of them rather than leaving them on the ground where larvae can crawl back up.
Bagworms can be hand-picked off smaller ornamental trees during winter, when the bags are easy to see against bare branches. Each bag can contain hundreds of eggs, so removing them before spring hatch prevents a new generation entirely. For spongy moth egg masses, scrape them off the bark into a container of soapy water. Sticky bands wrapped around trunks in spring trap caterpillars as they crawl up from the ground, which is especially useful for spongy moth larvae that hatch at ground level and climb upward.
These methods are not scalable to large trees or widespread outbreaks, but for a single ornamental tree or a small property, they can be all you need.
Chemical Options and Why Caution Matters
When biological controls and physical removal are not enough, chemical insecticides come into play. Systemic insecticides, particularly neonicotinoids like imidacloprid, are widely used against borers because they are absorbed into the tree’s vascular system and poison larvae feeding on the wood. They are effective, but the environmental costs are real and worth thinking about before you commit to them.
Residual imidacloprid in autumn-shed leaves has been shown to inhibit feeding by earthworms, slowing leaf litter breakdown and disrupting soil nutrient cycling.10PubMed Central. Worldwide Integrated Assessment of the Impact of Systemic Pesticides on Biodiversity and Ecosystems Beyond soil impacts, sublethal doses of neonicotinoids impair motor function, foraging behavior, and reproduction in beneficial insects including pollinators and the very parasitic wasps that naturally control tree pests.11PubMed Central. Sublethal Effects of Neonicotinoids: How Physiological and Behavioral Disruptions in Non-Target Insects Threaten Biodiversity and Ecosystem Services There is also growing evidence that neonicotinoid exposure reduces microbial diversity in the guts of non-target organisms, with cascading effects on pollinators and broader ecosystem health.12PubMed. Collateral damage of neonicotinoid insecticides: Unintended effects on gut microbiota of non-target organisms
This does not mean you should never use a systemic insecticide. If you have a high-value ash tree being attacked by emerald ash borer, trunk-injected imidacloprid or emamectin benzoate may be the only realistic way to save it. But for caterpillar problems, Bt is usually equally effective and far less disruptive. The general rule: reach for the most targeted tool first, and escalate to broad-spectrum chemicals only when the targeted options have failed or are not practical for your situation.
Prevention Through Tree Health
Healthy trees resist pests better than stressed ones, and the single biggest stressor for most trees is drought. Research on Spanish fir forests showed that defoliation and mortality spiked when drought and insect attack overlapped. Trees weakened by long, severe dry spells suffered higher rates of beetle colonization and fungal infection, creating a cascading decline that healthy trees in the same area avoided.13Forest Ecology and Management. Drought stress and pests increase defoliation and mortality rates in vulnerable Abies pinsapo forests The takeaway is practical: a well-watered, well-mulched tree is meaningfully less likely to be colonized by borers in the first place.
Preventive steps you can take:
- Water deeply during dry spells. Borers are attracted to drought-stressed trees. Deep, infrequent watering that reaches the root zone does more than frequent shallow watering.
- Mulch the root zone. A ring of organic mulch retains moisture, moderates soil temperature, and feeds the soil ecosystem. Keep it a few inches away from the trunk to avoid rot.
- Avoid unnecessary wounding. Mower strikes, improper pruning cuts, and construction damage create entry points for borers and disease.
- Prune correctly and at the right time. Dead and damaged branches should come off promptly, but avoid heavy pruning during peak flight season for local borers, as fresh cuts release volatiles that attract them.
- Choose appropriate species. If you are planting new trees, pick species adapted to your local climate and soil. Native species generally have co-evolved defenses against local pests that imported ornamentals lack.
Trees also defend themselves chemically. When caterpillars start feeding, many tree species ramp up production of volatile organic compounds that serve as both direct repellents and chemical “distress signals.” One study found that herbivory triggered a dramatic increase in plant defense hormones and the emission of volatile terpenoids, with one compound alone accounting for over a third of the tree’s total terpenoid output.14BioMed Central. A herbivore-inducible CYP82 catalyzes DMNT formation in Idesia polycarpa leaves These volatiles attract predatory and parasitic insects that feed on the caterpillars. A tree in good overall health has more energy to mount this kind of chemical defense than one that is already depleted by drought or poor soil.
Can Trees Recover After Severe Defoliation
One reassuring finding is that many trees can bounce back from even dramatic caterpillar damage, as long as they are not hit repeatedly in consecutive years. After severe spongy moth defoliation in Hungary, Turkey oak replaced nearly all of its lost foliage within four months. Pedunculate oak and beech took about two years to reach the same level of recovery, partly because secondary fungal infections slowed regrowth of the oak.15Forestry Journal. Canopy recovery of pedunculate oak, Turkey oak and beech trees after severe defoliation by gypsy moth (Lymantria dispar): Case study from Western Hungary
The danger comes when defoliation happens multiple years in a row, or when it coincides with drought. In the spongy moth outbreak referenced earlier, it was the combination of heavy defoliation followed by severe drought that killed over a third of trees in affected stands, with oaks taking the biggest losses and pines also suffering disproportionately.3Frontiers in Plant Science. Limited long-term changes in tree physiological function despite shifts in forest stand structure following moth (Lymantria dispar L.) outbreak and drought A single year of caterpillar damage is usually survivable. Two or three consecutive years, especially with drought stacking on top, pushes trees past the point of recovery.
Rehabilitation treatments after damage can make a real difference. A study of sugar maples hit by both ice storm damage and forest tent caterpillar defoliation found that trees given post-storm rehabilitation treatment (typically salvage-thinning of dead neighbors to release growing space) showed greater radial growth afterward than untreated trees, with growth actually exceeding their pre-damage rates.16Forests. Growth of Sugar Maple (Acer saccharum Marsh.) after Ice Storm Damage and Forest Tent Caterpillar (Malacosoma disstria Hubner) Defoliation The lesson for homeowners is that supporting a damaged tree with water, mulch, and appropriate pruning of dead wood can tip the balance toward recovery.
When to Call a Professional
You can handle many caterpillar problems yourself with Bt spray, physical removal, and basic tree care. But certain situations call for an arborist or pest management professional:
- Borer infestations: Once larvae are inside the wood, surface sprays cannot reach them. Trunk injection of systemic insecticides or entomopathogenic organisms requires specialized equipment.
- Large or tall trees: Spraying a 60-foot oak with Bt from the ground is not practical. Professionals have hydraulic sprayers or access to aerial application.
- Uncertain identification: If you cannot identify the pest, a wrong treatment wastes time and money. An arborist can diagnose the problem, determine if treatment is even necessary, and recommend the most targeted option.
- Regulated pests: Emerald ash borer, Asian longhorned beetle, and some other invasive species have quarantine and reporting requirements. If you suspect one of these, your state’s department of agriculture or cooperative extension service needs to know.
For caterpillar problems, a certified arborist will often recommend a wait-and-see approach if the tree is otherwise healthy and the infestation is moderate. A single year of partial defoliation rarely kills a mature tree, and intervention has costs and side effects. The calculus changes with borers, where delays tend to make the problem worse rather than letting nature sort itself out.
Seasonal Timing for Treatment and Prevention
Timing your interventions to the pest’s life cycle makes a bigger difference than the product you choose. For spring-feeding caterpillars like tent caterpillars and spongy moth larvae, Bt sprays should go on in late April to mid-May in most temperate climates, when larvae are small and actively feeding. Fall webworms show up later, typically in July or August, and a second application may be needed then.
Systemic insecticide trunk injections for borers are usually most effective in spring when the tree is actively moving sap upward. Applying in late fall or winter, when sap flow is minimal, means the insecticide sits in the injection site rather than distributing through the tree. For preventive applications against emerald ash borer, many arborists recommend treatment every two years beginning before the pest is detected in your immediate area, since the beetles can fly several miles and infested trees may not show symptoms for a year or more after colonization.
Winter is the best time for physical prevention: scrape egg masses, hand-pick bagworm cases, install trunk bands, and inspect bark for early signs of borer activity. Pruning to remove dead or weakened branches is also best done in late winter when the tree is dormant, wounds close faster in early spring, and most borers are not yet flying.