These results suggest that G6PD expression in HCC is closely related to immune cells in the tumour immune microenvironment. This evidence concerns the gene G6PD and hepatocellular carcinoma.