The leaf odor of the Malabar chestnut (Pachira macrocarpa Walp) was proven to be attractive to the Oriental fruit fly (Bactrocera dorsalis) and the melon fly (B. cucurbitae). It can also attract female Oriental fruit flies but not female melon flies to lay eggs in yellow plastic balls. The results of this experiment showed that the chemical compounds existing in the leaf may have great potential for development as attractants for both fruit fly species. However, further extraction, identification, and evaluation of individual compounds are needed in future studies.