Melon flies are most often found on low, leafy, succulent vegetation near cultivated areas. In hot weather they rest on the undersides of leaves and in shady areas. They are strong fliers and usually fly in the mornings and afternoons. They feed on the juices of decaying fruit, nectar, bird feces, and plant sap