Background: Previous studies have shown that Zhongfeng Xingnao Formula (ZXF) can effectively reduce the mortality of intracerebral hemorrhage (ICH), but the underlying mechanism of the treatment remained still unexplored. This study aimed to expound the potential mechanism of ZXF in the treatment of ICH through network pharmacology and molecular docking.Methods: The putative targets of ZXF were obtained from the TCMSP and Uniprot database, while the potential targets of ICH received from Drugbank, Genecards and OMIM database. Then through the Venn 2.1, the overlapping targets of disease and drug were gotten for the further study. The GO and KEGG enrichment analyses were performed by R version 4.0.2 software so that the signaling pathway was acquired to the subsequent analysis. Cytoscape was used to construct the drug-compound-target-pathway network and String was utilized for the protein-protein interaction network. What’s more, the interaction between compound and target was verified by the AutoDockTools and Autodock Vina. Results: There were a total of 166 ZXF-related targets and 1258 ICH-related targets obtained from the public databases. And 87 potential targets were both related to drug and disease. The GO enrichment analysis mainly involved receptor ligand activity, signaling receptor activator activity, and cytokine receptor binding, while the signaling pathway, such as Fluid shear stress and atherosclerosis, AGE-RAGE signaling pathway in diabetic complications, PI3K-Akt signaling pathway, were significantly enriched in the KEGG enrichment analysis. The molecular docking elucidated that the aloe-emodin, beta-sitosterol, quercetin could bound well to the top five targets sorted by degree value.Conclusions: ZXF treated ICH through multiple compounds, multiple targets, and multiple pathways. The underlying mechanism of the treatment may be promoting angiogenesis, anti-inflammatory, anti-oxidative stress, and reversing atherosclerosis, which is of great significance for the treatment of ICH.