In traditional Chinese Medicine, Prunella vulgaris L. (PVL) is potentially effective in the treatment of some human malignancies including hepatocellular carcinoma (HCC). However, the detailed mechanism of action remains unclear. The purpose of this study was to decipher the constitutes of the bioactive ingredients of PVL, and its mechanism against HCC using network pharmacology and in vitro experiments. The bioactive components of PVL were obtained by Traditional Chinese Medicine System Pharmacology Database and Analysis platform database, and the targets of bioactive components of PVL was investigated by Swiss Target Prediction database. HCC related targets were obtained from GEO database, GeneCards database and DisGeNET database, and the gene ontology function annotation and Kyoto Encyclopedia of Genes and Genomes (KEGG) pathway enrichment analysis were conducted for annotating the biological function of gene targets. A protein–protein interaction network was constructed using STRING database. Molecular docking of key bioactive ingredients was performed using AutoDock Vina. Cell proliferation and apoptosis were detected by cell counting kit‐8 and flow cytometry, respectively. The expression level of the target genes of PI3K/Akt pathway were detected by qPCR. In the present work, 11 bioactive components of PVL were screened out, which acted on 177 potential targets. In addition, 13,517 genes were strongly associated with HCC pathogenesis, of which 158 targets are overlapped with PVL's targets. KEGG results identified 39 signaling pathways closely associated with the 158 targets. Molecular docking showed that the main bioactive components of PVL, kaempferol, morin, quercetin, luteolin, and spinasterol, had good binding activity with the core proteins in cancer biology such as AKT1, EGFR, SRC, ESR1, and PPARG. In vitro assays showed that quercetin, one of the main components of PVL extracts effectively inhibited HCC cell proliferation, and promoted apoptosis, which may be associated with PI3K/AKT signaling pathway. In summary, PVL may regulate HCC progression by regulating core targets such as AKT1, EGFR, SRC, ESR1, and PPARG, and acting on PI3K‐Akt signaling pathway.