In summary, in this population-based study we found NOD1 rs2709800 and NOD2 rs718226 were associated with risk of precancerous gastric lesion or GC. The gene discussed is NOD2; the disease is gastric cancer.