AbstractAimThe relationship between sarcopenia, tumor‐infiltrating lymphocytes (TILs), and long‐term survival in patients with hepatocellular carcinoma (HCC) has not been investigated. We aimed to evaluate the prognostic relevance of sarcopenia and TILs in patients with HCC.MethodsWe included 351 patients with HCC following liver resection. Sarcopenia was defined based on the skeletal muscle index using computed tomography. Tumor‐infiltrating CD4+ and CD8+ T cells, perforin, and granzyme B were examined in liver resection specimens.ResultsSarcopenia patients had a significantly lower lymphocyte count (p = 0.003), prognostic nutritional index (p = 0.017), and CD4+ and CD8+ T cell counts (p = 0.008 and p = 0.006, respectively). The overall survival (OS) and recurrence‐free survival (RFS) rates of sarcopenia patients were significantly lower than non‐sarcopenia patients (both p < 0.001). Multivariate analysis revealed that sarcopenia and low CD8 levels were strong independent poor prognostic factors for OS and RFS (both p < 0.001). Regardless of sarcopenia, patients with high CD8 levels had significantly better OS and RFS rates and increased expression of perforin and granzyme B. Particularly, sarcopenia patients with high CD8 levels had much better OS and RFS than those with low CD8 levels and were even comparable to non‐sarcopenia patients with high CD8 levels.ConclusionsSarcopenia and low CD8 levels are strong independent poor prognostic factors in patients with HCC. Furthermore, sarcopenia patients with high CD8 levels had favorable survival and activated local immunity, suggesting that tumor‐infiltrating CD8+ T cells may play a functionally important role in sarcopenia patients.