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, AHR is linked to melanoma.