In conclusion, the significant elevation of IL-17 and IL-23 and high expression of IL-21 and TNF-α in the serum of H. pylori-positive patients further supports the role of Th-17 cells in the pathogenesis of H. pylori infection and the severity of gastritis. Here, IL17A is linked to gastritis.