Higher expression of IDO was associated with poorer overall survival in head and neck cancer patients (P = 0.011), but higher expression of PD-L1 correlated with better overall survival specifically in nasopharyngeal carcinoma patients (P = 0.01). Here, IDO1 is linked to nasopharyngeal carcinoma.