
Onion maggot
Small white legless fly larvae, 6 to 8 mm long, that tunnel into the underground bulb from the base plate. The adult is a slim gray fly, slightly smaller than a housefly, that lays eggs at the soil line near garlic and onion stems in spring.
Outer leaves yellow and wilt mid-season as the larvae feed on the bulb below. Pulled bulbs show soft rotting tunnels through the cloves and a stinking soft mass at the base plate. Damage is permanent and the bulb cannot be saved or stored. The harvest target is gone.
Float row cover from planting through fly emergence
Lay lightweight floating row cover (Agribon AG-19 or Reemay, ~$25 for 50 feet) directly on the bed at fall planting.
Anchor the edges with soil, sandbags, or landscape staples every 18 inches. Garlic stays short enough that the cover can rest on the leaves without hoops.
Leave covered through spring fly emergence (April to early May in most zones). Pull the cover only after soil temperatures rise above 70F, when the fly's first generation is past.
Rotate the bed at least 3 years away from any allium
Pupae overwinter in the soil where last year's garlic, onions, leeks, or shallots grew. Plant garlic in a bed that has not held any allium for 3 or more years. Same-bed replanting is the single biggest reason home growers lose a crop to onion maggot.
Pull and bag any wilting plants immediately
If a plant yellows and wilts mid-season, pull it the same day. The larvae move from one bulb to the next through the soil. Bag the plant and put it in the trash. Do not compost. Removing infested plants early protects the rest of the bed for the season.

