Bug Identifier
Onion Fly (Delia antiqua)
fly

Onion Fly

Delia antiqua

A slender gray fly closely related to houseflies whose white legless larvae bore into onion bulbs, feeding in clusters within a single rotting bulb.

Size
Adult about 1/4–1/3 in (6–8 mm); larva up to 1/3 in (8 mm)
Habitat
Onion, garlic, leek, and other allium plantings in cool, moist soil
Danger
Nuisance pest

Spotted a bug like this?

Identify any bug or insect from a photo, free.

Overview

The onion fly is a specialist pest of cultivated alliums, particularly onion, but also affecting garlic, leek, shallot, and related crops. The adult resembles a small, bristly gray housefly and is most active in cool, moist spring weather, when females seek out young onion plants to lay eggs in the soil near the base of the bulb.

Unlike some root maggots that develop singly, several onion fly larvae often feed together within a single bulb, and heavily infested bulbs can develop soft rot as secondary organisms take advantage of the damaged tissue. Because the larvae work beneath the soil surface, the first visible sign is often yellowing or wilting foliage on an otherwise healthy-looking planting.

The species is closely related to other root maggot flies in the genus Delia and shares a similar overall life cycle and cool-weather activity pattern, though it is specifically adapted to allium host plants.

How to Identify

  • Adult fly slender and grayish, resembling a small housefly, about 1/4–1/3 in (6–8 mm) long with noticeable bristles on the body
  • Wings clear, held flat over the abdomen at rest
  • Larva is a slender, tapering, legless white maggot up to about 1/3 in (8 mm) long, typically found in clusters within a single bulb
  • Puparium is a small, oval, reddish-brown capsule found in soil near infested bulbs
  • Yellowing, wilting foliage on young onion plants combined with a soft, tunneled bulb underground is a strong indicator of onion fly activity

Habitat & Range

Found across temperate onion-growing regions of Europe and North America, wherever alliums such as onion, garlic, leek, and shallot are cultivated. Adults are most active during cool, humid spring weather and again, in some regions, in a smaller generation in late summer, with larvae developing in the soil around bulbs throughout the growing season.

Behavior & Diet

Adult flies are attracted to allium plantings by characteristic sulfur-containing plant compounds and lay eggs in the soil at the base of young plants, often favoring recently transplanted or thinned onions where injured tissue emits stronger cues. Larvae tunnel into the bulb and feed together, sometimes moving from a dying plant to attack a neighboring healthy one. As a specialist herbivore of cultivated alliums, its ecological role outside of crop settings is limited, though it is subject to predation and parasitism by various soil-dwelling natural enemies.

Life Cycle

Development is complete metamorphosis, typically with two to three generations per growing season in temperate climates. Eggs are laid in soil near host plants and hatch within about a week; larvae feed inside the bulb for two to three weeks before leaving to pupate in the surrounding soil. The final generation usually overwinters as a pupa in the soil, with adult flies emerging the following spring to begin the cycle again.

Frequently asked questions

How can onion fly larvae damage a whole planting so quickly?

Several larvae often feed together inside a single bulb, and after killing one plant they can move through the soil to attack neighboring onions, allowing damage to spread along a row.

What is the first visible sign of onion fly activity above ground?

Yellowing or wilting foliage on an otherwise healthy-looking young onion plant is often the first sign, since the real damage is happening to the bulb below the soil surface.

Are transplanted onions more attractive to onion flies than seeded ones?

Yes, recently transplanted or thinned onions tend to release stronger plant odor cues from injured tissue, which can make them especially attractive to egg-laying females.

Which crops besides onion are affected by this fly?

Garlic, leek, shallot, and other cultivated alliums can also serve as hosts, since the larvae are adapted to feed on bulb and root tissue across this plant group.

Onion Fly guides

In-depth guides for identifying, understanding, and living alongside Onion Fly.