Celery Leaf Mining Fly is a common pest that affects celery, celeriac and lovage in Scotland. Here is what it looks like, how to spot the damage, and which controls have been tested.

What does it look like?

Adults are light brown to black flies with a yellow thorax, about 5mm long. Larvae are white, legless, headless maggots that feed in groups within the leaf, growing up to 7mm.

The maggots themselves are rarely what you spot first: the mines they leave, pale green blotches that dry to brown and papery, are the visible sign, and they're distinctive enough on celery, celeriac, lovage, angelica or parsley to be a confident diagnosis without needing to find a larva.

What causes it

Females cut small nicks into the leaf surface to lay eggs; the larvae that hatch tunnel between the leaf surfaces to feed, which is what produces the mine. That mechanism is the same in every generation, so there's no single narrow trigger window the way a weather-driven pest has: mining follows wherever eggs have just hatched, which keeps happening as each generation runs into the next.

Is this pest active now?

Early May through autumn is the practical window, with two overlapping generations rather than one clear peak. Check leaves through both: a mine that started with the first generation and a fresh one from the second can end up on the same plant by late summer, so a clean check earlier in the season is no reason to stop looking later on. The May start date is a UK-wide figure, not a Scottish one specifically, and may run a little later here after a slow, cold spring.

🌱 Plants at risk

Celery Leaf Mining Fly also affects these crops:

Symptoms

Large, pale green blotches on the leaves dry up and turn brown and papery, giving a scorched look. On young plants hit by the first generation, this can cause a serious check to growth, sometimes leaving smaller plants with a bitter flavour.

Life cycle

At least two generations a year. After feeding, larvae pupate either inside the mine itself or in the soil below, and pupae can overwinterKeeping a plant alive and intact through the cold months, whether left outdoors, moved under cover, or stored dormant. Full definition → in either place, ready to emerge as adults the following spring, which is exactly why where a host crop was grown last year matters for this one.

Why this matters in Scotland

The risk here comes from what's grown nearby, not from Scotland's weather.

Celery, celeriac, lovage and angelica are all hosts, and all four are plants a herb or vegetable grower here might reasonably fit into the same bed or the same corner of a plot. Related wild flowers count as hosts too, common hogweed especially, a plant found on roadsides and hedgerows across most of Scotland, so a hedge or rough verge next to the garden can act as a standing reservoir that mesh and rotationMoving each crop family to different ground each year, on a multi-year cycle, so pests and diseases that build up in soil don't get a repeat host. Full definition → inside the bed do nothing about. This is common hogweed (Heracleum sphondylium), not the much larger giant hogweed that causes bad skin burns and needs careful handling: worth being clear about the difference before telling anyone to go looking for it nearby. Since pupae can also overwinter right in the soil the mines fall into, growing several cultivated hosts together without rotating them adds a second route back in.

Controls: what actually works

All the methods below are backed by real evidence, not just repeated folklore.

✓Evidence-based

Insect-proof mesh: grow under fine mesh from the start, combined with crop rotation

Mesh stops females laying eggs on the foliage in the first place. Crop rotation has to go alongside it: without it, adults can emerge from pupae already overwintering in the soil and end up trapped under the netting with the crop, doing more harm than good.

Mesh only controls what's inside it. Related wild flowers count as hosts too, hogweed especially, so a hedge or rough verge next to the plot can keep supplying flies indefinitely no matter how well the bed itself is protected.

✓Evidence-based

Remove affected leaves: pinch outRemoving the soft growing tip of a stem to stop upward growth and make the plant branch out sideways instead. Full definition → and destroy mined sections as soon as they're spotted

Regular checking through summer catches mines early, while they're still confined to a small section that can be pinched out rather than the whole leaf.

✓Evidence-based

Bury badly affected leaves deeply rather than composting them

Deep burial destroys pupae that would otherwise overwinter in the mine and re-emerge as next year's first generation.

✓Evidence-based

Encourage natural predators: parasitoid wasps and birds such as blue tits

Both feed on the larvae and provide a genuine measure of biological control without any intervention needed.

✓Evidence-based

Tolerate light mining on established plants

On a well-grown plant with leaves to spare, leaving a mined leaf where it is rather than pinching it out is a genuine option too, not just a lack of effort: an intact leaf, mine and all, still photosynthesises for everything around the damaged section. Pinching out matters more on a plant that doesn't have much spare leaf yet to begin with.

Contains affiliate link
Garden insect mesh netting, 1mm ultra-fine
A barrier against the egg-laying females stops the maggots that tunnel through the leaves before they start.
View on Amazon UK →
Planting CalendarGet your sowing and planting dates rightMany pests hit hardest at the seedling stage. Time your sowing to give plants the strongest start.
→

Myths about celery leaf mining fly

6 common claims about celery leaf mining fly, checked: 4 busted2 disputed0 untested0 hold up

🐛✗ Tested and false

“Celery leaf mining fly is a celery problem, not something parsnip or celeriac growers need to worry about”

The fly's dedicated pest guidance names parsnip, celeriac, parsley and lovage alongside celery as hosts damaged in the same way, by the same larvae mining between the leaf surfaces. A bed that mixes any of these crops, or sits near common hogweed, spreads the risk across more than one vegetable rather than confining it to celery.

Our read The name is misleading on its own: it points at one crop when the pest's actual host range in cultivation is at least five plants, four of them common allotment vegetables and herbs.

What to do: Treat parsnip, celeriac, parsley and lovage as being at the same risk as celery, and rotate all of them together rather than assuming only the celery bed needs mesh.

