Background: Intestinal barrier dysfunction plays a critical role in the pathogenesis of type 2 diabetes mellitus (T2DM). The total flavonoids of Scutellaria baicalensis flavonoids (STF) have been used to manage diabetic conditions, however, their specific effects on intestinal barrier repair and the underlying mechanisms remain elusive.Purpose: To investigate whether STF repairs intestinal barrier damage in T2DM via the gut microbiota–bile acid–ILC3/IL-22 signaling network mediated by HIF-1α.Methods: A T2DM mouse model was established using a high-fat diet combined with streptozotocin injection. The composition of STF was analyzed by UPLC-Q-TOF-MS. Pharmacodynamic effects, 16S rRNA sequencing, serum metabolomics, and targeted bile acid metabolomics were evaluated. Antibiotic-induced microbiota-depleted mice and HIF-1α-silenced IEC-6 cells were employed to determine causality and elucidate the molecular mechanism.Results: STF, comprising 90.44% baicalin, significantly ameliorated hyperglycemia, insulin resistance, dyslipidaemia, and organ damage in T2DM mice. Notably, STF restored intestinal barrier integrity, as evidenced by improved mucosal architecture, upregulated expression of tight junction proteins (occludin, ZO-1, MUC2), and reduced intestinal permeability. Moreover, STF modulated gut microbiota by remodeling the dysregulated microbial composition and restoring disrupted bile acid homeostasis. Mechanistically, STF restored impaired intestinal physiological hypoxia, downregulated HIF-1α expression, and enhanced ILC3-derived IL-22 production. These effects were abrogated in microbiota-depleted mice. In vitro, baicalin and UDCA (a bile acid species restored by STF) promoted barrier repair under hypoxia conditions, which was abolished by HIF-1α silencing.Conclusion: This study provides novel evidence that STF repairs intestinal barrier damage in T2DM through a gut microbiota-dependent mechanism involving bile acid metabolism and HIF-1α-mediated ILC3/IL-22 activation, These findings support the clinical application of S. baicalensis in diabetes management.