Skip to content

Allium Leaf Miner Control Guide UK

How to spot allium leaf miner, when to cover leeks, onions and garlic with fine mesh, and the simple tidy-up that stops it coming back.

Last updated: 19 October 2026

Allium leaf miner damage showing white mining trails on leek leaves in a UK vegetable garden Pests & Problems
Allium leaf miner is a tiny fly whose maggots tunnel into leeks, onions and garlic. It flies twice a year in the UK, in March to April and October to November. The best fix is fine insect mesh over your crops before each flight starts, edges sealed to the soil. There's no spray for home gardeners, so bin or burn infested plants rather than composting them.
Flight TimesMarch to April, October to November
First SignRows of tiny white dots on leaves
Best DefenceFine insect mesh, edges sealed
Infested PlantsBin or burn, never compost

Key takeaways

  • The fly comes twice a year, in March to April and October to November
  • Cover crops with fine insect mesh before each flight starts, not after you see damage
  • Rows of tiny white dots on the leaves are the first sign
  • Leeks, onions, garlic, shallots and chives are all at risk
  • Bin or burn infested plants, as the pests can survive a home compost heap
  • There's no spray approved for home gardeners, so mesh and a good tidy-up are your tools

Allium leaf miner is a tiny fly that has become a real headache for anyone growing leeks, onions and garlic. Its maggots tunnel through the leaves and hide in the stems. Often you won’t know until you cut a leek open at harvest and find it full of little brown cases.

There’s no spray for home gardeners, but don’t worry. Fine mesh at the right time, plus a good tidy-up, keeps your crops safe.

What is allium leaf miner?

It’s a small grey-black fly, about 3mm long, with a yellow or orange patch on its head. It’s smaller than a housefly and easy to miss. The female pricks the leaves to feed, leaving neat rows of white dots, and lays her eggs in some of them. The maggots then tunnel down into the plant.

How to spot allium leaf miner damage

The first sign is rows of tiny white dots running along the leaves. These are the feeding marks left by the female fly.

Allium leaf miner adult fly on an onion leaf showing grey-black body and orange head markings The adult fly is only about 3mm long. Look for the orange-yellow patch on its head.

Soon after, the maggots hatch and tunnel through the leaves, leaving wiggly trails. They’re small and pale. After a couple of weeks of feeding they head down into the stem or bulb to change into adults.

Rot often follows. The tunnels let in other problems. Onions can go soft and smelly at the base, and leeks turn slimy between the layers. This rot can spoil more of the crop than the maggots do.

Don’t confuse it with other pests. Onion thrips leave silvery streaks, not rows of dots. Leek moth caterpillars leave droppings and silky webbing, which allium leaf miner doesn’t. The RHS allium leaf miner page has more photos to compare.

When allium leaf miner strikes during the year

The fly comes twice a year, and timing is everything. Your crops only need protecting during these two flights. Miss the start and netting afterwards won’t help.

Spring flight, March to April. The adults hatch out as the soil warms up. It starts a bit earlier in the south and later in the north and Scotland.

Autumn flight, October to November. The young from spring grow up over summer and fly again in autumn.

Over winter. The autumn brood spends winter tucked inside plants and old debris, then flies the next spring. That’s why clearing old plants matters so much.

StageSpringAutumn
Flies aboutMarch to late AprilOctober to mid-November
Maggots feedingApril to MayOctober to December
Resting inside plantsOver summerOver winter
Next flightOctoberMarch next year

The big mistake: putting mesh on once you see white dots. By then, eggs are already laid. The mesh must go on before the flies arrive.

Allium leaf miner pupae visible inside a cut leek stem held by a gardener at a UK allotment Small dark brown cases tucked between the layers of a cut leek. Bin or burn any leek like this.

How to protect crops with insect mesh

Cover your crops with fine insect mesh before each flight starts. The holes need to be no bigger than 0.8mm. Ordinary butterfly netting is far too coarse to stop a fly this small. Enviromesh, Bionet and Wondermesh are the usual UK brands.

When to cover:

  • Spring: get the mesh on by early March in the south, mid-March in the Midlands and late March further north. Leave it on until the spring flight is over.
  • Autumn: cover by late September everywhere, and keep it on until late November.

How to fit it:

Hold the mesh up on hoops so it doesn’t rest on the leaves. Bury the edges in the soil or weigh them down well. Flies will find any gap at ground level. Our crop rotation planner can help you plan beds that are easy to cover.

Enviromesh insect netting protecting leek and onion rows on a UK allotment with gardener checking the cover Fine mesh over hoops keeps the flies off. Make sure the edges are tight to the soil.

Good mesh lasts several seasons if you store it out of the sun between uses. For a bed of leeks, it soon pays for itself.

Other ways to keep allium leaf miner down

