For GDM, no significant association was observed in underweight pregnancy women in MTHFR A1298C dominant model, but a decreased risk of 0.59 (95% CI = 0.44–0.81, P = 0.016) was found in underweight pregnant women with the MTHFR C677T CC genotype. Here, MTHFR is linked to gestational diabetes.