Pregnancies with MTHFR rs1801131 G alleles had a significantly lower risk of GDM than pregnancies with T alleles (OR: 0.65; 95% CI: 0.47, 0.91) under the dominant model. Here, MTHFR is linked to gestational diabetes.