Finally, Cox regression analysis cofirmed G6PD as an independent prognostic factor for overall survival in HCC patients.<h4>Conclusion</h4>Our study provides novel insights into the changes in glucose metabolism in HCC from both temporal and spatial perspectives. Here, G6PD is linked to hepatocellular carcinoma.