Eleven economic crops namely, cucumbers, melons, sponge gourds, bitter gourds, wax gourds, watermelons, pumpkins, bottle gourds, musk melons, tomatoes, and papayas, were tested for the ovipositional preference of the melon fly. The cuticle of ripe muskmelons was the most preferable substrate. Yellow traps were the best in terms of number of female melon flies captured in the preovipositon period, oviposition period, and postoviposition period when comparing the color preference of melon flies among red, yellow, blue, green, white, black, purple, and orange color traps.