In general, the highest quartile of liver function index (LFI), including ALT, AST, GGT, ALP, and hepatic steatosis index, was significantly associated with an increased risk of GDM (OR ranging from 1.29 to 3.15), especially an elevated risk of abnormal postprandial blood glucose level. This evidence concerns the gene GPT and gestational diabetes.