Objective To summarize the relation between various kinds of immune cells infiltration in tumor microenvironment and prognosis of hepatocellular carcinoma (HCC). Method Literatures on the relation between immune cell infiltration in tumor microenvironment and prognosis of HCC in recent years were collected and reviewed. Results The immune cell infiltration in the tumor microenvironment of HCC was inextricably linked with the progression of HCC. CD4+ T cells, CD8+ T cells, M1 macrophages, B cells, and memory T cells might be associated with a good prognosis in patients with HCC, while regulatory T cells, regulatory B cells, and M2 macrophages might be related to the poor prognosis of patients with HCC. Conclusion The study of immune cell infiltration in HCC can provide new ideas for precise immunotherapy of HCC.