This study aimed to explore both the potential value of CD161 as a prognostic biomarker for hepatocellular carcinoma (HCC) and its association with immune cell infiltration. Here, KLRB1 is linked to hepatocellular carcinoma.