Deletion or inhibition of protein tyrosine phosphatase, mitochondrial 1 (PTPMT1) disrupts mitochondrial metabolic flexibility in CD8+ T cells, leading to reduced effector development, accelerated exhaustion, and increased tumor growth. Here, CD8A is linked to neoplasm.