This study demonstrated that a lower AST/ALT ratio in early pregnancy was independently and negatively associated with the risk of GDM. Here, GPT is linked to gestational diabetes.