In patients with NSCLC and COPD, response to immunotherapy is associated with accumulation of CD8+ MAIT cells showing immune exhaustion. Here, CD8A is linked to chronic obstructive pulmonary disease.