Insect pest · Spinach, Swiss chard, Beet, Lettuce, Tomato, Pea, Green bean (snap bean), Cucumber, Onion
Leafminers
Liriomyza spp. and Pegomya hyoscyami (fly larvae)
Tiny fly maggots that feed inside leaves, leaving winding trails or blotches; mostly cosmetic, but they spoil spinach, chard and other leafy greens.
Do this today
Do this today
Pick off and destroy the mined leaves while damage is still light.[2]
What it looks like
- The clearest sign is a twisting, pale trail inside the leaf that gets longer and wider as the maggot grows.[1]
- Spinach leafminer makes blotch mines instead, narrow at first and then an irregular patch, common on spinach, chard and beet leaves.[2]
- Mines look whitish or see-through at first and later turn brown.[2]
- Adult females puncture leaves to feed, leaving tiny white speckles.[1]
- The maggots are small, yellowish and legless and live between the upper and lower leaf surfaces.[1]
Why it happens
- They are more active in warm weather; one generation takes only about two weeks, so several generations build up in a season.[1]
- In the North they overwinter as pupae in the soil and adult flies appear in April and May.[2]
- Insecticide sprays for other pests often kill the tiny wasps that keep leafminers down, leading to bigger outbreaks.[1]
How to confirm
Hold a damaged leaf up to the light. A pale trail or blotch between the leaf surfaces, sometimes with a small yellowish maggot inside, confirms leafminers.[1]
Could it be something else?
- Cercospora leaf spot: Cercospora makes round tan spots with reddish borders on the leaf surface; leafminer damage is a trail or blotch inside the leaf that you can sometimes peel open.
- Spider mites: Spider mites cause fine pale stippling all over, often with webbing; leafminer speckles come with trails or blotch mines.
Managing it
In the garden first
- Leafminers rarely need treatment in gardens; on root crops such as beets the leaf damage does not need treating.[2]
- Keep plants well watered and growing strongly, and clip off older mined leaves of greens.[1]
- Leave the natural enemies alone; tiny parasitic wasps often control leafminers on their own.[1]
- Pull weeds such as lambsquarters that also host leafminers.[2]
Organic options
- Spinosad can be effective with little harm to natural enemies, but it only stops egg-laying adults, not maggots already inside leaves. Use a product whose label lists your crop and follow the label.[2]
For certified-organic use, look for “OMRI Listed” on the label.
The label is the law. Use only a product whose label lists your crop and this problem, follow it exactly, observe the days between spraying and harvest, and check that the product is registered in your state.
Next season
Not sure it's leafminers?
Check your plant with Veggieaid
Photograph the damage, answer two to four questions, and see the likely causes ranked with how sure we are, each linked to its extension guide. When the evidence is thin, it says so.
Sources
- [1] UC Statewide IPM Program (University of California). Vegetable leafminers (home and landscape). Checked 2026-12-04.
- [2] University of Minnesota Extension. Leafminers. Reviewed 2023. Checked 2026-12-04.
Written in our own words from the guides above, which remain the work of their institutions; Veggieaid is not affiliated with them. This is general information, not a lab test. For a definite answer, your county extension office can examine a sample, usually free or at low cost.