Plants defend themselves from insects with two layers of strategy: built-in physical and chemical armor that is always present, and induced defenses that switch on within minutes or hours of an attack. A chewed leaf releases chemical cues, a hormone signal switches on thousands of genes, and the plant starts making toxins, sticky resins, and airborne chemicals that call in predators.
Because a plant cannot walk away from an attacker, this layered system is its survival plan.
- Physical barriers — waxy cuticles, tough leaves, thorns, spines, silica-loaded grass, sticky trichomes, and latex that gums up an insect’s mouthparts.
- Chemical defenses — secondary metabolites such as alkaloids, terpenoids, tannins, glucosinolates, and cyanogenic glycosides that poison, repel, or make tissue hard to digest.
- Signalling and induced defense — jasmonic acid and salicylic acid pathways that turn on defense genes after damage or after insect saliva is detected.
- Indirect defense — volatile compounds, extrafloral nectar, and domatia that recruit ants, predators, and parasitoid wasps.
- Priming — distant, unchewed leaves held in a heightened ready state by alarm signals travelling through the plant.
The rest of this guide walks through each layer in plain language, then looks at how insects get around all of it.
Table of Contents
- 1How Plants Defend Themselves From Insects: The First Line
- 2How Do Plants Detect Insect Feeding?
- 3Mechanical damage
- 4Insect saliva and regurgitant
- 5Egg laying and chemical traces
- 6What Physical Defenses Do Plants Use?
- 7The waxy cuticle
- 8Thorns, spines, and silica
- 9Trichomes
- 10Latex and resin
- 11Tough leaves, minerals, and egg mimicry
- 12How Do Plants Defend Themselves With Chemicals?
- 13Alkaloids
- 14Terpenoids
- 15Phenolics and tannins
- 16Glucosinolates
- 17Cyanogenic glycosides and proteinase inhibitors
- 18Constitutive and induced defenses
- 19What Happens During a Local and Systemic Defense Response?
- 20The jasmonic acid pathway
- 21The salicylic acid pathway
- 22The trade-off between the two
- 23Alarm volatiles and priming
- 24Defence plasticity
- 25How Do Indirect Defenses Protect Plants?
- 26Volatiles that summon parasitoid wasps
- 27Extrafloral nectar and ant guards
- 28Domatia and shelter
- 29Signals that cross between plants
- 30Why Do Some Insects Still Succeed?
- 31Detoxifying enzymes
- 32Tolerance and steering
- 33Manipulating the signal
- 34How Can People Study Plant Defenses Against Insects?
- 35Set up a controlled feeding treatment
- 36Measure damage rather than guessing at it
- 37Sample the chemistry
- 38Watch the natural enemies
- 39Read field and glasshouse results differently
- 40What Are the Main Plant Defense Strategies at a Glance?
- 41What Should Readers Remember About Plant Immunity?
- 42Frequently Asked Questions
- 43Do plants feel pain when insects eat them?
- 44What is the strongest defense a plant can have against insects?
- 45Can plants communicate when an insect attacks them?
- 46Does a plant release chemicals that harm the insect?
- 47Are plant defense chemicals safe for people to touch?
- 48How do researchers measure insect resistance in plants?
How Plants Defend Themselves From Insects: The First Line

Because plants cannot run, they are described as sessile organisms, and defense is the only option left to them. A mature tree may be attacked by thousands of caterpillars in a single season, and every bite costs the plant carbon it built through photosynthesis.
The defenses are layered, and each layer sits in front of the next one.
The first line is the plant’s body. Cell walls, a waxy cuticle over the epidermis, bark, and sometimes a silica layer do slow down an insect’s mouthparts before any chemistry is involved. A rose thorn and a thistle spine are the obvious versions of this, but so are the fine silica teeth along a grass leaf edge, which wear down a caterpillar’s mandibles as it chews.
Behind that sit the chemical defenses. The same plant can hold a mixture of toxic, bitter, and digestive-blocking compounds in its cells at all times, and can raise the concentration on demand when an attack starts. These compounds are called secondary metabolites, which simply means they are not directly involved in growth or energy storage.
Many of the compounds in our own medicine cabinet and on our own shelves started life as plant insect defenses.
The third line is signalling. Damage alone does not tell a plant much, but the plant also reads the insect’s saliva and egg-laying chemicals, and that reading switches on hormone pathways that rewire the plant’s gene expression for the next day or two.
The fourth line is borrowing someone else’s weapons. Damaged tissue releases volatile organic compounds into the air, and those odors act as a map that guides parasitoid wasps and predatory insects straight to the caterpillar chewing on the plant.
How Do Plants Detect Insect Feeding?

