Moreover, even after accounting for variables including parity, age, hepatic steatosis, pre-pregnancy BMI, AST, HDL-C, GGT, LDL-C, insulin, ALT, and TC in Model 3, a noticeable connection between the TyG index and incident GDM persisted (OR: 12.923, 95%CI: 3.581–46.632, p = 0.00009). This evidence concerns the gene INS and gestational diabetes.