Our study suggests the poor prognosis of patients with high expression of H2AFX, and the results showed that the H2AFX might play a positive role in the prognosis and the infiltration of tumor immune cells in HCC patients. The gene discussed is H2AX; the disease is hepatocellular carcinoma.