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

Leafminer in Vegetables: How to Spot the Tunnels and Stop Them

Leafminer is a tiny fly whose maggots eat tunnels inside vegetable leaves. The white winding lines look like scribbles, and a heavy attack can strip a crop of its leaves. This page shows how to spot leafminer early and how to control it without killing its natural enemies.

Liriomyza sativae, Liriomyza huidobrensis 10 min read Updated November 29, 2026 By the anee.io agriculture team Read it all with Libre + Anee
A small black and yellow leafminer fly, Liriomyza, resting on a young leaf
Photo: Federico Figueroa Cabezas, CC BY, via iNaturalist

What Is Leafminer?

Leafminers are small flies of the genus Liriomyza. Two of them matter in Philippine vegetables: the vegetable leafminer (Liriomyza sativae) and the potato leafminer (Liriomyza huidobrensis). A third, the American serpentine leafminer (Liriomyza trifolii), attacks onion in Nueva Ecija, Nueva Vizcaya and Pangasinan.

Stop Leafminer 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.