BackgroundType 2 diabetes mellitus (T2DM) is a prevalent metabolic disease that causes multi-organ complications, seriously affecting patients’ quality of life and survival. Understanding its pathogenesis remains challenging, with current clinical treatment regimens often proving ineffective.MethodsIn this study, we established a mouse model of T2DM and employed 16s rDNA sequencing to detect changes in the species and structure of gut flora. Additionally, we used UPLC-Q-TOF-MS to identify changes in urinary metabolites of T2DM mice, analyzed differential metabolites and constructed differential metabolic pathways. Finally, we used Pearman correlation analysis to investigate the relationship between intestinal flora and differential metabolites in T2DM mice, aiming to elucidate the pathogenesis of T2DM and provide an experimental basis for its clinical treatment.ResultsOur findings revealed a reduction in both the species diversity and abundance of intestinal flora in T2DM mice, with significantly decreased levels of beneficial bacteria such as Lactobacillus and significantly increased levels of harmful bacteria such as Helicobacter pylori. Urinary metabolomics results identified 31 differential metabolites between T2DM and control mice, including Phosphatidylcholine, CDP-ethanolamine and Leukotriene A4, which may be closely associated with the glycerophospholipid and arachidonic acid pathways. Pearman correlation analysis showed a strong correlation between dopamine and gonadal, estradiol and gut microbiota, may be a novel direction underlying T2DM.ConclusionIn conclusion, our study suggests that alterations in gut microbiota and urinary metabolites are characteristic features of T2DM in mice. Furthermore, a strong correlation between dopamine, estradiol and gut microbiota, may be a novel direction underlying T2DM, the aim is to provide new ideas for clinical treatment and basic research.