Our analysis of G6PD in HCC indicates its significant role in regulating immune responses, particularly in CD8+ T cell activation. Here, G6PD is linked to hepatocellular carcinoma.