This study is the first to identify correlation between 6-phosphate dehydrogenase and the abundance of tumor macrophages, which will provide a new direction for further exploration of the mechanism of G6PD in regulating HCC development. This evidence concerns the gene G6PD and hepatocellular carcinoma.