Based on the antibody typing classification, Helicobacter pylori infection can be divided into type I H. pylori infection and type II H. pylori infection. To observe the effects of different H. pylori infection types on the distribution of histopathological characteristics and the levels of three items of serum gastric function (PG I, PG II, G-17). 1175 cases from October 2018 to February 2020 were collected with ratio 1:2. All patients were performed with 14C-Urea breath test (14C-UBT), H. pylori antibody typing classification, three items of serum gastric function detection, painless gastroscopy, pathological examination, etc. According to H. pylori antibody typing classification, patients were divided into three groups: type I H. pylori infection group, type II H. pylori infection group and control group. Significant difference existed among type I H. pylori infection group, type II H. pylori infection group and control group in inflammation and activity (χ2 = 165.43, 354.88, P all < 0.01). The proportion of three groups in OLGA staging had statistic difference (χ2 = 67.99, P all < 0.01); Compared with type II H. pylori infection group and control group, the level of pepsinogen I, pepsinogen II, gastrin17 in type I H. pylori infection group increased, and PG I/PG II ratio (PG I/PG II ratio, PGR) decreased, which was statistically significant (χ2 = 35.08, 166.24, 134.21, 141.19; P all < 0.01). Type I H. pylori infection worsened the severity of gastric mucosal inflammation and activity. H. pylori infection was prone to induce atrophy of gastric mucosa, while type I H. pylori infection played a key role in promoting the progress of atrophic gastritis and affected the level of serum gastric function. The study indicated that the eradication of H. pylori should be treated individually.