The oriental fruit fly Bactrocera dorsalis (Hendel) is a destructive insect pest of a wide range of fruit crops. Commensal bacteria play a very important part in the development, reproduction, and fitness of their host fruit fly. Uncovering the function of gut bacteria has become a worldwide quest. Using antibiotics to remove gut bacteria is a common method to investigate gut bacteria function. In the present study, three types of antibiotics (tetracycline, ampicillin, and streptomycin), each with four different concentrations, were used to test their effect on the gut bacteria diversity of laboratory-reared B. dorsalis. Combined antibiotics can change bacteria diversity, including cultivable and uncultivable bacteria, for both male and female adult flies. Secondary bacteria became the dominant population in female and male adult flies with the decrease in normally predominant bacteria. However, in larvae, only the predominant bacteria decreased, the bacteria diversity did not change a lot, likely because of the short acting time of the antibiotics. The bacteria diversity did not differ among fruit fly treatments with antibiotics of different concentrations. This study showed the dynamic changes of gut bacterial diversity in antibiotics-treated flies, and provides a foundation for research on the function of gut bacteria of the oriental fruit fly.