The short answer is that plants do not think about their attacker. They react to chemistry, and the chemistry comes from three main sources.
Mechanical damage
Breaking leaf tissue releases cell contents that would normally stay locked inside, including cell-wall fragments carrying small carbohydrate building blocks. A plant receptor recognises that pattern and starts an alarm response within seconds.
Severe damage also triggers a burst of hydrogen peroxide in the damaged region, which is both a signal to neighbouring cells and a mild toxin in its own right.
Insect saliva and regurgitant
This is the more specific signal. When a caterpillar bites, enzymes in its saliva break down plant cell walls as it digests, and the released fragments are chemically distinct from plant damage alone. Work at Wageningen University and Research and elsewhere has shown that the plant reads those fragments and mounts a much stronger and more targeted response than it would to sterile wounding.
Some parasitoid viruses are even known to alter the saliva of an infected caterpillar, which changes the plant’s response and pushes it toward defending against a second pest species.
Egg laying and chemical traces
Many butterflies and moths lay eggs on a leaf and leave behind chemicals that discourage a second female from laying in the same spot. Plants have evolved detectors for some of these, and some species respond to egg presence by making the surface tissue toxic or dropping the leaf, so the eggs never hatch.
Nicotine applied to a leaf has been used experimentally to trigger this egg-kill response in some species.
Detection and decision-making are different things. A plant does not assess the threat and choose. It has receptor proteins wired to particular molecular patterns, and when the pattern appears, the wiring fires.
What Physical Defenses Do Plants Use?
Physical defenses are cheap in energy terms, because the plant pays for them once during growth and they keep working.
The waxy cuticle
Every leaf and stem is coated with a waxy layer that limits water loss and, as a side effect, makes the surface slippery and hard to grip. Tiny insects struggle to find purchase, and their eggs often fail to stick to a glossy leaf.
Thorns, spines, and silica
Thorns are modified branches and spines are modified leaves, which is why cacti have spines and roses have thorns. Grasses take a different approach, loading their leaves with silicon deposits that leave a serrated abrasive edge. Livestock and insects both learn quickly which grasses are unpleasant to chew.
Trichomes
A trichome is a single hair on a plant surface, and there are two useful kinds. Non-glandular trichomes are like tiny hooks or spears, and they can impale an insect’s mouthparts or trap small larvae so thoroughly that they die.
Glandular trichomes, such as the sticky hairs on wild tomato plants, secrete a glue-like substance that immobilises small insects on the spot. The sticky wild tomato is the standard laboratory example because the effect is so visible.
Latex and resin
Fig trees, milkweeds, and many tropical plants exude a milky or sticky sap when cut. Latex is meant for wounded tissue, but it coats an insect’s legs and mouthparts, and bitter latex can suppress an insect’s digestion. Resins do something similar and are hard for insects to chew through at all.
Tough leaves, minerals, and egg mimicry
Older, tougher leaves resist chewing better than new growth, which is why many herbivores target tender shoots. Some species deposit calcium oxalate crystals that irritate the mouthparts of a chewing insect.
A few, such as some passionflowers and some figs, carry tiny yellow dots or structures on their leaves that mimic insect eggs, which makes a female butterfly move on to an unoccupied leaf.
How Do Plants Defend Themselves With Chemicals?
Plant chemical defenses are grouped into families of compounds, and each family has a different way of hurting an insect. Most are stored in a separate cell type or compartment, so chewing tissue releases them all at once rather than letting the insect nibble through a safe plant.
Alkaloids
Alkaloids are nitrogen-containing compounds that act on an insect’s nervous system. Nicotine in tobacco leaves is the best-known example, and it is toxic to most insects at concentrations the plant produces naturally.
Caffeine in tea and coffee leaves works on a different target, filling adenosine receptors so the insect feels wired and cannot settle down to feed. Datura species produce tropane alkaloids such as atropine and scopolamine.
Terpenoids
Terpenoids cover repellent volatiles, resins, and insect-sterilising compounds. Pyrethrum, the daisy relative behind a large share of household insecticides, produces pyrethrins, which attack the insect’s sodium channels and nervous system.
Many terpenes also repel rather than kill, and in some plants they attract predatory insects, which is covered below.
Phenolics and tannins
Tannins bind to proteins, including the insect’s own digestive enzymes. An animal that eats tannin-rich tissue ends up with impaired digestion and reduced nutrient uptake, so it may die of starvation rather than of a toxin. That is why tannins are classed as digestibility reducers rather than acute poisons.
Glucosinolates
Mustard, cabbage, and radish, the Brassicaceae, store glucosinolates together with myrosinase enzyme in separate compartments. When tissue is chewed the two mix, and mustard oils with a sharp sulphur bite are produced. The oils can damage cell membranes, and the smell alone is often enough to turn a caterpillar away.
Cyanogenic glycosides and proteinase inhibitors
Cyanogenic glycosides release hydrogen cyanide when the tissue is broken, which makes it toxic to cells across many animal groups. Proteinase inhibitors take a softer route, blocking the digestive enzymes an insect needs to extract protein from leaves, so the insect grows poorly despite eating steadily.
Constitutive and induced defenses
These are the plant’s two spending strategies. A constitutive defense is one that is always present, a permanent cost the plant pays whether or not it is attacked. An induced defense is built on demand, so the plant spends carbon only when it is actually needed. Many plants run both, with a baseline level always on and a much stronger response triggered by damage.
The trade-off is with growth. Carbon that goes into alkaloids, tannins, or thick cell walls does not go into new leaves, roots, or seed. This is usually described as the growth-defence-reproduction trade-off, and it is the main reason heavily defended plants often grow more slowly.
What Happens During a Local and Systemic Defense Response?
Once a plant has registered damage and insect saliva, the response runs in stages, and understanding them explains how plants defend themselves from insects far better than any single compound does.
The stages run from detection to signalling to gene activation to the compounds that actually bite back.
The jasmonic acid pathway
Jasmonic acid is the master signal for chewing insects and other tissue eaters. It is produced in the damaged tissue, moves to the rest of the plant, and binds transcription factors in the nucleus. In tobacco, jasmonate interacts with MYC family transcription factors, which in turn switch on further jasmonate production and a large set of defense genes.
That amplification step matters, because it turns a small initial signal into a large output.
The salicylic acid pathway
Salicylic acid is the main signal for pathogens that feed on living tissue, such as fungi and bacteria. It reaches the leaves through the phloem and works through a regulatory protein called NPR1, which releases transcription factors that drive pathogen-defense genes. This pathway is the one behind systemic acquired resistance, where an infection in one part of the plant makes distant, untouched tissue resistant to the same pathogen.
The trade-off between the two
A study by Nagoya University researchers, published in Cell Reports, identified NPR1 as a molecule that activates the salicylic acid pathway while suppressing the jasmonate pathway. That is the part that surprises people: a plant leaning toward defending itself against disease can end up less well defended against caterpillars.
Working out how to separate the two routes is central to breeding crops that resist both insects and disease.
Alarm volatiles and priming
Damaged leaves release a volatile blend, and methyl jasmonate is often part of it. That signal has two effects. It can trigger systemic acquired resistance in the whole plant, so leaves the insect has not reached yet are already harder to digest.
And it primes distant tissue, leaving it in a state where the same signal produces a faster, stronger response. Priming is cheap insurance: the plant holds a lower baseline and reacts harder when needed.
Priming also changes behaviour rather than only chemistry. In a study that circulated widely through science news, tomato plants treated with a defence-eliciting chemical had their caterpillars turn on each other, with the plant’s alarm signal pushing them into cannibalism. It is a striking demonstration that a plant’s response is not only about what survives on the leaf.
Defence plasticity
The strength of the response varies with the attacker, the timing, and the plant’s history. A plant attacked by two different caterpillar species can produce a response tuned to the more damaging one, a form of defence plasticity that Wageningen University and Research lists as a core research theme.
History matters too, because a plant that has been attacked before often responds faster the next time.
How Do Indirect Defenses Protect Plants?
Some of the most interesting plant defenses do nothing to the insect that triggered them directly. Instead, they recruit third parties, which is why these strategies are called indirect defense.
Volatiles that summon parasitoid wasps
Parasitoid wasps lay their eggs inside or on a caterpillar, and the larvae eventually consume the host. The caterpillar’s saliva and the plant’s own chemistry guide the wasp to the plant, and the wasp narrows in on the exact blend released by damaged tissue.
Work published in PLOS ONE showed this recruitment clearly, and it has since become one of the best-understood routes from plant chemistry to biological control. Each plant species tends to produce a distinct ratio of compounds, so predatory and parasitoid insects can learn to associate one signature with a meal.
Extrafloral nectar and ant guards
Some plants produce sugar-rich nectar from glands outside their flowers, which exist purely to attract ants. Ants patrol the plant and drive off herbivores, sometimes aggressively.
The plant pays in sugar and in the losses from ants tending other insects, but the trade can be worth it. Ants are also known to clear honeydew-producing insects from plants, which makes this a useful but imperfect partnership.
Domatia and shelter
Domatia are small structures on leaves or stems where mites live. They are usually hollow and offer shelter or food, and the mites in turn eat herbivorous mites and eggs on the plant. These are known from tropical and temperate species in many families and are cheap for the plant compared with building more chemical defense.
Signals that cross between plants
Some of the same volatiles drift beyond the plant’s own canopy, and neighbouring plants have been shown to pick up information from them. Claims about plant-to-plant communication are often overstated, so it is worth being careful.
Laboratory work and some field studies support the idea that released volatiles can alter the behaviour of predators and can prime neighbouring plants, but the scale of the effect in open fields varies and is not settled.
Why Do Some Insects Still Succeed?
Every defense in this article has been met with a counter-strategy by insects, usually over millions of years of co-evolution. Understanding this is the difference between describing defenses and understanding why they hold or fail.
Detoxifying enzymes
The most direct answer to plant toxins is an enzyme that breaks them down. Many caterpillars, beetles, and sawflies carry cytochrome P450 enzymes that oxidise plant compounds into forms that are easier to excrete.
The interesting development is that insects sometimes borrow the plant’s own machinery: certain caterpillars have been found carrying copies of plant genes for glycoside transferase enzymes, which lets them hydrolyse glucosinolates before the plant can use them against it.
Instead of avoiding toxins, specialists store them. A leaf beetle that eats a toxic plant and accumulates the toxin in its own body tissue deters anything that tries to eat the beetle.
Monarch caterpillars do this with cardenolides from milkweed, and many sawflies and ladybirds do the same with other compounds. The plant pays for the toxin whether or not the herbivore is harmed, and the specialist converts that cost into protection for itself.
Tolerance and steering
Some herbivores are not harmed by a compound at all. They either lack the receptor the compound targets or repair the damage it causes faster than it accumulates. Others stay small and hide in leaf whorls, which avoids growing through the most defended tissue, or move between plants so no single plant mounts a full response.
Manipulating the signal
The most sophisticated insects go after the signalling itself. Some herbivores reduce their own oral secretions, which weakens the cue the plant relies on and produces a muted response. Others, the parasitised caterpillars already mentioned, change the composition of their saliva through a virus, altering which defense pathway the plant switches on.
The general pattern is that generalists are stopped by the broad mix of chemicals and physical barriers, while specialists with a matching counter-adaptation find the plant that others cannot eat. That is the raw material on which crop breeding and integrated pest management are built.
How Can People Study Plant Defenses Against Insects?
Anyone with a garden, a glasshouse, or a university lab can study this, and the good news is that the core experiments are straightforward.
Set up a controlled feeding treatment
Standard practice is a no-choice or two-choice assay. In a no-choice assay you place one insect on a leaf and record how much tissue is consumed over a set period. In a two-choice assay you offer a treated leaf and an untreated one and record which the insect prefers.
For studying induced defense specifically, you damage some plants with a sterile probe or a standard caterpillar species and leave others untouched, then compare them at a fixed interval.
Measure damage rather than guessing at it
Leaf area loss, leaf weight loss, and images analysed with simple image software are the usual measures. Growth rate and pupal mass are better for species that survive the feeding, because they reveal effects that eaten area does not show.
Measuring the insect rather than only the plant is what separates a mild deterrent from a genuinely toxic compound.
Sample the chemistry
Leaves are harvested, flash-frozen, ground in liquid nitrogen, and extracted for analysis by high-performance liquid chromatography or gas chromatography with mass spectrometry. The extraction step has to match the compound class, because alkaloids and terpenoids need very different solvents.
Jasmonic acid and salicylic acid levels are usually measured alongside, since they indicate whether the signalling pathway actually fired.
Watch the natural enemies
For indirect defense, the assay is behavioural. Sticky cards and pitfall traps in a field or cage record what arrives after damage. Volatile collections in the field and identified by gas chromatography mass spectrometry can be compared against a healthy plant. Work at Wageningen University and Research uses a parasitoid virus delivered through caterpillar saliva as a deliberate way of changing the plant’s response, which is a good model for how specific these experiments must be.
Read field and glasshouse results differently
Glasshouse work gives clean numbers but removes the soil microbes, the other plant species, and the weather that shape real responses. Field trials capture those but mix in unrelated factors. The standard scientific conclusion is that a defense which looks strong in a glasshouse may be weak in a field.
If a claim about plant defenses cannot say which setting produced it, treat it with care.
What Are the Main Plant Defense Strategies at a Glance?
| Defense strategy | How it works | When it acts | Representative examples |
|---|---|---|---|
| Physical barrier | Makes feeding physically hard or painful | Always present | Waxy cuticle, rose thorns, grass silica |
| Structural trap | Gums up or impales the insect | On contact | Sticky trichomes on wild tomato, latex of fig and milkweed |
| Acute toxin | Attacks the nervous system or cells | Chewed tissue releases it | Nicotine in tobacco, pyrethrins in pyrethrum |
| Repellent and antifeedant | Bad taste or smell stops feeding | On chewing | Terpenes, glucosinolate mustard oils in Brassicaceae |
| Digestibility reducer | Binds proteins and blocks enzymes | After ingestion | Tannins, proteinase inhibitors |
| Signalling and induced genes | Switches on thousands of defense genes | Within minutes to hours | Jasmonic acid pathway, salicylic acid pathway |
| Priming | Holds untouched tissue in a heightened ready state | After local damage | Systemic acquired resistance, volatile alarm signals |
| Indirect defense | Recruits a third party that attacks the herbivore | Within hours | Parasitoid wasp recruitment, extrafloral nectar, domatia |
| Active deception | Makes a plant look unsuitable or already occupied | Before or during egg laying | Egg mimicry on passionflower leaves, nicotine applied to leaves |
A secondary metabolite is any plant compound that is not part of growth or energy storage and usually has a defensive or signalling role. A trichome is a single plant hair, either non-glandular and pointed, or glandular and sticky. NPR1 is a regulatory protein central to salicylic acid signalling.
Constitutive means always present, while induced means built in response to attack. Herbivory is the act of an animal eating plant tissue.
What Should Readers Remember About Plant Immunity?
The single most useful idea to carry away is that plant immunity is not a wall. It is a shifting set of investments that a plant raises, lowers, and re-aims depending on what is attacking it, how much, and what else it needs the carbon for.
Defense costs energy, and the plant makes that trade continuously.
The second point is practical. Nothing a plant makes is aimed at you. The toxicity in a plant is a by-product of a chemical that happens to disrupt insect nerves or cells, which is why the same compound can be mild, serious, or fatal depending on dose, species, and route of exposure.
Handle plants you cannot identify as you would handle any unfamiliar plant, keep botanical extracts away from children and animals, and follow the label on any product you buy.
There is a longer history underneath all of this. Neem, pyrethrum, tobacco, and many African and tropical plants have been used against insects long before the chemistry was understood, and traditional knowledge has repeatedly pointed at plants whose defensive chemistry turned out to be useful to science. Much of that accumulated knowledge sits in ethnobotanical records, though how it was tested and by whom varies a great deal from one tradition to the next.
One caution belongs here too. Natural does not mean harmless. Pyrethrins and neem-derived products are plant-made and still kill bees and beneficial insects if they are sprayed at the wrong time, and they are toxic to fish and to pets in concentrated form.
Frequently Asked Questions
Do plants feel pain when insects eat them?
Nobody can show that plants feel pain in the sense humans do, because pain requires a nervous system and a brain, and plants have neither. What plants do have is damage detection and a chemical response to that damage, which is a different thing entirely. Leaves release alarm signals, defense genes switch on, and protective compounds accumulate. Calling that response pain is a metaphor, not a scientific claim, and it is worth watching the metaphor turn into nonsense.
What is the strongest defense a plant can have against insects?
There is no single strongest defense, because the answer depends on the insect. A thorn stops a large browsing animal and does nothing to an aphid, and a glucosinolate in a brassica repels a generalist caterpillar while a specialist wasp uses it to find its host. In practice the strongest plants are the ones layering several strategies, so a physical barrier, a chemical mix, and a signalling response together cover more attackers than any single compound.
Can plants communicate when an insect attacks them?
Yes, in a limited and well-defined sense. A damaged leaf releases volatile compounds that can alert the rest of the same plant, causing distant tissue to become harder to digest, and those same volatiles guide parasitoid wasps and predators to the caterpillar. Signals also pass beyond the plant, although how far that reaches in an open field is still unsettled. The plant does not send a message with intent; the message is a chemical consequence of damage.
Does a plant release chemicals that harm the insect?
Yes, and this is the central mechanism of chemical defense. Chewed tissue releases stored alkaloids, terpenes, tannins, and glucosinolate mustard oils, and each attacks the insect in a different way. Nicotine-type alkaloids hit the nervous system, pyrethrins disrupt sodium channels, tannins block digestive enzymes, and mustard oils damage cell membranes. Some insects resist all of it, which is why specialists can eat plants that stop other species.
Are plant defense chemicals safe for people to touch?
They are not automatically safe. Plant defense compounds are designed to disrupt cells and nerves, and people who handle concentrated extracts of pyrethrum, neem, or tobacco can experience irritation or more serious effects. A normal touch on an ordinary garden plant rarely causes harm, but that is different from applying a concentrate. Wash hands after handling, keep extracts away from children and animals, follow the label, and never assume a traditional use makes something safe.
How do researchers measure insect resistance in plants?
Researchers feed known numbers of insects to treated and untreated plants and record leaf area loss, insect weight gain, development time, and survival, then compare the two groups. They also sample leaf chemistry for defensive compounds and hormone signals, and use traps and volatile analysis to track predators and parasitoid wasps that are recruited. Glasshouse work gives clean numbers, field trials show what really happens, and results from the two often differ.


