Skip to main content

Onion Maggot Fly

Delia antiqua

Major NA/European onion pest. Larvae detoxify the SULFUR COMPOUNDS that make onions burn human eyes.

Curated and rated by Sheriff Six-Legs and The Wild Pest field team · Six Legs Score™ (78/100, Outlaw tier) · Published Apr 25, 2026 · Updated Apr 28, 2026 · Released CC BY 4.0

78Six Legs
Six Legs Score™
78 / 100

The onion maggot fly is one of the most economically important PESTS OF ONION AND ALLIUM CROPS in North America and Europe — sister species to the cabbage maggot fly (Delia radicum, see Wild Files), specialized for onion-family plants instead of brassicas. Larvae burrow into onion bulbs, garlic cloves, leeks, and shallots, causing direct bulb damage and providing entry for secondary fungal and bacterial bulb-rot pathogens. The species detoxifies the SULFUR-CONTAINING DEFENSIVE COMPOUNDS (allicin and related thiosulfinates) that defend Allium plants from most other herbivores — the same compounds that give onions and garlic their characteristic eye-watering pungency.

An onion maggot fly (Delia antiqua), small drab gray fly resembling a small housefly, six legs, side profile.
Onion Maggot FlyWikimedia Commons · CC BY-SA 4.0
Size
Adult 5-7 mm; larva 5-8 mm
Lifespan
Adult 4-6 weeks; larva 3-4 weeks; multiple generations per year
Range
Native to Eurasia; widespread across all temperate onion-producing regions of the northern hemisphere — NA, Europe, parts of Asia
Diet
Larva: onion bulb, garlic clove, leek, shallot tissue. Adult: nectar.
Found in
Onion fields, garlic fields, leek fields, vegetable gardens across temperate NA and Europe

Field guide

Delia antiqua — the onion maggot fly — is one of the most economically important PESTS OF ONION AND OTHER ALLIUM CROPS in North America and Europe and one of about 270 species in genus Delia (the root maggot flies — same genus as the cabbage maggot fly Delia radicum, also in the Wild Files). The species is widespread across all temperate onion-producing regions of the northern hemisphere. The species is native to Eurasia and was likely introduced to North America during early European colonization with allium crop seeds. Adults are 5-7 mm long, with the species' diagnostic features: small drab gray houseflies — superficially identical to cabbage maggot flies and closely related Delia species (positive identification typically requires examination of larvae feeding on Allium hosts rather than adult morphology). Larvae are creamy-white legless 'maggots' (5-8 mm when fully grown) that BURROW INTO ONION BULBS, GARLIC CLOVES, LEEKS, and SHALLOTS. The species attacks all major Allium crops — ONION (the most cited host — both bulb onions and green/scallion onions), GARLIC, LEEK, SHALLOT, and to a lesser extent CHIVES and ORNAMENTAL ALLIUMS. Damage: female flies lay eggs at the base of allium plants in spring soil; eggs hatch and larvae burrow into the developing bulb or basal stem tissue, tunneling through the bulb interior over 3-4 weeks. Damaged bulbs show wilting, yellowing, plant collapse, and (most economically important) PROVIDE ENTRY POINTS FOR SECONDARY BULB-ROT PATHOGENS — bacterial soft rots and fungal diseases that cause complete bulb collapse and turn affected bulbs into mushy decomposing masses unsuitable for harvest. Annual ECONOMIC LOSSES to onion maggot fly in NA and European onion production total HUNDREDS OF MILLIONS OF DOLLARS. The species is one of the most-cited examples of evolutionary specialization to overcome plant chemical defenses. Allium plants defend themselves from most herbivores using SULFUR-CONTAINING DEFENSIVE COMPOUNDS — ALLICIN (the major defensive compound in garlic, formed when garlic cells are damaged) and related THIOSULFINATES that give onions, garlic, leeks, and other alliums their characteristic eye-watering pungency. Most insects cannot tolerate the sulfur chemistry and avoid feeding on Alliaceae. ONION MAGGOT FLY LARVAE HAVE EVOLVED SPECIALIZED ENZYMES that DETOXIFY THE SULFUR COMPOUNDS — converting allicin and thiosulfinates into non-toxic metabolites that the larva can excrete safely. The detoxification system is similar to (but biochemically distinct from) the glucosinolate detoxification system of the related cabbage maggot fly. The species is the foundational case study in modern textbook discussions of allium-pest biology and is featured in essentially every modern textbook discussion of root-feeding fly pests. The species is harmless to humans (no bite, no sting) but is a major economic pest of NA and European onion production.

5 wild facts on file

Major economic pest of ONION AND OTHER ALLIUM CROPS in NA and Europe — onion, garlic, leek, shallot, chives. Annual losses total HUNDREDS OF MILLIONS OF DOLLARS across major onion-producing regions.

AgencyFAOShare →

Larvae detoxify SULFUR DEFENSIVE COMPOUNDS — allicin and thiosulfinates — that defend Allium plants from most other herbivores. Same chemistry that makes onions burn human eyes.

AgencyRoyal Entomological SocietyShare →

Larval feeding wounds PROVIDE ENTRY POINTS for SECONDARY BULB-ROT PATHOGENS — bacterial soft rots and fungal diseases that cause complete bulb collapse. Combined damage often more economically significant than direct feeding.

AgencyUSDA Agricultural Research ServiceShare →

Sister species to the CABBAGE MAGGOT FLY (Delia radicum) — both major Delia root-feeding pests, but specialized for different host plant families (onion maggot on Alliaceae, cabbage maggot on Brassicaceae).

AgencyRoyal Entomological SocietyShare →

Adults look like small drab gray HOUSEFLIES — superficially identical to cabbage maggot flies and closely related Delia species. Positive identification typically requires examining larvae on host plants.

AgencySmithsonian InstitutionShare →
Cultural file

The onion maggot fly is the foundational case study in modern textbook discussions of allium-pest biology and one of the most-cited examples of plant chemical defense evasion in modern entomology. The species is featured in essentially every modern textbook discussion of root-feeding fly pests.

Sources

AgencyFAOAgencyUSDA Agricultural Research Service
Six’s Field Notes

Get a new wild file every Friday.

One bug. One fact you can’t un-know. Sheriff’s commentary. No filler. No ads. Unsubscribe anytime.