Tidy up after harvest. This is the next most important job after netting. Check every stem as you lift it. If you find brown cases, don’t compost the plant, as home heaps rarely get hot enough to kill them. Bag it for the bin or burn it. On a busy allotment, clearing all onion-family debris by mid-December removes next spring’s flies.

Plant leeks out later. Leeks transplanted from late June miss the worst of the spring flight. They’ll be a bit smaller, so treat this as a backup rather than a replacement for mesh.

Why allium leaf miner is so common now

It’s a fairly new arrival to the UK, and it has spread fast. A few things help it along.

Milder weather. Warmer springs and autumns give the fly a longer season.

Few natural enemies. In its home range in Europe, tiny parasitic wasps keep it in check. They haven’t built up here yet, and there’s no biological control you can buy for it.

Ornamental alliums. Popular garden alliums like ‘Purple Sensation’ can host the fly without showing much damage. If you companion plant with ornamental alliums near your veg beds, they may keep the fly around.

The answer is simple, if not glamorous: mesh during both flights and a careful clear-up after harvest.

Allium leaf miner calendar

MonthWhat’s happeningWhat to do
JanuaryPests resting in old plantsClear any old onion-family debris
FebruarySpring flight getting closeGet your mesh and hoops ready
MarchSpring flies hatchCover crops before they arrive
AprilSpring flight at its peakKeep mesh tight, check for gaps
MayMaggots resting in stemsUncover once the spring flight ends
JuneNo flies aboutSafe to plant leeks without cover
JulyPests restingClear spent garlic and onion leaves
AugustPests restingCheck stored onions for rot
SeptemberAutumn flight getting closeCover crops by late September
OctoberAutumn flight startsKeep all onion-family beds covered
NovemberAutumn flight ends mid-monthKeep mesh on until late November
DecemberPests resting for winterBin or burn infested plants

For everything else to sow and plant through the year, see our UK vegetable planting calendar.

Common mistakes with allium leaf miner

Covering too late. The most common slip. If you can see white dots, the flies have already been. Mesh goes on in early March and late September.

Using the wrong netting. Butterfly netting won’t stop a fly this small. Buy mesh sold as insect mesh, with holes no bigger than 0.8mm. Household fly screen breaks down in the sun quickly, so skip it.

Composting infested plants. Home compost heaps don’t get hot enough to kill the pests. Bin or burn anything with brown cases inside.

Trusting crop rotation. The flies travel a long way, so moving the bed doesn’t help much. Rotation is good for soil diseases, but mesh is what stops this pest.

Now you know how to beat allium leaf miner, read our guide to growing leeks in the UK for sowing, planting out and blanching tips.

Frequently asked questions

What does allium leaf miner damage look like?

Look for rows of tiny white dots on the leaves. These are where the female fly has fed and laid eggs. Later you’ll see wiggly trails as the maggots tunnel in. Badly hit leaves turn brown and papery. Cut a stem open and you may find small dark brown cases tucked between the layers.

When does allium leaf miner fly in the UK?

It flies twice, in spring and again in autumn. The spring flight runs from March to late April. The autumn flight runs from October to mid-November. Spring attacks hit onions, garlic and young leeks. Autumn attacks mostly hit leeks and autumn-planted garlic. The south usually sees it a little earlier than the north.

Does enviromesh stop allium leaf miner?

Yes, fine mesh is the best way to stop it. Choose insect mesh with holes no bigger than 0.8mm. Put it on before the flies arrive: early March for spring and late September for autumn. Seal the edges well with pegs or by burying them.

Can I eat leeks with allium leaf miner damage?

Yes, once you’ve peeled off the damaged layers. Strip the outer leaves until you reach clean, healthy layers underneath. The pests aren’t harmful to you. A badly hit leek has less to eat, but the clean part tastes normal. Bin or burn the peelings so any pests inside don’t survive.

Does crop rotation prevent allium leaf miner?

No, rotation on its own won’t stop it. The flies can travel a long way, so moving your onion bed down the garden makes little difference. Rotation is still good for soil diseases. The real fix is mesh during the flight times, plus binning or burning infested plants.

Are there any chemical sprays for allium leaf miner?

No, there’s nothing approved for home gardeners. Your tools are fine mesh, good timing and a careful tidy-up after harvest. Those three together do the job.

Which allium crops does allium leaf miner attack?

It goes for all of the onion family. Leeks suffer most because they’re in the ground through both flights. Onions, garlic, shallots, chives and spring onions are attacked too. Ornamental alliums and wild garlic nearby can also host the fly.

allium leaf miner leek pest onion pest garlic pest vegetable pests enviromesh crop protection organic pest control

By Garden UK Editorial Team

Our team produces practical UK gardening guidance from source research, contributor records and established horticultural practice. Editorial standards are overseen by Matt W.

About our editorial team · How we work

Stay in the garden

Seasonal tips, straight to your inbox

One email a month. What to plant, what to prune, what to watch out for. No spam.

Unsubscribe any time. We never share your email. See our privacy policy.