Objective To explore the value of near focus narrow band imaging endoscopic classification of gas-tritis in the diagnosis of Helicobacter pylori(Hp)infection,chronic inflammation,activity and atrophy of gastric muco-sa.Methods A total of 439 patients aged ≥18 years who underwent gastroscopy and pathological biopsy in Liuzhou Maternal and Child Health Hospital from April 2021 to March 2022 were selected.According to the classification of gas-tritis in the small curvature of the lower part of the stomach,the results of Hp detection and the pathology of the gastric mucosa under the near focus narrow band imaging mode,the correlation between the classification of gastritis under the near focus narrow band imaging endoscope with the Hp infection and the pathological status of the gastric mucosa was analyzed.Results The Hp infection rates of B-0-1,B-2-3 and A-1-2 types were 57.63%,92.59%and 95.65%re-spectively.The Hp infection rates of B-2-3 and A-1-2 types were significantly higher than B-0-1 type(P<0.016 7),but there was no significant difference between B-2-3 and A-1-2 type gastric mucosal in Hp infection rates.In terms of gastric mucosal chronic inflammation and activity,the severity of B-0-1,B-2-3,and A-1-2 types increased in turn(P<0.016 7).In the judgment of atrophy,A-1-2 type had a high diagnostic efficiency in the judgment of gastric mucosal at-rophy,which was significantly different from B-0-1 and B-2-3 type(P<0.016 7).Conclusions The classification of gastritis under narrow band imaging endoscopy has high accuracy in judging Hp infection and pathological status.