Background and AimImmune checkpoint inhibitors (ICIs) have been widely used in hepatocellular carcinoma (HCC), while only a subset of patients experience clinical benefit. We aimed to investigate the effects of viral etiology on response to ICIs in HCC and depict the tumor immune microenvironment (TIME) of virally infected and uninfected HCC.MethodsA systematic search was conducted in PubMed, Web of Science, Embase, and the Cochrane central register of controlled trials up to August 2021. Clinical trials reporting the efficacy of ICIs in HCC were eligible. Baseline characteristics including first author, year of publication, National Clinical Trials (NCT) registry number, study region, sample sizes, interventions, line of treatment, and viral status were extracted. Meta-analysis was conducted to generate combined odds ratios (ORs) with 95% confidence intervals (CI) based on random or fixed effect model, depending on heterogeneity. Tumor immune microenvironment was depicted using ESTIMATE and CIBERSORT algorithm.ResultsEight studies involving 1,520 patients were included. Combined data suggested that there was no significant difference of objective response rate (ORR) between virally infected HCC and non-viral HCC patients [OR = 1.03 (95% CI, 0.77–1.37; I2 = 30.9%, pH = 0.152)]. Similarly, difference was not observed on ORR between HBV-HCC and HCV-HCC patients [OR = 0.74 (95% CI, 0.52–1.06; I2 = 7.4%, pH = 0.374)]. The infiltration of immune cells in the tumor microenvironment did not differ by etiology except for M0 macrophages, M2 macrophages, regulatory T cells, naive B cells, follicular helper T cells, activated dendritic cells, activated mast cells, and plasma cells. Despite differences in infiltration observed in specific cell types, the immune score and stromal score were generally comparable among etiology groups.ConclusionViral etiology may not be considered as the selection criteria for patients receiving ICIs in HCC, and viral status has little impact on TIME remodeling during HCC tumorigenesis.