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, CDKAL1 is linked to gestational diabetes.