Onion fly is a common pest that attacks onions, shallots, leeks and garlic in Irish vegetable gardens. The adult is a small grey fly, about 7mm long, that resembles a house fly. Females lay eggs in the soil near the base of onion family plants, and the resulting white maggots burrow into the bulb base, destroying it from within. Infested plants turn yellow and wilt, and when pulled up, the base of the bulb is found to be soft, rotting and riddled with small white maggots. There are typically two generations per year — the first in May-June and a second in July-August. Onion fly is attracted to the scent of onions, particularly when sets are planted or plants are thinned.
Onion fly larvae tunnel into the base of onion, shallot and leek bulbs, causing plants to yellow, wilt and collapse. Young plants are most vulnerable and may be killed outright. Mature onions develop soft rot at the base that spreads upward, ruining stored crops. Leeks become soft and mushy at the base. Garlic cloves are hollowed out. The damage creates entry points for secondary bacterial and fungal rots. Severe infestations can destroy an entire onion crop.
Cover onion beds with fine insect mesh from planting until harvest. Firm the soil well around onion sets after planting to reduce the scent that attracts adult flies. Avoid growing onions near the previous year's onion bed. Do not leave thinnings on the soil surface — remove them immediately. Grow onions from sets rather than seed, as sets are further advanced and less vulnerable. Interplanting with carrots may help — the onion scent deters carrot fly while carrot scent may confuse onion fly.
There are no effective treatments once larvae are inside the bulbs. Remove and destroy all infested plants promptly to prevent the maggots pupating in the soil and producing a second generation. Do not compost infested material. Cover remaining plants with insect mesh. Crop rotation helps break the cycle — avoid growing alliums in the same spot for at least three years. Encouraging natural predators including ground beetles and parasitic wasps helps reduce populations over time.
Onion fly is a widespread pest in Irish vegetable gardens, found in every county. The mild, moist conditions suit the pest well, and both generations can cause significant damage. Irish allotment holders and vegetable growers rank onion fly alongside carrot fly as one of the most problematic insect pests. The increasing popularity of garlic growing in Ireland has extended the range of host plants affected. Physical barriers (insect mesh) are the standard recommendation for Irish growers, as chemical controls are limited and of variable effectiveness.
As an Amazon Associate we earn from qualifying purchases.
Effective pest control solutions with free delivery across Ireland on orders over €75
Shop Now →