vuelta al huerto
Codling moth (apple worm)
MothShares your garden

Codling moth (apple worm)

Cydia pomonella

Also: apple worm, apple maggot moth, codlin moth

Likes your apples, pears and walnuts.

The one behind the "worm" in the apple. The caterpillar enters the fruit, heads for the seeds and leaves a hole with frass. Cardboard bands on the trunk, picking up fallen fruit and insect-eating birds keep it in check.

What to do: Protect your plants

In June, tie a band of corrugated cardboard around the trunk and check it every week; pick up fallen fruit; put up nest boxes for blue tits.

Flight months

Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Wingspan
1.5-2 cm
Generations
Two or three a year.
Where it lives
All over Spain, wherever there are apple, pear or walnut trees.

How long each stage lasts

Egg
1-2 weeks
Caterpillar
3-4 weeks
Chrysalis
2-3 weeks
Adult
2-3 weeks

How it transforms

It leaves the fruit, goes down the trunk and spins a cocoon under the bark; the last generation overwinters there as a caterpillar.

The caterpillar, stage by stage

  1. Pinkish white with a brown head, inside the fruit; at the end, up to 2 cm.

How to recognise it at every stage

Shares your garden

Likes your apples, pears and walnuts.

Life cycle: Complete metamorphosis: egg (1-2 weeks), caterpillar inside the fruit (3-4 weeks), chrysalis under the bark (2-3 weeks) and moth. Two or three generations; the last overwinters as a caterpillar in a cocoon.

Tap a stage to see it full size. The photos are AI reference images checked against real photographs; stages without a reliable photo are shown as text only.

Life-stage calendar

JanFebMarAprMayJunJulAugSepOctNovDec
Egg
Caterpillar (apple worm)
Cocoon and chrysalis
Moth

Approximate months for mainland Spain; in cold areas they start later and in warm areas they last longer. Garden creatures this month

  1. 1

    Egg

    · 1 mm
    Keep an eye on it

    Flat and translucent, like a little drop of wax on the leaf or fruit.

    Where to find it
    On leaves and small fruits of apple, pear and walnut.
    When: May–Aug
    What to do
    A pheromone trap tells you when the moths are flying.
  2. 2

    Caterpillar (apple worm)

    · Up to 2 cm
    Protect your plants

    Pinkish white with a brown head; it leaves a hole with dark frass in the fruit.

    Where to find it
    Inside the apple or pear, on its way to the seeds.
    When: May–Sep
    What to do
    Pick up the pierced and fallen fruit every week.
    Often confused with
    Fruit fly. The fly larva has no head or legs and leaves no frass; the codling moth caterpillar has a brown head. See profile
  3. 3

    Cocoon and chrysalis

    · 1-1.5 cm
    Protect your plants

    White silk cocoon with the brown chrysalis inside.

    Where to find it
    Under the bark of the trunk, in cracks and in the soil.
    When: Jun–Apr
    What to do
    Tie a band of corrugated cardboard around the trunk in June: the caterpillars hide there to make their cocoon. Check it and remove it in winter.
  4. 4

    Moth

    · 1.5-2 cm
    Keep an eye on it

    Grey with fine lines and a shiny coppery patch at the tip of each wing.

    Where to find it
    In fruit trees, at dusk.
    When: Apr–Sep
    What to do
    Bats and blue tits eat many of them: put up roost boxes and nest boxes.

Often confused with

  • Fruit fly. The fly larva has no head or legs and leaves no frass; the codling moth caterpillar has a brown head. See profile
Sources