Extension Logo
Extension Logo
University of Minnesota Extension

Extension is expanding its online education and resources while in-person events and classes are canceled.

Leafminers in home gardens

Quick facts

  • Leafminers feed within leaves, producing large patches or winding tunnels of dead tissue. These mines are opaque at first, then turn brown.
  • The most common leafminer species in Minnesota vegetable gardens are the spinach leafminer and the vegetable (serpentine) leafminer.
  • The spinach leafminer feeds on spinach, Swiss chard, tomato, cucumber and celery.
  • The vegetable leafminer feeds on bean, eggplant, pepper, potato, squash, tomato, watermelon, cucumber, beet, pea, lettuce and many other plants.
  • Leafminers do not affect plant growth but destroy the edible leaves of vegetables. 

How to identify leafminers

If you see patches or winding mines in vegetable leaves, there might be leafminers in your garden.

A spinach leafminer fly laying eggs on the underside of a spinach leaf
Spinach leafminer fly

Spinach leafminers 

Spinach leafminers (Pegomya hyoscyami) are a type of blotch leafminer, that create irregular round shaped mines. The mines are long and narrow at first, but eventually become an irregularly shaped patch. 

  • Spinach leafminer larvae do not have legs and head.
  • The larvae are whitish and carrot-shaped.
  • The larvae tunnel into leaves between the two leaf surfaces.
  • The adult fly is hairy, about 1/4 inch long, and grayish or brownish. It lays eggs on the underside of older leaves.

Vegetable leafminers

A vegetable leafminer fly on a leafy vegetable
Vegetable leafminer fly
  • Vegetable leafminer larvae (Liromyza sativae) wind snake-like across the leaves and create winding mines.
  • The larvae do not have legs or a head.
  • They are yellowish-green colored and cylindrical shaped.
  • Vegetable leafminer flies are smaller than spinach leafminer flies (1/15 inch in length) and are yellow and black.

Life cycle of leafminers

  • The pupae of both species survive through the winter.
  • Adult flies emerge the following April and May.
  • The flies insert eggs into leaves.
  • Larvae feed and develop within leaf tissue and are active for about two to three weeks.
  • Then, they drop to the ground to transform into pupae.
  • Several generations can occur during one year.

How to protect your plants from leafminers

Check your plants regularly

Irregular opaque patches on beet leaves caused by spinach leafminer feeding
Spinach leafminer feeding damage on beet leaves

Regularly check young seedlings for leaf mines, especially if leafminers have attacked your garden in the past. Most mines occur on the first true leaves.

Generally, vegetable leafminers are kept in control by their natural enemies and management is not required.

It is also not necessary to treat spinach leafminers when they are attacking the leaves of a root crop such as beets. But, if it is on spinach or a leafy green, management may be needed.

Keep your garden clean

  • Remove weeds, like lambsquarter, to reduce its availability as a food source, for leaf miners.
  • Remove and destroy leaves when the mines are small.
  • Till your garden after harvesting to destroy pupae and reduce the chances of adult flies moving to neighboring plants.

Use a physical barrier

Vegetable plants covered with meshed row cover to protect them from insects
Row cover
  • Install fine meshed netting row covers to protect the plants from insects.
  • Use material that does not prevent sunlight and rain from reaching the plants (e.g. cheese cloth).
  • Apply in areas where leafminer problems have not been seen for at least one year.
  • If leafminer issues have been observed within the last year, this netting will not help because pupae that survived the winter can still infest plants.
  • Row covers can be purchased at many local lawn and garden supply stores and online at suppliers.

Using pesticides

Use of pesticides prevents adults from laying eggs, but does not kill larvae that are already feeding within plant leaves. Choose a low impact pesticide that does not target natural enemies (such as parasitic wasps) and pollinators (such as bees).

Snake-like winding mines on onion leaf caused by vegetable leafminer feeding
Vegetable leafminer feeding damage on an onion leaf
  • Spinosad can be an effective option. It is derived from a naturally occurring soil-dwelling microorganism, provides good control, and has little impact on natural enemies.
  • Broad spectrum pesticides (like permethrin, bifenthrin, and carbaryl) are generally longer lasting but can kill natural enemies too.
  • You can apply pesticides in the spring when adult flies are first active.
  • Double check that the pesticide you want to use has the vegetable you intend to treat on the label.
  • Make sure you get good coverage on the leaves.
  • Make several treatments at regular intervals (check the label to determine how often you can apply a particular product).
  • Be sure you observe the number of days from the last treatment until you can safely harvest your crop.

CAUTION: Mention of a pesticide or use of a pesticide label is for educational purposes only. Always follow the pesticide label directions attached to the pesticide container you are using. Remember, the label is the law.

Be sure that the vegetable you wish to treat is listed on the label of the pesticide you intend to use. Also be sure to observe the number of days between pesticide application and when you can harvest your crop.

Jeffrey Hahn, Extension entomologist and Suzanne Wold-Burkness, College of Food, Agricultural and Natural Resource Sciences

Reviewed in 2018

Share this page:

© 2020 Regents of the University of Minnesota. All rights reserved. The University of Minnesota is an equal opportunity educator and employer.