In patients with advanced gastric cancer, high proportions of CD4 + T cells and NK cells were independent predictors of the short-term efficacy of immunotherapy, and the predictive value of combined CD4 + T cell, NK cell, and PD-L1 expression level is stronger than that of individual CD4 + T cells or NK cells. This evidence concerns the gene CD4 and gastric cancer.