In summary, the present study revealed that SNPs in the HLA-DQA1/HLA-DQB1 genes are significantly associated with the risk of GDM via a single locus or joint effects of gene-gene and gene-environment factors. Here, HLA-DQA1 is linked to gestational diabetes.