Our study provides novel evidence of CD4+ and CD8+ T-cell–intrinsic effects of Yap on T-cell activation and tumor infiltration. Here, YAP1 is linked to neoplasm.