Our study demonstrated upregulated RORγt mRNA expression and increased IL-17 secretion in the patients with H. pylori-infected gastritis, which recruit inflammatory cells to the gastric mucosa and mediate host inflammatory responses against the pathogen. This evidence concerns the gene IL17A and gastritis.