Here we found that lack of dietary AhR ligands was detrimental for the efficacy of anti-PD1 therapy in pre-clinical models of fibrosarcoma, melanoma and mammary tumor. Here, PDCD1 is linked to fibrosarcoma.