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. The gene discussed is CD4; the disease is gastric cancer.