Vegetable pests Not sure it is this pest? Use the Pest Finder in anee.io ›

Bean Fly: How to Spot It and Protect Your Bean Seedlings

The bean fly is a tiny shiny black fly whose maggots tunnel into the stems of bean, mungbean and cowpea seedlings. Young plants wilt, stop growing or die. This page shows how to spot the bean fly early and how to protect the crop in its first four weeks.

Ophiomyia phaseoli 8 min read Updated October 18, 2026 By the anee.io agriculture team Read it all with Libre + Anee
An adult bean fly, Ophiomyia phaseoli, a tiny dark fly, shown close up in a museum collection
Photo: Lonsdale O, Murphy ST, Scheffer SJ, CC BY 4.0, via Wikimedia Commons

What Is Bean Fly?

The bean fly (Ophiomyia phaseoli) is found across tropical and subtropical Asia. It attacks navy bean, adzuki bean, cowpea, mungbean and other legumes. The Pacific Pests fact sheet says soybean is not an important host. A wild weed, the phasey bean, is also a host.

Stop Bean Fly from costing you the harvest

Register for free to read the whole guide: how to be sure it is this pest and the damage it does. How to stop it and what to spray come with Libre + Anee.

The account is free, no credit card.