In summary, our findings highlight HNRNPC as a prognostic marker in various cancers, including liver cancer, and suggest its involvement in shaping the tumor immune microenvironment. This evidence concerns the gene HNRNPC and liver cancer.