Coptisine (COP) has been shown to exhibit a wide range of anticancer properties, including in hepatocellular carcinoma (HCC). Nevertheless, the precise mechanism of COP in the treatment of HCC remains elusive. This study aims to investigate the potential mechanism of action of COP against HCC. By evaluating the anti-HCC activity of COP in different HCC cells lines and in xenografted nude mice, it was found that COP inhibited HCC in vitro and in vivo. Through RNA-Seq analysis, E2F7 was identified as a potential target of COP against HCC, as well as the cell cycle as a possible pathway. The overexpression of E2F7 and the inhibition of CHK1 demonstrated that COP inhibits the activity of HCC and induces G2/M phase arrest of HCC cells by down-regulating E2F7 and influencing the CHK1/CDC25A pathway. Finally, the promoter fragmentation experiments and chromatin immunoprecipitation revealed that COP down-regulated E2F7 by inhibiting the E2F4/NFYA/NFYB transcription factors. In conclusion, our study demonstrated that COP downregulates E2F7 by affecting key transcription factors, thereby inducing cell cycle arrest and inhibits HCC cell growth. This provides further evidence of the efficacy of COP in the treatment of tumors.