To explore the mechanism of Yiqi Yangyin Qingre Formula(YQYYQR) on type 2 diabetes mellitus(T2DM) by network pharmacology and molecular docking.Methods:TCMSP and BATMAN-TCM were used to obtain the chemical constituents and action targets of six Chinese medicinal drugs in YQYYQR.The targets related to the treatment of T2DM were obtained from GeneCards.The common targets were obtained by the R programming language.The core targets were screened out by CytoHubba plug-in in Cytoscape v3.8.0.The core targets were analyzed for Go and KEGG enrichment analyses by the ClueGo plug-in.AutoDockTool,Vina,and Pymol were used for pretreatment and molecular docking.Results:Seventy active constituents of YQYYQR were obtained,and 222 targets were involved in the active constituents,such as quercetin,kaempferol,luteolin,wogonin,and miscanthin.As revealed by GO and KEGG enrichment analyses of 13 core targets,36 entries of biological processes,such as responses to lipopolysaccharide,hypoxia,and oxidative stress,and 47 entries of pathways,such as IL-17 signaling pathway,AGE-RAGE signaling pathway in diabetic complications,Toll-like receptor signaling pathway,and tumor necrosis factor signaling pathway,were obtained.The results of molecular docking showed that the core constituents showed good affinity with the core targets JUN,AKT1,MAPK1,TP53,IL6,MAPK14,ESR1,and CXCL8.Conclusion:YQYYQR can treat T2DM by regulating glucose and lipid metabolism,improving insulin resistance,inhibiting hepatic gluconeogenesis,reducing inflammatory reaction,protecting vascular endothelium,improving islet β-cell secretion,and mediating immune response through multiple channels,multiple targets,and multiple pathways.