To explore the mechanism of Sophora flavescens in the treatment of liver cancer by means of network pharmacology.Methods:First,the active ingredients and targets of Sophora flavescens were screened through the TCMSP platform; then the disease targets were obtained from OMIM and Genecards.We matched genes through R language and draw a Venn diagram; then constructed an active ingredient-protein interaction network diagram on the String website; constructed a component-target network with Cytoscape 3.6.1 software; performed GO enrichment analysis and KEGG pathway enrichment analysis through R software.Results:A total of 45 active ingredients and 176 potential targets were screened; GO and KEGG function enrichment showed that Sophora flavescens mainly affected PI3K/Akt/mTOR pathway and HIF-1a signal pathways.Conclusion:Sophora flavescens may regulate the invasion and metastasis of liver cancer cells by affecting the PI3K/Akt/mTOR pathway and HIF-1a signaling pathways.