In this study, we report a mechanistic link between lactate, CD8+ T cell stemness and improved outcome of cancer immunotherapy. Here, CD8A is linked to cancer.