Carrot fly – Identification, occurrence and control

This article provides essential information about the carrot fly (Chamaepsila rosae) – how to identify it, where it occurs in North America, how to prevent infestations, and how to control or eliminate it in gardens, farms, and storage areas.

In North America, this pest is primarily known as the carrot fly, but it is also referred to as the carrot rust fly or carrot root fly, depending on the region and stage of infestation.

What does a carrot fly look like?

The adult carrot fly (Chamaepsila rosae) is a small, slender, dark-coloured fly with a shiny black body and reddish-brown head. It is around 4–5 mm in length and features transparent wings and long legs. The adult is not particularly conspicuous and often stays low to the ground, especially in calm weather.

The larvae – also referred to as carrot maggots – are the damaging life stage. These creamy white, legless larvae grow up to 10 mm in length and tunnel into carrot roots, leaving brown, rusty streaks and causing rot.

Where are carrot flies found in North America?

Carrot flies are found across temperate regions of North America, especially in areas with moist soil and regular carrot cultivation. They are common in the northern and coastal parts of the continent where moderate spring and autumn temperatures favour their development.

You are most likely to encounter carrot flies:

  • In vegetable gardens where carrots, parsnips, celery, and parsley are grown

  • In moist, well-shaded soil beds

  • Near compost piles with decaying root crops

  • In fields with repeated carrot plantings

Where do carrot flies live and reproduce?

Carrot flies typically overwinter as pupae in the soil. In spring, adults emerge and begin to lay eggs in the soil close to the base of host plants. Females are attracted to the scent of crushed or disturbed carrot foliage and roots.

The eggs hatch within a week, and the larvae begin burrowing into the roots. After feeding for 2–4 weeks, the larvae pupate in the soil. Depending on the climate, there can be two to three generations of carrot flies per year in parts of North America.

Preferred environments include:

  • Shady, cool garden beds

  • Heavily mulched or moisture-retaining soil

  • Continuous cropping areas with allium and umbelliferous vegetables

  • Garden borders and edges with limited air circulation

How do you avoid carrot fly infestations?

Avoiding carrot fly infestations requires a combination of planning, cultural control methods, and timing.

Use physical barriers

Fine mesh insect netting or floating row covers can be placed over carrot beds immediately after sowing. These barriers prevent adults from reaching the soil to lay eggs.

Choose resistant varieties

Some carrot cultivars have been bred for resistance to carrot fly larvae. These include varieties with less scent or stronger outer skin, making them less attractive for egg-laying.

Practice crop rotation

Avoid planting carrots or related crops in the same location year after year. Carrot fly pupae can overwinter in the soil and emerge in the same area.

Thin carrots carefully

Crushing or bruising carrot leaves during thinning releases aromatic compounds that attract carrot flies. Thin during cool evenings or early mornings and remove all thinnings from the area.

Interplant with repellent crops

Onions, leeks, or strong-smelling herbs such as rosemary and sage may help mask the scent of carrots and deter egg-laying by adult flies.

How do you identify carrot fly damage?

Carrot fly larvae feed inside the roots, causing damage that can go unnoticed until harvest. Early signs may be subtle, but later symptoms are easier to recognise.

Look for:

  • Reddish or yellowing foliage starting at the tips

  • Slowed growth or stunted carrot tops

  • Brown tunnels or streaks inside harvested carrots

  • Soft or rotting sections of root caused by secondary infections

  • Presence of small white maggots in the outer root layers

In severe infestations, entire carrot beds may become unusable or rot before harvest.

How do you get rid of carrot flies?

Remove affected crops

Harvest and dispose of any visibly damaged carrots. Do not compost infested roots, as larvae may survive and pupate.

Solarise the soil

Cover garden beds with clear plastic during hot months to raise the soil temperature and kill pupae near the surface. This method is most effective in sunny regions and shallow soil layers.

Encourage natural predators

Ground beetles and parasitic wasps may help suppress carrot fly populations naturally. Maintaining habitat diversity around the garden can support these beneficial insects.

Use biological controls

Entomopathogenic nematodes such as Steinernema feltiae can be applied to moist soil to infect and kill carrot fly larvae. Repeat applications may be necessary for consistent results.

Trap cropping

Some gardeners sow a sacrificial early row of carrots to attract the first generation of carrot flies. These plants are then removed entirely before larvae hatch, reducing the population before the main crop matures.

Chemical control

Insecticide options are limited and timing is critical. Treatments are only effective if applied just before or during peak egg-laying. Always follow local regulations and product labels when using chemical controls on edible crops.

What is the carrot fly’s life cycle?

Understanding the life cycle of the carrot fly is essential for targeting control efforts at the most vulnerable stages.

  1. Eggs: Laid near the base of carrot plants, usually in spring and again in late summer.

  2. Larvae: Hatch within days and feed in the root for several weeks.

  3. Pupae: Formed in the surrounding soil, where they remain until the next adult generation emerges.

  4. Adults: Emerge in spring and again in summer or early autumn, depending on climate.

In many North American regions, two generations per year are typical, though three may occur in areas with a long, mild growing season.

Can carrot flies be found indoors?

Carrot flies do not typically infest indoor spaces, but they can become a problem if harvested carrots are stored in poor conditions. If maggots are present in roots at the time of harvest, they may continue to feed and cause spoilage in storage.

To avoid indoor issues:

  • Store carrots in a cool, dry, and well-ventilated location

  • Inspect roots before storage and discard any that are soft or damaged

  • Clean storage containers and areas thoroughly between seasons

Are other plants affected by carrot flies?

Carrot flies primarily target members of the Apiaceae (umbellifer) family, including:

  • Carrots

  • Parsnips

  • Celery

  • Parsley

These crops emit similar root scents and are equally susceptible to egg-laying. Keeping these crops separate and rotating their planting location each year helps reduce the overall risk of carrot fly infestations.