Yinxing Mihuan Oral Solution (YMOS) is a Chinese patent medicine for treating coronary heart disease combined anxiety (CHDCA), but the molecular mechanism of its treatment is still unclear. This article aims to understand the molecular mechanism, optimize clinical drug use, and guide new drug development. Using the Swiss Target Prediction database, we obtained the main chemical composition of YMOS. Then we used network pharmacology to identify their potential targets. Network construction, coupled with protein-protein interaction and enrichment analysis was used to identify representative components and core targets. Finally, molecular docking simulation was conducted to further refine the drug-target interaction. Forty-two active chemicals were found in YMOS and 91 target genes related to CHDCA. The treatment effect was found to be associated with 1908 biological processes and 160 pathways, as revealed by the outcomes of the enrichment analysis. The potential therapeutic mechanisms of the drug are closely related to its antioxidant, anti-inflammatory, and vascular function regulation pathways, and the main core targets include albumin, tumor necrosis factor, TP53, AKT serine/threonine kinase 1, interleukin 1 beta, and vascular endothelial growth factor A. The potential molecular mechanisms of YMOS in CHDCA treatment were identified using network pharmacology and molecular docking approaches. The results reveal the systemic biological implications of YMOS. This study has systematically uncovered the molecular mechanism of YMOS for the first time, offering fresh insights for evidence-based clinical applications.