This prospective study found that PD1 +8669 G/A and TIM3 −1516 G/T polymorphisms were associated with the OS of HBV-related HCC patients. Here, HAVCR2 is linked to hepatocellular carcinoma.