Skip to content

Guides

Fruit Fly

Pest

Fruit flies are small insects that lay their eggs inside ripening or damaged fruit. Their larvae feed on the interior flesh, which causes the fruit to rot prematurely and become inedible.

Fruit Fly on a plant
Photo: no rights reserved, CC0

Symptoms by part

Fruit

Small puncture marks or dimples on the skin, followed by soft, sunken spots and internal decay as larvae tunnel through the flesh.

Causes

  • Overripe or decaying fruit left on the plant or ground.
  • Open wounds or cracks in the fruit skin that provide easy entry for egg laying.
  • High humidity and warm temperatures that speed up the life cycle.

Could be confused with

  • Fungal rot · Fungal rot typically shows fuzzy mold growth on the surface, whereas fruit fly damage shows internal tunneling and larvae.
  • Bird damage · Bird damage creates larger, jagged tears in the skin rather than the tiny, precise pinprick holes left by fruit flies.

Treatment

  1. Pick all ripe fruit immediately to remove the food source.
  2. Collect and dispose of any fallen fruit from the ground every day.
  3. Place infested fruit in a sealed bag and dispose of it in the trash, not the compost pile.
  4. Apply spinosad to the foliage and fruit surface to deter egg laying, follow the label.

Without chemicals

  • Bag individual fruits with fine mesh netting or paper bags while they are still green to prevent access.
  • Use yellow sticky traps near the canopy to catch adult flies.
  • Set out small containers filled with apple cider vinegar and a drop of dish soap to attract and drown adults.

Chemical options

  • Spinosad, apply as a spray to the fruit surface during the ripening phase, follow the label.

Preventing it

  • Harvest fruit as soon as it reaches maturity.
  • Keep the area beneath trees and shrubs clear of all dropped fruit.
  • Prune branches to improve airflow and reduce the humidity levels that attract flies.
  • Use exclusion netting over entire bushes or small trees before fruit begins to ripen.

Season

The warm growing season.

Spread risk

High

Severity

Moderate

When to act

Act as soon as you see the first puncture marks on your fruit. If the infestation is widespread and the majority of the crop is soft or rotting, remove the fruit entirely to stop the cycle for next season.

Think it's Fruit Fly?

This guide covers the general picture. Pocket Botanist looks at your actual plant from a photo and tells you what's really going on, how serious it is, and what to try first. Identification and a health check are free.

Download on the App StoreGet it on Google Play

Get the app · Or check it from a photo now, free

Questions people ask

Can I eat fruit that has been visited by a fruit fly?
It is best to discard fruit with puncture marks because the larvae are likely already feeding inside, which causes rapid decay.
Will my compost pile attract fruit flies?
Yes, if you add infested fruit to a compost pile, the larvae can complete their life cycle in the soil. Always bag and trash infested fruit instead.

Plants it affects

Back to all guides

This guide was generated with AI and is general information, not horticultural advice. Read about how we build these guides.