Gastric cancer (GC) is the fourth-leading cause of cancer-related mortality. The intestinal subtype of GC comes after the cascade of Correa, presenting H. pylori infection as the major etiological factor. One of the main mechanisms proposed for the progression from a more benign gastric lesion to cancer is DNA damage caused by chronic inflammation. Polymorphisms in DNA repair genes can lead to an imbalance of host DNA damage and repair, contributing to the development of GC. From there, we evaluated the risk of polymorphisms in DNA repair system genes in progressive gastric diseases and their association with the H. pylori genotype. This study included 504 patients from two public hospitals in Brazil's north and northeast regions. The samples were classified into active and inactive gastritis, metaplasia, and GC. Polymorphisms in the DNA repair genes MLH1-93G > A, APE1 2197 T > G, XRCC1 28,152 G > A, MGMT 533 A > G, and XRCC3 18,067C > T were investigated by RFLP-PCR and H. pylori genotype by PCR. Statistical analyses were conducted using EPINFO 7.0., SNPSTAT, and CART software. The XRCC1 (GA) polymorphic allele stood out because it was associated with a lower risk of more severe gastric disease progression. Haplotypes of XRCC1 (GA) associated with some genotypes of MGMT, XRCC3, MLH1, and APE1 also showed protection against the progression of gastric diseases. XRCC3 (CT) showed a decreased risk of gastric disease progression in women, while a risk 1.3x to GC was observed in the MLH1 (A) polymorphic allele. The interaction between H. pylori genes and the host showed that the H. pylori cagE gene was the most important virulence factor associated with a worse clinical outcome, even overlapping with the XRCC1 polymorphism, where the MLH1 polymorphism response varied according to vacA alleles. Our results show the relevance of XRCC1 G > A for genome integrity, sex influence, and interaction between H. pylori virulence factors and XRCC1 and MLH1 genotypes for gastric lesion outcomes in Brazilian populations.