Background Bactrocera dorsalis and B. correcta are economically important fruit fly pests of crops, vegetables, fruits, and nuts worldwide, especially in China. Nowadays in China, B. correcta is a second notorious pest of many fruits after B. dorsalis. Different botanicals have been tested against the B. dorsalis but in the case of B. correcta, no records were published. Methodology This study evaluated the repellency of four botanicals (Seriphidium brevifolium, Piper nigrum, Azadirachta indica and quercetin) in acetone dilutions (5%, 2.5% and 1%) against the B. dorsalis and B. correcta at the laboratory conditions (25 ± 2 °C, 60 ± 5% relative humidity, and a photoperiod of L:D 14:10 h). Results The number of visits after 24-48 h, oviposition punctures, and pupae made by both species were lower on the treated mangoes in comparison to untreated mangoes. S. brevifolium, P. nigrum, A. indica and quercetin have significantly reduced the visits, ovipositional punctures, and pupae of both species. Among botanicals, the P. nigrum was the most effective repellent against B. correcta and as well as B. dorsalis. However, the harmful effects of these botanicals against natural enemies are still unknown.