In conclusion, our results reveal that SETDB1 could predict the prognosis of cancer patients and correlate with immune infiltration levels in HCC. This evidence concerns the gene SETDB1 and hepatocellular carcinoma.