Images are AI-generated illustrations. Cutaways and comparisons are conceptual, not field photographs or measured results. Every AI-generated image has been personally reviewed and approved by a human. Any mistakes are therefore co-signed by the human.
A pale line winds across your leaf. It will not wipe off, because the damage is inside: a small insect has been eating tissue between the leaf’s upper and lower surfaces.
Insects that feed this way are called leafminers, and the tunnels they make are mines. For the common leafminer flies discussed here, the feeder is the larva—the tiny, legless young stage that will eventually become a fly. You may be able to find it through the leaf’s remaining skin.
Finding it matters because the tunnel stays visible after the insect leaves. A leaf keeps the receipt long after the customer has gone. To decide what to do, start by finding out whether anything is still eating.
Follow the wider end
Some mines wind in narrow trails; others spread into blotches. In common Liriomyza fly mines, the tunnel often widens as the larva grows. Dark specks or a dark line along it may be the insect’s waste.1 Follow that widening toward the end rather than searching the whole leaf at random.
Try looking through the leaf
You can investigate a mine without cutting the leaf open. Choose a recently noticed trail on a leaf you can find again, and leave it attached to the plant. A hand lens and your phone camera are enough to start. You are looking for evidence of feeding, not trying to identify every insect before dinner.
- Support the leaf gently and place a light behind it. A bright window or a cool LED light can make the interior easier to see. Do not press the mine between your fingers or hold the leaf against a hot lamp.
- Look through the wider end with your hand lens. Search for an insect-shaped body, not just the dark specks of waste along the trail. In these fly leafminers, the larva is pale and legless. After a beneficial release, young wasps may be inside mines too.2, 4
- Take a photograph that includes the whole mine and a nearby vein or leaf edge. Note the date and which leaf you chose. Those landmarks will help you compare the same place next time.
- Return to that leaf in a day or two and repeat the photograph from a similar angle. Compare the tunnel's endpoint and width. This is an observation exercise, not a deadline by which the pest must move or treatment must work.
If the tunnel has extended, feeding has continued. If you can see the larva at its advancing end, you have connected the damage to its occupant. If the tunnel has not changed, the next question is whether anything remains inside it.

If you cannot find the larva, the leaf tissue may be hiding it. It may also have died or already left. Mature larvae of the American serpentine leafminer, Liriomyza trifolii, generally leave the leaf and develop into adult flies through a pupal stage in soil or potting mix.2 An empty tunnel can therefore mean the pest has moved on with its life.
If the leaf is too thick or dark to see through, record the occupant as unknown and compare the photographs instead. No visible movement during a brief inspection does not establish that an insect is dead. You can also try a fresher mine on another leaf; the scar alone cannot settle the question.
A squiggle is not a species name
Once you have found a feeding insect, the next question is what kind. “Leafminer” includes flies, moths, and other insects that feed inside leaves. Even a familiar-looking trail can mislead you: the plant can affect its shape, and UF/IFAS cautions against identifying Liriomyza trifolii from the mine alone.2
This matters if you are considering Diglyphus isaea, the tiny wasp used against certain leafminer flies. It needs a suitable fly larva to attack. A similar tunnel made by another insect does not guarantee the same result.
If you need help identifying the pest, give a diagnostic service or your local Extension office more than a close-up of the line. Send the plant’s name, a whole-plant photograph, both sides of an affected leaf, and the larva if you can photograph it. Keep the leaf in case they need a specimen. The plant and insect together tell a much better story than the damage alone.
How much leaf can the plant spare?
Identifying a pest does not automatically mean the plant needs treatment. A small amount of mining can look conspicuous without greatly affecting growth. UC IPM notes this for vegetable leafminers, while also warning that heavy mining can slow growth and cause leaf drop. Seedlings have less foliage to lose.3

Picture one mined leaf on a seedling with only two leaves, then one on a much larger plant. The seedling has lost a greater share of the leaf area it has to work with. The larger plant may continue growing well despite the mark. A close-up of the damage leaves out that difference.
Look at the whole plant, then check whether fresh mines keep appearing. If only a few mines appear and the plant continues growing well, watching it may be enough. Repeated fresh damage or slowing growth deserves a closer look. Appearance matters too; you are allowed to object to tunnels in a plant you bought for its leaves.
With a small, localized problem, removing an occupied leaf may remove the larva if the plant can spare that leaf. Once you have released beneficial wasps, inspect before pruning: their young may now be developing in the mines. Where the pest is a suitable match and fresh feeding continues, Diglyphus is another option.
The useful decision comes from putting those observations together: what insect you have, whether it is still feeding, and how the plant is responding. The oldest, ugliest leaf does not necessarily get the final vote.
Sources and further reading
- UC IPM — Leafminers in floriculture and ornamental nurseries. Mine formation, fly and moth leafminers, and identification.
- Capinera, UF/IFAS — American serpentine leafminer. Larval appearance, mine shape, departure, and sampling.
- UC IPM — Vegetable leafminers. Plant tolerance, seedling vulnerability, and the limited need for treatment in many garden situations.
- UC IPM — Leafminer Diglyphus parasitoids. Backlit inspection and host group.
The whole-plant comparison and diagnostic-photo suggestions are practical guidance, not a validated treatment threshold.
