In conclusion, we observed that a higher dietary intake of methylmercury was associated with an increased risk of GC, while IL23R rs10889677 polymorphism at the predicted miR-let-7 binding site exhibited a protective effect against GC. Here, IL23R is linked to gastric cancer.