TCF7 and neoplasm: Here we demonstrate that tumour-derived prostaglandin E2 (PGE2) restricts the proliferative expansion and effector differentiation of TCF1+CD8+ T cells within tumours, which promotes cancer immune escape.