Vegetable pests Not sure it is this pest? Use the Pest Finder in anee.io ›

Melon Fly: How to Spot It and Save Your Ampalaya and Squash

The melon fly is the fruit fly that ruins ampalaya, upo, cucumber, squash and melon from the inside. The female stings the young fruit, and the maggots turn the flesh to rot. This page shows how to spot the melon fly early and how to stop it with bagging, clean fields and bait.

Zeugodacus cucurbitae 7 min read Updated October 18, 2026 By the anee.io agriculture team Read it all with Libre + Anee
A melon fly, Zeugodacus cucurbitae, orange brown with yellow marks, on a leaf
Photo: Scott Bauer, USDA Agricultural Research Service, Bugwood.org, CC BY 3.0 US, via Wikimedia Commons

What Is Melon Fly?

The melon fly (Zeugodacus cucurbitae) is a fruit fly that attacks mostly cucurbits, such as bitter gourd, cucumber, melon, pumpkin, watermelon, wax gourd and luffa. It also stings tomato, chili, capsicum and beans, though these are secondary hosts.

Stop Melon Fly from costing you the harvest

Register for free to read the whole guide: how to be sure it is this pest and the damage it does. How to stop it and what to spray come with Libre + Anee.

The account is free, no credit card.