This narrative review explores the involvement of several genes, including SLC30A8, CDKAL1, TCF7L2, IRS1, and GCK, in GDM, along with the adverse effects of stress on insulin function. Here, SLC30A8 is linked to gestational diabetes.