Agcenture, Agriculture of tomorrow
Pest Control and IPM Guide55 crops ยท 17 animals ยท 427 problems
Pest guide6 crops and animals

Fruit Flies: Traps and Control in Orchards and Kitchens

Two different flies share the name. In farms, fruit flies lay eggs in mangoes, citrus and melons, and maggots rot the fruit. In kitchens, tiny vinegar flies breed in ripe fruit and waste. Traps help both; hygiene matters most.

Illustration, not to scale
Crops and animals
6
Guides
6
With registered products
2
First step
Scout, then decide

How to identify them

  • Small puncture marks on fruit skin, sometimes oozing sap or turning brown
  • Fruit rots from inside; cream maggots tunnel through the flesh
  • Infested fruit drops early and turns soft
  • Adult flies with clear or banded wings rest on leaf undersides in the heat of the day

Crops and animals affected

Each guide has its own trigger, scouting steps and registered products. Pick yours.

Crop or animalAct whenProducts
๐Ÿฅ’ Cucumber
Cucurbit Fruit Fly
5 flies per Cue-lure trap per week at floweringยท
๐ŸŽƒ Pumpkin
Fruit Fly
5 flies per Cue-lure trap per week at fruit setยท
๐Ÿ‰ Watermelon
Fruit Fly
5 flies per Cue-lure trap per week at fruit set1
๐Ÿฅญ Mango
Mango Fruit Fly
Start control when fruit reach golf-ball size and keep going to the end of harvest. There is no safe count to wait for.5
๐ŸŒฐ Pigeon Pea
Pod Fly
5% of pods with exit holesยท
๐ŸŠ Citrus (Oranges and Lemons)
Fruit Flies
5 flies per methyl eugenol trap per weekยท

How to control them

1 ยท Prevent

  • Collect and destroy all fallen and infested fruit every 2 to 3 days: bury 50 cm deep or seal in black bags in the sun
  • Harvest at mature green stage where the market accepts it
  • Bag high-value fruit early (paper or fine-mesh bags)
  • Keep field borders clean; wild host fruit maintain fly populations

2 ยท Monitor

  • Hang male lure traps (Cue-lure for melon fly, Methyl eugenol for oriental fruit fly) at 4 traps per acre
  • Count and empty traps weekly; record flies per trap per day
  • Cut 20 fruits per week and check for larvae
  • Rising counts during fruit set signal action

3 ยท Act

  • Spot-spray protein bait mixed with a registered insecticide on a 1 square metre patch of foliage per tree or every 10 m of row, weekly
  • Male annihilation: lure blocks or cotton wicks with lure plus registered insecticide at 4 to 10 per acre
  • Release or conserve parasitoids (Fopius arisanus, Diachasmimorpha longicaudata) where available
  • Area-wide control with neighbours works better than single-farm action

Resistance: Bait spot-sprays use very little insecticide; rotate the toxicant between seasons Safety: Gloves when handling lures and baits

Questions people ask

Why are there worms in my mangoes?

They are fruit fly maggots. The fly lays eggs under the skin as fruit ripens. Pick up and destroy fallen fruit, use traps and bait sprays, and harvest on time.

What is the best fruit fly trap for an orchard?

Traps baited with methyl eugenol for the oriental fruit fly in mango and citrus, or cue-lure for melon flies, hung from fruit set. Use them with bait sprays and field hygiene.

How do I make an apple cider vinegar fruit fly trap?

For kitchen fruit flies, pour a little apple cider vinegar into a jar, add a drop of dish soap, and cover with cling film pierced with small holes. Change it every few days.

How do I get rid of small flies in the kitchen?

Throw out overripe fruit, rinse bottles and bins, clean drains, and use a vinegar trap. The flies breed in fermenting food, so removing it stops them.

Are they fruit flies or gnats?

Fruit flies hover round fruit and bins. Fungus gnats are darker, weaker fliers that rise from wet potting soil; let pots dry out and use yellow sticky traps.

Does a homemade fly catcher work?

Yes, for kitchen fruit flies. A jar of apple cider vinegar with a drop of soap, or a cone of paper over a jar with ripe fruit inside, catches them well.

Is a mango worm in people the same thing?

No. Mango worms in skin are tumbu fly larvae, not fruit flies. See a health worker, and iron clothes dried outdoors in affected areas.

Sources

Built from the crop and animal guides linked above; each lists its own Kenyan and international sources. Product names come from the PCPB 2025 register; outside Kenya, use products registered by your national regulator.

Advertisement