Chromobox 2 (CBX2), a chromobox family protein, is a crucial component of the polycomb group complex: polycomb repressive complex 1 (PRC1). Research on CBX2 as an oncogene has been published in recent years. However, the connection between CBX2 and hepatocellular carcinoma (HCC) has not been studied. In this article, based on the results of immunohistochemical (IHC) staining of HCC and adjacent liver tissue microarrays, we found that high CBX2 expression is associated with poor prognosis in HCC patients. The results of a CCK8 assay, a clonogenic survival assay and a nude mouse tumorigenicity assay showed that knockdown of CBX2 inhibited the proliferation of HCC cells. According to the results of Annexin V-FITC/propidium iodide (PI) staining-based fluorescence activated cell sorting (FACS) analysis, knockdown of CBX2 increased HCC cell apoptosis. Furthermore, the RNA-seq results revealed that knockdown of CBX2 inhibited the expression of WTIP, which is an inhibitor of the Hippo pathway. We used western blotting to validate the mechanism and discovered that knockdown of CBX2 increased the phosphorylation of YAP, which explains why knockdown of CBX2 inhibits proliferation and increases apoptosis in HCC cells. In conclusion, CBX2 could be a potential target for HCC anticancer treatment.