Tephritid flies employ visual and chemical cues to locate and assess suitable habitats, food sources, mating sites, and ovipositional resources. Bactrocera dorsalis and Zeugodacus tau are economically significant pests that infest a wide range of fruits and fleshy vegetables. Understanding their visual sensitivity is crucial for developing effective and ecologically friendly management strategies. Thus, in this study, we compare the responses of these two species to various visual stimuli across laboratory, greenhouse, and closed-orchard environments. Our experiments reveal that, across the tested physiological states, both species exhibit a preference for certain wavelengths in the laboratory, particularly 520 nm and 560 nm. In the greenhouse, green and yellow models captured significantly more females of both species. Z. tau females showed greater sensitivity to the yellow model than B. dorsalis females. Additionally, Z. tau showed a higher affinity for both spherical and cylindrical shapes, while B. dorsalis flies were only attracted to the spherical model. In a closed orchard area, traps modified according to the best-performing combination used in the laboratory and greenhouse (shape and light) increased the capture counts of both species over time, with Z. tau exhibiting greater visual attraction sensitivity than B. dorsalis. These findings provide a theoretical and scientific foundation for improving trapping techniques targeting these two species.