These results demonstrated that NXPH4 affects the development and progression of HCC through regulating immune cell infiltration and may be utilized as a novel immunotherapy target. This evidence concerns the gene NXPH4 and hepatocellular carcinoma.