Using an immunocompetent mouse model of NSCLC, this study demonstrates that tumor-intrinsic response to IFNγ determines response to anti–PD-1 through alterations in the tumor microenvironment. Here, IFNG is linked to neoplasm.