We confirmed that the expression levels of peripheral and tumor‐infiltrating DC2s, CD4+/CD8 + T cells, Foxp3 + Tregs, and IDO were correlated with each other as well as with clinicopathological characters and gastric cancer prognosis. Here, IDO1 is linked to gastric cancer.