Melon fly
Zeugodacus cucurbitae · Insect
Photo: Florida Division of Plant Industry Archive, Florida Department of Agriculture and Consumer Services, Bugwood.org · CC BY 3.0 us
The melon fly (Zeugodacus cucurbitae) is a fruit fly — a strong-flying, housefly-sized, orange-brown insect with dark-banded wings — that attacks the whole cucumber family: cucumber, melon, pumpkin and watermelon. The female jabs her egg-laying spike into young, still-firm fruit and slips her eggs just under the skin. The hatching grubs (maggots) tunnel through the flesh and rot it, so the fruit drops early; the fallen fruit then breeds a fresh wave of flies in the soil. It builds up fast in warm (about 20–32 °C), humid weather wherever cucurbits keep flowering and fruiting.
Scott Bauer, USDA Agricultural Research Service, Bugwood.org · CC BY 3.0 us
Florida Division of Plant Industry Archive, Florida Department of Agriculture and Consumer Services, Bugwood.org · CC BY 3.0 us
Why it matters
The melon fly can destroy up to 60% — more than half — of your cucumbers, melons, pumpkins and watermelons. The damage is hidden: the female lays her eggs inside young fruit, so by the time you see the rot and the fruit drops, the grubs are already deep in the flesh where no spray can reach them. Worse, every rotting fruit that falls to the ground breeds a fresh batch of flies, so once they settle in your garden they keep coming back season after season. The only way to win is to stop the flies before they sting the fruit — once you can see the damage, it is already too late for that fruit.
When to act
Rising catches in cue-lure traps or the first stung fruit with oviposition punctures; act at the young-fruit stage before egg laying peaks.
This guidance is general, compiled from published agronomic references including FAO and CABI. Thresholds and timing shift with your crop, your variety and the season.
In much of the region a spray is simply called mushonga — medicine. But a chemical group you cannot name is one you cannot rotate, and a product you did not write down has no pre-harvest interval you can observe. Mushonga, and other farming words →
The full melon fly field guide
- Identify it
- Scout for it
- Control it
16 field-guide sections in the app
The full guide to melon fly — every symptom to check, how and when to walk your field looking for it, and the controls that actually work, ranked. Built into your crop plan, so you are told to look before it costs you a harvest.
Crops it affects
Frequently asked questions
How do I identify melon fly?
The first sign — a "stung" young fruit: on a young cucumber, small melon or baby pumpkin, look for tiny puncture marks like pinpricks, often with a bead of clear or gummy sap weeping out and a small brown, sunken halo around each dot. This is where a female fly has jabbed in her egg-laying spike ("stung" the fruit) and slipped her eggs just under the skin.
When should I take action against melon fly?
Rising catches in cue-lure traps or the first stung fruit with oviposition punctures; act at the young-fruit stage before egg laying peaks.
How do I control melon fly?
Prevent — keep it clean (your single strongest tool): the flies breed in fallen and rotting fruit, so collect every stung, dropped and over-ripe fruit and destroy it EVERY day. Feed it to animals, boil it, bury it at least knee-deep, or seal it in a black bag left in the sun. Never leave rotten fruit lying in the garden — this daily clean-up (sanitation: removing all infested fruit) starves the next generation of flies.
Which crops does melon fly affect?
Among the crops covered here: Cucumber, Watermelon.
Catch it before it costs you a harvest
Divisi builds scouting into your crop plan — it tells you when to walk your field, what to look for at that stage, and what to do when you find it. Free for farmers, works offline.
Check what grows on your farm