In summary, our study revealed that the HCC-associated metabolic DEGs such as NNMT and PHGDH may influence the occurrence and progression of VCI in HCC patients by affecting the immune microenvironment. This evidence concerns the gene NNMT and hepatocellular carcinoma.