Garden pest · Insect
Allium leafminer: how to spot them and stop them
The allium leafminer is an invasive fly whose larvae mine the leaves of leeks, chives, onions, and garlic and then move down into the stem and bulb. The first sign is a neat line of small white dots along a leaf, where females have punctured it to feed and lay eggs.
Phytomyza gymnostoma · Also called allium leaf miner, ALM · From university extension guidance, checked October 2026
How to identify allium leafminer
- Adult: a small fly about 1/8 inch (3 mm) long, with a yellow face and top of the head, yellow knees, and white balancers behind the wings. The female's abdomen tip is solid black; the male's has a yellow V-shaped mark.
- Eggs: pale and oblong, laid near the leaf tip. Only a small share of the punctures contain eggs.
- Larva: a yellowish-white, legless maggot up to about 5/16 inch (8 mm) long, found inside leaves, stems, or bulbs.
- Pupa: reddish brown, about 1/8 to 5/32 inch (3 to 4 mm) long, found inside the plant or in the soil next to it.
The damage they do
- A line of small round white dots on the leaf, usually from the middle toward the tip.
- Larvae mine inside the leaves, then move down into the leaf sheaths and bulbs to feed and pupate.
- Leeks and scallions can be badly mined and deformed.
- Feeding wounds let in fungi and bacteria that cause rot, and pupae left in stems make the harvest unusable.
Life cycle
There are two generations a year in the Northeast. Spring adults emerge from late March to late April, about when daffodils and forsythia bloom, and fly for 5 to 7 weeks; pupae then rest through summer, and a fall flight starts in September and can last into December. It spends the winter as pupae in host plants or nearby soil.
How to prevent them
Crop rotation helps with this one: move the crops it attacks to a different bed each year. Gardentasia remembers your last three seasons and flags a crop family coming back too soon. How the rotation planner works.
- Cover alliums with lightweight row cover or fine insect netting, edges buried, before each flight starts (March to April in spring, September in fall). Leave it on until about 8 weeks after the flight begins.
- Time plantings to miss the flights. Cornell suggests transplanting in late spring or summer and harvesting by early September.
- Plant garlic late in fall so it has little foliage during the fall flight: around November 1 in southeastern Pennsylvania, or about two weeks later than usual in colder areas. Still cover it in spring.
- Don't plant alliums in the same spot in back-to-back years, and plant them as far as you can from last year's alliums. The fly is not a strong long-distance flier.
- Clean up allium debris after each season. Covering the bed with clear plastic in spring for about a month can kill pupae in the soil.
- Scout scallions, chives, and wild onions or garlic in early spring for lines of white dots.
How to get rid of them
- Spinosad is the organic option. Start two or three sprays about 2 weeks after you first see flies or white dots, then repeat every 1 to 2 weeks. Follow the label.
- Allium leaves are waxy, so extension specialists recommend adding a penetrant or surfactant. Maryland Extension notes that neem oil can serve as a penetrant adjuvant. Follow the label.
- Commercial trials also found dinotefuran, spinetoram, and cyantraniliprole effective. Use only products labeled for your crop and site, and follow the label.
- Reflective mulch reduces infestation but is unlikely to prevent damage on its own.
Natural enemies
Parasitoid wasps. Flowers like dill, cilantro, calendula and sweet alyssum feed many of these predators; see the companion planting checker.
Allium leafminer: common questions
What are the rows of tiny white dots on my onion or leek leaves?
A neat line of small white dots is the classic sign of allium leafminer. Females puncture the leaf to feed on sap and lay eggs, and larvae later mine down into the stem and bulb.
When should I plant garlic to avoid allium leafminer?
Plant as late in fall as you can, around November 1 in southeastern Pennsylvania or about two weeks later than usual in colder areas. Late planting avoids the fall flight but not the spring one, so cover garlic with row cover in spring.
Where is allium leafminer found in the US?
It is native to Europe and was first found in North America in 2015 near Lancaster, Pennsylvania. It has since spread to Connecticut, Delaware, Maryland, Massachusetts, New Jersey, New York, Virginia, and Washington, DC.
Plan a garden that's harder to attack
Rotation, trap crops and flowers for predators all start with the plan. Gardentasia checks companions and rotation as you plant, each with the reason.
Open the free plannerFree, in your browser. No account, no download.
Sources
From university extension services and other horticultural authorities, checked October 2026: