BackgroundGut microbiome (GM) and type 2 diabetes mellitus (T2DM) have two-way effects. Improving T2DM by modulating GM in various ways, such as diet, exercise, and medication, is gradually becoming popular, and related studies have yielded positive results. However, there is still a lack of high-quality bibliometric analyses of research in this area. This study aims to systematize and comprehensively summarize the knowledge structure, research tropics, and research trends of GM and T2DM through bibliometric analysis.MethodsPublications related to GM and T2DM before January 9, 2024, in the Web of Science Core Collection (WOSCC) were searched in this study. Microsoft Excel 2019 was used to analyze publishing trends and CiteSpace (v.6.1.R6 Advanced) was used to analyze institutions, cited journals, references, and keywords.SCImago Graphica (v.1.0.39) was used to analyze countries/regions, institutions’ collaborations, cited authors, and published journals.ResultsWe finally included 1004 articles published from 2008 to 2023. The number of published articles showed an upward trend and reached its peak in 2022. China is the country with the largest number of articles, Univ Copenhagen is the institution with the largest number of articles, Fukui, Michiaki, Hamaguchi, Masahide are the scholars with the largest number of articles, and Cani and Patrice D. are the scholars with the largest number of citations. NUTRIENTS(Q1/5.9) published the most publications, while Nature (Q1/64.8; Cited 804 times) is the most frequently cited journal. Gut microbiota, Obesity, and insulin resistance are the most frequently used keywords. This study found that current researches focus on the effects of diet, exercise, and pharmacological modification of GM to improve T2DM and explores specific mechanisms. Future researches will focus on three areas: complications of T2DM and specific physiological processes, methods and measures to regulate GM, and new experimental techniques and assays.ConclusionThe current researches confirmed the effects and specific mechanisms of modulating GM to improve T2DM. Further exploration of the effects of modulating GM on T2DM complications and specific physiologic processes is a future trend of research. Exploring specific methods for regulating GM and developing new experimental techniques and assays are important for future research.