In conclusion, we found that up-regulated expression of CDK1, CDK5, CDC20, CCNA2, CCNB1 and CCNB2 in HCC tissues was associated with poor prognosis, and significantly improved immune infiltration levels of CD8+T cells, CD4+ T cells, neutrophils, macrophages and DCs. Here, CCNB2 is linked to hepatocellular carcinoma.