onion flyDefinition of onion fly noun a small fly whose larvae are a pest of onions. The European Delia antiqua (family Anthomyiidae), and the American Tritoxa flexa (family Otitidae), which also attacks garlic