Despite evidence for clinical benefit in patients suffering from lung cancer following treatment with immune checkpoint inhibitors (ICI), it is still uncertain how to predict which patients are likely to experience a significant response. In their work, Valencia et al. (2022. J. Exp. Med.https://doi.org/10.1084/jem.20220726) identify the DSTYK kinase as a cancer cell–intrinsic modulator of response to immunotherapy. Through regulation of the mTOR pathway and stimulation of protective autophagy, DSTYK blunts CD8+ T cell–mediated killing of cancer cells. Accordingly, lung cancers with increased expression of DSTYK are less responsive to ICI treatment. These observations could be useful in the clinic towards the development of predictive biomarkers and novel therapeutic strategies.