BackgroundHepatocellular carcinoma (HCC) is the most common primary liver carcinoma with high lethality. Both of hepatitis B virus (HBV) and Clonorchis sinensis (C. sinensis) are critical infectious contributors to HCC development. However, the inter-tumor heterogeneity and tumor microenvironment (TME) of HCC patients with different infectious background remain largely unknown.MethodsWe compiled a cohort of 269 primary HCC patients to assess the clinical impact of C. sinensis and HBV infections on patient prognosis. Single-cell RNA sequencing (scRNA-seq) and spatial transcriptomic (ST-seq) analyses were performed on tumor and adjacent normal samples from C. sinensis-associated HCC (CP), and double-infection HCC (DP) patients. Additionally, we integrated publicly available scRNA-seq and ST-seq datasets from HBV-associated (HP) patients. Immunofluorescence, immunohistochemistry and in vitro experiments were conducted to validate inter-tumor heterogeneity among the three HCC subtypes.ResultsC. sinensis infection is significantly associated with poorer prognosis in HCC patients. Multi-omics analyses revealed distinct inter-tumor heterogeneity in epithelial, immune, and stromal compartments across different HCC subtypes. Tumor cells in the DP group exhibited more malignant marker expression, higher copy number variation scores, increased activation of p53 pathway, and worse survival outcomes. Compared with other HCC subtypes, the TME in DP samples was enriched with SPP1+ macrophages, exhausted CD8+ T cells and COL1A1+ fibroblasts. In contrast, the CP and HP groups showed higher proportions of M2-like macrophages and ENPP2+ liver vascular endothelial cells, respectively.ConclusionThese findings decipher the cellular signatures and their interactions within the TME, shedding light on the inter-tumoral heterogeneity driven by different infections, and the development of targeted therapies for infectious HCC.