We here identified different distribution, function, and trajectory of CD8+PD-1+CD161+ and CD8+PD-1+CD161− T cells in tumor lesions, which provided new insights for the heterogeneity of immune environment in HCCs and also shed light on the potential target for immunotherapy. Here, CD8A is linked to neoplasm.