Here the authors show that IRE1α-XBP1 activation is associated with poor overall survival in patients with non-small cell lung cancer and that IRE1α loss in cancer cells promotes anti-tumor immune responses in lung cancer preclinical models. Here, ERN1 is linked to neoplasm.