The current research and existing facts indicate that type 2 diabetes mellitus (T2DM) is characterized by gut microbiota dysbiosis and disturbed microbial metabolites. Oral glucose-lowering drugs are reported with pleiotropic beneficial effects, including not only a decrease in glucose level but also weight loss, antihypertension, anti-inflammation, and cardiovascular protection, but the underlying mechanisms are still not clear. Evidence can be found showing that oral glucose-lowering drugs might modify the gut microbiome and thereby alter gastrointestinal metabolites to improve host health. Although the connections among gut microbial communities, microbial metabolites, and T2DM are complex, figuring out how antidiabetic agents shape the gut microbiome is vital for optimizing the treatment, meaningful for the instruction for probiotic therapy and gut microbiota transplantation in T2DM. In this review, we focused on the literatures in gut microbiota and its metabolite profile alterations beneficial from oral antidiabetic drugs, trying to provide implications for future study in the developing field of these drugs, such as combination therapies, pre- and probiotics intervention in T2DM, and subjects with pregestational diabetes and gestational diabetes mellitus.