In Scotland: Common hogweed grows on roadsides and rough verges across most of Scotland and is a wild host, so a bed backing onto a hedge or verge can keep reinfesting itself no matter how the cultivated hosts are rotated.

1 source
  • RHS, Celery leaf mining flyParsnips, celeriac, parsley, lovage and related wild flowers are similarly damaged by this insect alongside celery.
🐛✗ Tested and false

“Once you've dealt with the early-summer leaf mines, the celery fly is done for the year”

There are at least two generations in a single season, running from early May into autumn, and the second generation is typically more numerous than the first. A clear leaf in July is no guarantee the plant stays clear into September, since a fresh batch of eggs can start a second round of mining on the same plant.

What to do: Keep checking leaves through the whole May-to-autumn window rather than stopping after the first clean-up, and treat a quiet patch mid-season as a pause, not the end of the problem.

1 source
  • RHS, Celery leaf mining flyThere are at least two generations during the year, mining between early May and the autumn, with the second generation more numerous than the first.
🐛✗ Tested and false

“Putting mesh over the plants once you spot the first mines will stop the fly”

Mesh works by stopping females laying eggs on the foliage in the first place, so it has to be in place before egg-laying starts, not added after mines are already visible on the leaves. Fitted late over soil that already holds overwintering pupae, mesh can trap newly emerged adults inside with the crop instead of keeping them out, which is worse than no mesh at all.

Our read This is why crop rotation has to run alongside mesh rather than mesh alone: without it, mesh fitted over the same ground each year risks sealing flies in with the plants they're meant to be kept off.

What to do: Fit mesh before the first generation is due in May, on ground that wasn't growing a host crop the previous year, and keep it on through the season rather than adding it reactively once mines appear.

1 source
  • RHS, Celery leaf mining flyGrowing under insect-proof mesh from the start prevents egg laying; crop rotation must be practised alongside this, otherwise adult flies may emerge from overwintered pupae in the soil and be trapped under the netting.
🐛✗ Can trap the pest in with the crop

“Covering celery with insect-proof mesh keeps leaf mining fly off, even if it's grown in the same bed as the year before”

Mesh only works when paired with rotation. Skip the rotation and any adult flies emerging from pupae that overwintered in that same soil hatch out underneath the netting, sealed in with the crop rather than kept off it — mesh over an un-rotated bed can be worse than no mesh at all.

What to do: Move celery, celeriac and parsnip to a fresh bed each year, then add insect-proof mesh on top of that rotation, not instead of it.

1 source
  • RHS, 'Celery leaf mining fly'Crop rotation must be practised in conjunction with this method, otherwise adult flies may emerge from overwintered pupae in the soil and be trapped under the netting.
🐛⚖ Sources disagree

“Every mined leaf has to be pinched out immediately or the plant will be ruined”

Guidance for this pest frames it as tolerable in a healthy garden, since a leaf that's mined but otherwise intact still photosynthesises around the damaged patch. The real exception is the first generation hitting a young plant, which can cause a serious check to growth, so the case for pinching out is much stronger on a small plant with little leaf to spare than on a well-grown one.

Our read Treat this as a judgement call tied to plant size and the generation involved, not a blanket rule either way: automatic removal on a mature plant wastes healthy leaf tissue, while ignoring mines on a young plant risks the one documented growth check.

What to do: On young plants hit by the first generation, pinch out mined sections promptly. On established plants with leaves to spare, light mining from later generations can be left alone.

1 source
  • RHS, Celery leaf mining flyLeaf miners are part of a healthy garden ecosystem and some damage can be tolerated, though the first generation can cause a serious check to growth; pinching out affected leaf parts is the control given for uncovered plants.
🐛⚖ Sources disagree

“Pulling off mined leaves and putting them straight on the compost heap deals with the pest”

The specific advice for badly affected leaves is deep burial, to destroy the pupae that overwinter inside the mine or in the soil beneath it, not composting. A typical garden compost heap won't reliably reach the depth or sustained heat needed to kill pupae the same way burial does, so leaves going straight into an open bin can let some of them survive to emerge the following spring.

Our read This isn't a directly tested comparison between burial and composting, but the specific recommendation for burial rather than general disposal is a strong signal that ordinary composting isn't treated as equivalent.

What to do: Bury badly mined leaves deeply at the end of the season rather than adding them to an open compost heap, especially where the same bed will grow a host crop again.

1 source
Tested and false Sources disagree Never tested Evidence supports it

Frequently asked questions

What should I do first if I find celery leaf mining fly in my garden?

Start with insect-proof mesh. After that, remove affected leaves. Work through the rest in order of how well-evidenced they are if the first two aren’t enough on their own.

Will celery leaf mining fly kill my plants?

They rarely kill established plants. The damage is usually cosmetic on outer leaves, and natural predators often bring numbers under control without you doing anything.

When are celery leaf mining fly most active in Scotland?

Check the seasonal activity section above. Scottish timings can run a few weeks behind the UK-generic figures.

Should I just leave celery leaf mining fly alone?

In most gardens, yes. celery leaf mining fly are food for birds, wasps and predatory insects, and a healthy garden carries some without trouble. Tolerance is also RHS's official position now, for that same reason.

Sources

1 source, recorded with what each was used for
  • RHS1: adult and larva identification, mine appearance and progression, host plants named on this fly's own page (celery, celeriac, parsnips, parsley, lovage, related wild flowers), tolerance framing with a growth-check exception for the first generation, two generations a year and their relative timing and severity, pupation and overwintering in the mine or soil, insect-proof mesh and crop rotation, hand removal, burying affected leaves, natural predators, absence of a pesticide recommendation