Here, we investigated the effects of obesity on CD8 T cells in mouse models and patients with endometrial cancer. Here, CD8A is linked to obesity due to melanocortin 4 receptor deficiency.