LAG-3+CD8+ expression was significantly associated with responses to ICB regardless of viral hepatitis status. Here, CD8A is linked to viral hepatitis.