We found that RORγ and IL-17A, the main Th17 factors, are highly upregulated in gastric mucosa derived from both H. pylori infection and gastric cancer suggesting a link between H. pylori infection, the inflammatory CD4+ T cell phenotype, Th17, and gastric cancer. Here, CD4 is linked to gastric cancer.