Garden pest · Insect

Carrot rust fly: how to spot them and stop them

The carrot rust fly is a small fly whose maggots tunnel into the roots of carrots and their relatives. The tell-tale sign is rusty brown, frass-filled tunnels and scars on the roots, which often go unnoticed until harvest.

Psila rosae · Also called carrot fly · From university extension guidance, checked October 2026

How to identify carrot rust fly

  • Adult: a small, shiny fly about 1/5 to 1/4 inch (5 to 6 mm) long, with a black to dark green body, yellow legs, and a yellowish-orange head.
  • Larva: a stiff, legless maggot, creamy white to yellowish tan, up to about 1/3 inch (8 to 9 mm) long when grown.
  • Eggs: white and tiny, about 1/32 inch (0.6 to 0.9 mm) long, laid in the soil around the crowns of host plants. Each female lays about 40.
  • Pupae spend the winter in the soil or inside roots left in the ground.

The damage they do

  • Rusty brown tunnels and scars on the surface of the taproot, filled with rust-colored frass and sometimes maggots.
  • Young seedlings can be killed outright. Older roots are scarred and often inedible.
  • Heavily infested plants may look yellow, stunted, or wilted, though many show no above-ground symptoms.
  • Tunnels let soft rot bacteria in, so damaged roots can turn mushy in the ground or in storage.

Crops they attack

Also: celeriac, carrot-family weeds.

Life cycle

It spends the winter as pupae (and some larvae) in the soil or in leftover roots, and adults emerge in late spring. There are one to three overlapping generations a year; in the UK, egg-laying peaks in late May to June and again in August to September.

How to prevent them

Crop rotation helps with this one: move the crops it attacks to a different bed each year. Gardentasia remembers your last three seasons and flags a crop family coming back too soon. How the rotation planner works.

  • Cover the bed with floating row cover or insect-proof mesh right after sowing, and keep the edges sealed. RHS research found a complete covering works better than a surrounding barrier. Don't cover soil that had maggots last year, because flies can emerge under the cover.
  • Time sowing to miss the first egg-laying peak. RHS advises sowing after mid-May and harvesting before late August in the UK; Rutgers notes that delaying sowing until after mid-June in New Jersey avoids peak egg-laying, though yields may be lower. UC IPM suggests early summer planting in cold areas and late winter or late summer in mild areas.
  • Rotate carrots, parsnips, celery, parsley, and dill to a new spot each year, since adults emerge from pupae left in the soil. Rotation works best combined with netting.
  • Sow thinly so you thin less. The scent of pulled seedlings attracts egg-laying females.
  • Harvest promptly, don't leave carrots in the ground over winter, remove crop residue, and control carrot-family weeds.
  • Some cultivars, such as 'Fly Away' and 'Resistafly', are less susceptible, but none is fully resistant.

How to get rid of them

  • There is no rescue treatment once maggots are inside the roots. Insecticides are generally unreliable, and WSU recommends none for home gardens.
  • If you find damage, harvest the whole planting as soon as possible, in blocks rather than a few roots at a time, and cut or peel away damaged parts before use.
  • Beneficial nematodes (Steinernema feltiae in spring, Steinernema carpocapsae in summer) watered into the soil can target young larvae. They also affect other soil insects. Follow the label.

Natural enemies

Parasitoid wasps, beneficial nematodes. Flowers like dill, cilantro, calendula and sweet alyssum feed many of these predators; see the companion planting checker.

Carrot rust fly: common questions

Why do my carrots have rusty brown tunnels in them?

Rusty, frass-filled tunnels and scars on the root are the classic sign of carrot rust fly maggots. Cut a damaged root open and you will often find the small creamy maggots inside.

Does a low fence or barrier keep carrot flies out?

RHS research found that a complete covering of insect-proof mesh is more effective than a barrier around the bed. Cover the crop fully from sowing and seal the edges.

When should I sow carrots to avoid carrot rust fly?

Sow after the first spring flight. The RHS suggests sowing after mid-May in the UK, and Rutgers notes that sowing after mid-June in New Jersey avoids peak egg-laying. Harvesting before late summer also helps you dodge the next generation.

Plan a garden that's harder to attack

Rotation, trap crops and flowers for predators all start with the plan. Gardentasia checks companions and rotation as you plant, each with the reason.

Open the free planner

Free, in your browser. No account, no download.