Our study illustrated an increased risk of GDM for pregnant women with elevated ALT in both the observational study and the MR study, while previous observational studies have shown inconsistent conclusions. The gene discussed is GPT; the disease is gestational diabetes.