Stratified analysis was performed by ethnicity, source of control, genotype method, and indicated a significantly increased gastric cancer risk associated with IL‐1B 31T variant in the population‐based subgroup (heterozygous model: OR = 1.22, 95% CI = 1.03–1.45). Here, IL1B is linked to gastric cancer.