Here we find that in human and mouse tumour tissue, PI3Kδ inhibition leads to substantial changes in the cell composition of the TME by reducing the number of Treg cells and activating intratumoural CD4+ and CD8+ T cells, which clonally expand and display heightened cytotoxic and cytolytic features. Here, CD4 is linked to neoplasm.