Stomach cancer is a serious public health problem in China. 5,10-Methylenetetralydrofolate reductase (MTHFR) may be involved in both DNA methylation and DNA synthesis. Folate deficiency is associated with cancer risk that may be modulated by a genetic variation in the MTHFR gene in folate metabolism. The main goal of this study was to evaluate the association between polymorphisms of the MTHFR gene and the risk of stomach cancer. This study also explored the modification effects of fruit and vegetable intake (one of the main constituents is folate) on the risk of this disease. A population-based case-control study was conducted in Taixing, China, consisting of 206 newly diagnosed cases with primary stomach cancer and 415 healthy population controls. Polymorphisms of MTHFR C677T and A1298C were assayed by polymerase chain reaction-restricted fragment length polymorphism (PCR-RFLP) techniques. The data were analysed using the logistic regression model. No obvious association between the MTHFR A1298C polymorphism and the risk of stomach cancer was observed in this study. The frequencies of 677 C/C, C/T, and T/T were 34.5, 50.9, and 14.6%, respectively, in controls. The frequency of the MTHFR 677 wild homozygotic genotype was 25.8% in cases, which was lower than that in controls (34.5%). The adjusted odds ratio (OR) for the MTHFR 677 any T genotype was 2.05 (95% confidence interval (CI), 1.26-3.34) when compared with the C/C genotype. In the low fruit and vegetable intake group an increasing trend was observed with the T allele exposure, p = 0.0056. The adjusted ORs were 1.68 (95% CI = 0.86-3.29) for the C/T genotype and 3.58 (95% CI = 1.46-8.75) for the T/T genotype, respectively. The MTHFR 677 any T genotype was associated with an increased risk of primary stomach cancer among the Chinese population. Folate deficiency might modify the MTHFR gene polymorphism and influence the risk of stomach cancer.