Helicobacter pylori (H. pylori) resistance is the most important risk factor for eradication failure. However, in most regions, antibiotic resistance rates of H. pylori in patients with different types of gastric mucosal lesions are still unclear. An 8-year clinical retrospective cohort study involving 2847 patients was performed. In this study, we first summarized and compared the resistance status of H. pylori in different years, ages, sexes, and gastric diseases. The resistance profiles of amoxicillin (AMX), clarithromycin (CLR), levofloxacin (LVX) and furazolidone (FR) and their changing trends in the clinic were described. Then, multiple antibiotic resistance in different gastric diseases and years were described and compared. The relationship between proton pump inhibitor (PPI) medication history and antibiotic resistance in H. pylori was also explored. Finally, an antibiotic resistance risk model was constructed for clinical resistance risk prediction. The overall resistance rates of AMX, CLR, LVX and FR in gastric diseases were 8.18%, 38.11%, 43.98%, and 13.73%, respectively. The mono resistance, double resistance, triple resistance, and quadruple resistance rates were 30.17%, 25.96%, 6.46%, and 0.63%, respectively. Compared with the period from 2014 to 2016, the rates of mono-resistance and multiple resistance all showed relatively downward trends in the past 5 years. Factors including age, sex, type of gastric lesions and recent PPI treatment history are associated with the antibiotic resistance rate of H. pylori. Atrophic gastritis is an important clinical feature of high-risk antibiotic resistance in H. pylori-infected patients. Patients with atrophic gastritis have higher risk of resistant strains infection. In this study, our data provide the association between antibiotic resistance of H. pylori and gastritis pattern, which indicate the higher risk of resistant strain infection if the patients with atrophic gastritis, PPI history and older age.