In our study, we observed a greater infiltration of immune cells in CHB patients with high NUSAP1 expression, while the types of immune cells infiltrated in HBV-related HCC were reduced. Here, NUSAP1 is linked to hepatocellular carcinoma.