The intratumoral densities of IL-17-producing cells and IFN-γ-producing cells were associated with overall survival (OS, P = 0.001) and disease-free survival (DFS, P = 0.001) of patients with HCC. Here, IL17A is linked to hepatocellular carcinoma.