CD4+ T cells, macrophages and dendritic cells were most closely related to CDKN2A expression in HCC, which illustrated that CDKN2A expression of HCC associates with different degree of immune cell infiltration in different ways, further supporting that CDKN2A might be an effective factor influencing patients’ survival and prognosis. This evidence concerns the gene CDKN2A and hepatocellular carcinoma.