In this meta-analysis, we evaluated the influence of two prominent SNPs (1237 C/T and − 1486 T/C) in the TLR9 gene on the risk of gastric cancer across six countries. Here, TLR9 is linked to gastric cancer.