Based on the results of our study, the HRG gene and the TUBA1B gene can predict the prognosis of HCC and accurately respond to the tumor immune microenvironment. This evidence concerns the gene TUBA1B and hepatocellular carcinoma.