The incidence of gastric cancer (GC) in China is among the highest in the world. In present work, 154 patients with GC and 166 healthy controls in population of north-western China were investigated to evaluate the genetic associations of IL-1B gene single nucleotide polymorphisms (SNP) and variable number tandem repeat (VNTR) polymorphisms of IL-1RN gene with increased risk of GC. The frequency of IL-1B+3954C/T was significantly higher in GC cases group (25.97%) than that in controls (4.82%) with odds ratio (OR)=6.93 (95% confidence interval [CI] 3.13-15.36); the frequencies of IL-1B-31C/T, IL-1B-31C/C and IL-1B-511C/T genotypes were also higher in GC cases group (51.95%, 23.38% and 50.65%) than those in controls (46.99%, 19.88% and 42.77%) with OR=1.48 (95% CI 0.88-2.49), OR=1.58 (95% CI 0.84-2.95) and OR=1.39 (95% CI 0.80-2.41), respectively. The results show that these SNPs of IL-1B gene are associated with significantly increased risk of GC. This is the first report that IL-1B+3954C/T heterozygote is associated with greatly increased risk of GC. The results of this study did not support the report that IL-1RN*2+ genotypes were associated with increased risk of GC in Chinese population.