Ischemic stroke (IS) is affected by a wide range of factors and has certain treatment limitations. Studies have reported that compound musk injection (CMI) is effective in the treatment of IS, however, its mechanism of action is still unclear. The main active ingredients in CMI were retrieved from HERB, TCMSP and BATMAN databases, and the relevant targets were predicted by Swiss Target Prediction platform. MalaCards, OMIM, DrugBank, DisGeNET, Genecards and TTD databases were used to obtain the genes related to IS. The intersection of drugs and disease targets was used to construct protein-protein interaction networks, and gene ontology (GO) enrichment analysis and Kyoto Encyclopedia of Genes and Genomes (KEGG) enrichment analysis were performed. AutoDock Vina software was used for molecular docking, and cell experiments were conducted to verify the results. Reverse transcription-polymerase chain reaction (RT-PCR) was used to detect the expression level of relative mRNA in cells. Network analysis and molecular docking results showed that the key targets of CMI in the treatment of IS were SRC, TP53, PIK3R1, MAPK3, PIK3CA, MAPK1, etc. KEGG pathway enrichment analysis mainly involved PI3K/Akt signaling pathway, Rap1 signaling pathway and MAPK signaling pathway. The molecular docking results all showed that the key ingredients were strong binding activity with the key targets. The quantitative RT-PCR results indicated that CMI may increase the expression of PIK3CA, MAPK3 mRNA and decrease the expression of SRC mRNA. CMI can treat IS by regulating pathways and targets related to inflammatory response and apoptosis in a multi-component manner.