Background:Danhong injection, a compound injection of Chinese herbal medicine, has been widely used in idiopathic pulmonary fibrosis (IPF) at present as an adjuvant treatment. However, the clinical efficacy and molecular mechanism of IPF are still unclear. This study will evaluate and explore the clinical efficacy and molecular mechanism of Danhong injection in the treatment of IPF.Methods:In meta-analysis, the computer was used to search 8 databases (PubMed, EMbase, CENTRAL, MEDLINE, CBM, CNKI, WanFang, and VIP) to collect the RCTs, and RevMan 5.3 and Stata 14.0 were used for statistical analysis. It has been registered on PROSPERO: CRD42020221096. In network pharmacology, the main chemical components and targets of the chemical components of Danhong injection were obtained in TCMSP and Swiss Target Prediction databases. The main targets of IPF were obtained through Gencards, Disgenet, OMIM, TTD, and DRUGBANK databases. The String platform was used to construct PPI networks. Cytoscape 3.8.2 was used to construct the “Danhong components – IPF targets-pathways” network. The molecular docking verification was conducted by Auto Dock.Results:Twelve RCTs were finally included with a total of 896 patients. The meta-analysis showed that Danhong injection could improve the clinical efficiency ([OR] = 0.25, 95% CI [0.15, 0.41]), lung function, arterial blood gas analysis, inflammatory cytokines, and serum cytokines associated with pulmonary fibrosis of IPF patients, respectively (P < .05). The core active components of Danhong injection on IPF were Luteolin, Quercetin, and Kaempferol, and the core targets were PTGS2, AR, ESR1, PPARG, and RELA. Danhong injection mainly improved IPF through PD-L1 expression and PD-1 checkpoint path in cancer, pathways in cancer, PI3K-Akt signaling pathway, etc.Conclusion:These results provided scientific basis for the clinical use of Danhong injection for the treatment of IPF, and provided a new direction to explore the potential mechanism of action of Danhong injection.