Here, we show that a high-fat diet (HFD) promotes tumour initiation/progression and induces a phenotypic switch from PD-1− CD8+non-exhausted T cells to PD-1+ CD8+exhausted T cells in a murine breast cancer model. The gene discussed is CD8A; the disease is breast cancer.