Helicobacter pylori infection can induce aberrant CpG island hypermethylation in gastric mucosal epithelial cells. Single nucleotide polymorphisms of proinflammatory cytokine genes encoding for interleukin 1B (IL1B), IL6, and IL8 have been demonstrated to be associated with an increased risk of gastric cancer. To identify the influence of host genetic factors in CpG island hypermethylation induced by H. pylori infection, we analyzed H. pylori-infected chronic gastritis (n = 111) and gastric cancer samples (n = 78) for the methylation status of eight genes previously shown to be hypermethylated in chronic gastritis and single nucleotide polymorphisms of IL1B, IL6, and IL8. The methylation levels were then compared between different genotypes. Gastric cancers from patients with the IL1B-511T/T allele showed significantly higher methylation levels in five genes as compared with gastric cancers from IL1B-511 C carriers (P < 0.05). An increased level of hypermethylation in association with the IL1B-511T/T allele was observed in chronic gastritis samples, but the association was not statistically significant. These findings suggest that the IL1B-511T/T allele is associated with enhanced hypermethylation of multiple CpG island loci, which might contribute to an increase in the risk for gastric cancer in individuals with H. pylori infection and IL1B-511T/T allele.