TGF-β directly inhibited CD8+ T cell infiltration, proliferation, and cytotoxicity in EGFR-mutated NSCLC. Here, TGFB1 is linked to non-small cell lung carcinoma.