This study aimed to investigate the toxic effects of ellipticine on liver cancer cells and predict its anti-liver cancer mechanism through network pharmacology, especially by targeting FGFR3 to regulate the RAS/MAPK-P38 signaling pathway, thereby inducing apoptosis of liver cancer cells. The inhibitory effect of ellipticine on the proliferation of HepG2, Huh-7, SMMC7721, BEL-7402, SK-HEP-1, LX-2, and MHCC97H cells was detected by CCK-8 assay, and the IC50 value was calculated. The potential targets of ellipticine were predicted by the database, and the intersection analysis with liver cancer-related targets was performed to construct a protein interaction network (PPI), (KEGG) pathway enrichment analysis, and molecular docking verification. FGFR3 in HepG2 cells was knocked down by siRNA, and the effects on cell proliferation, apoptosis, and ROS levels were observed. The expression changes of FGFR3, RAS, P38, and their phosphorylated forms after ellipticine treatment, as well as the effects of RAS agonist ML-908 and P38 inhibitor PD169316 on cell proliferation, apoptosis, and migration, were detected by Western blotting. Ellipticine has an inhibitory effect on all tested liver cancer cell lines, among which HepG2 has the strongest inhibitory effect, with an IC50 of 5.15 +/- 0.25 mu M. Ellipticine is predicted to have 32 potential targets, and 5 common targets among the 225 targets related to liver cancer, including PDGFRA, KIT, FGFR3, ERBB2, and STAT3. KEGG analysis showed that these targets are mainly involved in cancer pathways. Molecular docking showed that Ellipticine can bind strongly to FGFR3. FGFR3 expression is highest in HepG2 cells. After knocking down FGFR3, the proliferation ability of HepG2 cells is further weakened, and the addition of apoptosis inhibitor ZVAD can partially restore the proliferation ability. ROS levels increase after Ellipticine treatment, and ROS levels further increase after knocking down FGFR3, and ZVAD treatment can reduce ROS levels. After Ellipticine treatment, the expression levels of FGFR3, RAS, and p-P38 decrease. Ellipticine-induced cell proliferation inhibition and apoptosis were reversed by RAS agonist ML-908, whereas P38 inhibitor PD169316 exacerbated cell apoptosis and migration inhibition. Ellipticine induces apoptosis of liver cancer cells by targeting FGFR3 and inhibiting the RAS/MAPK-P38 signaling pathway. This discovery provides new mechanistic insights into Ellipticine as a liver cancer treatment and may lay the foundation for the development of targeted therapeutic strategies.