BackgroundCurrently, adequate treatment and prognostic prediction means for Hepatocellular Carcinoma (HCC) haven’t entered into medical vision. Tanshinone IIA (TanIIA) is a natural product, which can be utilized as a potential treatment of HCC due to its high anti-tumor activity. However, the effect on HCC prognosis, as well as the potential targets and molecular mechanism of TanIIA still remain ambiguous. Herein, we investigated them via network pharmacology, explored TanIIA-related prognostic genes by machine learning methods, and verified using molecular docking and cell experiments.MethodsPotential TanIIA-targeted genes and HCC-related genes were obtained from the corresponding database. The Protein-Protein Interaction (PPI) network and enrichment analyses of the intersection targets were conducted. Furthermore, a TanIIA-related prognostic model was built and verified. We attempted to explore the expression of the TanIIA-related prognostic genes and evaluate its chemotherapeutic sensitivities and the immune infiltrations. Followed by exploration of anti-tumor activity on the human HCC cells Hep3B and HepG2 cell lines in vitro (CCK-8, flow cytometry and transwell assay), the docking molecular was performed. Ultimately, the corresponding protein expressions were determined by western blotting.ResultsA total of 64 intersecting targets were collected. Similarly, GO/KEGG enrichment analysis showed that TanIIA can inhibit HCC by affecting multiple pathways, especially the MAPK signaling pathway. A five-gene signature related to TanIIA was constructed on account of Least Absolute Shrinkage and Selection Operator (LASSO) Cox regression model. Among five genes, ALB, ESR1 and SRC tend to be core genes because of probable status as potential targets for sorafenib. Molecular docking results demonstrated the potential for active interaction between the core genes relevant proteins and TanIIA. Studies in vitro had shown that TanIIA regulated the expressions of Bcl-2, Bax and MMP9 in HCC cells, inhibiting their growth, inducing apoptosis and preventing cell invasion. Additionally, we are able to detect an up-regulated trend in the expression of ALB and ESR1, while a down-regulated in the expression of SRC by TanIIA.ConclusionRegulating the expression of TanIIA-related gene signatures (ALB, SRC and ESR1), and inhibiting the SRC/MAPK/ERK signaling axis might potentially contribute to the TanIIA treatment of HCC. And the three gene signatures could be identified for predicting the prognosis of HCC, which may provide novel biomarkers for HCC treatment.