Our study demonstrates that NXPH4 plays an essential effect on immune cell infiltration and prognosis of HCC. Here, NXPH4 is linked to hepatocellular carcinoma.