The densities of intratumoral IL-17-producing cells and IFN-γ-producing cells were associated with overall survival (OS) and disease-free survival (DFS) in patients with HCC. The gene discussed is IFNG; the disease is hepatocellular carcinoma.