BackgroundType 2 diabetes mellitus (T2DM) is regarded as Pi Dan disease in traditional Chinese medicine (TCM). Dahuang Huanglian Xiexin Decoction (DHXD), a classical TCM formula, has been used for treating Pi Dan disease in clinic, its pharmacological mechanism has not been elucidated. MethodsThis study used network pharmacological analysis and molecular docking approach to explore the mechanism of DHXD on T2DM. Firstly, the compounds in DHXD were obtained from TCMSP and TCMID databases, the potential targets were determined based on TCMSP and UniProt databases. Next, Genecards, Digenet and UniProt databases were used to identify the targets of T2DM. Then, the protein-protein interaction (PPI) network was established with overlapping genes of T2DM and compounds, and the core targets in the network were identified and analyzed. Then, the David database was used for GO and KEGG enrichment analysis. Finally, the target genes were selected and the molecular docking was completed by Autodock software to observe the binding level of active components with target genes.ResultsA total of 397 related components and 128 overlapping genes were identified. After enrichment analysis, it was found that HIF-1, TNF, IL-17 and other signaling pathways, as well as DNA transcription, gene expression, apoptosis and other cellular biological processes had the strongest correlation with the treatment of T2DM by DHXD, and most of them occurred in the extracellular space, plasma membrane and other places, which were related to enzyme binding and protein binding. In addition, 42 core genes of DHXD, such as VEGFA, TP53 and MAPK1, were considered as potential therapeutic targets, indicating the potential mechanism of DHXD on T2DM. Finally, the results of molecular docking showed that HIF-1 pathway had strong correlation with the target genes INSR and GLUT4, quercetin and berberine had the strongest binding power with them respectively.ConclusionThis study summarized the main components of DHXD in the treatment of T2DM, identified the core genes and pathways, and systematically analyzed the interaction of related targets, trying to lay the foundation for clarifying the potential mechanism of DHXD on T2DM, so as to carry out further research in the future.