Objective:This study aims to investigate the effects of metformin on the content and composition of long-chain fatty acids(LCFA) in pregnant women with gestational diabetes mellitus(GDM) and their newborns. Methods:A total of 127 pregnant women who delivered in Changzhou Maternal and Child Health Hospital Affiliated to Nanjing Medical University from August 2018 to August 2020 were selected,32 pregnant women with normal glucose tolerance(N Group)and 32 pregnant women with GDM who only needed diet control (G1 Group)were selected as control. According to the principle of randomization and voluntariness,the pregnant women with GDM who needed drug treatment were randomly divided into metformin treatment group(G2 group,33 cases) and insulin treatment group(G3 group,30 cases). Blood glucose,blood lipids and insulin resistance index(HOMA-IR) were compared before delivery in each group. Body mass index(BMI)before pregnancy and delivery,and pregnancy outcome were compared. The composition and content of long LCFA in maternal blood and umbilical cord blood were analyzed. Results:The weight gain during pregnancy in G2 group was lower than that in N group,G1 group and G3 group. Fasting blood glucose(FBG)in G2 and G3 group was higher than that in N group. The 2-hour postprandial glucose(2hPG)in G1,G2 and G3 group was higher than that in N group. HOMA-IR in G2 group was higher than that in N group,G1 group and G3 group(P<0.05). There were no statistically significant differences in total cholesterol,triglyceride,free fatty acid in maternal blood and neonatal weight among the four groups(P > 0.05). The main 11 kinds of LCFA in maternal blood and cord blood were analyzed by liquid chromatography,which were eicosenoic acid(EA),docosapentaenoic acid(DPA),linolenic acid(LA),α-linolenic acid(ALA),arochidonic acid(AA),docosahexaenoic acid(DHA),phosphatidic acid(PA),oleic acid(OA),eicosapentenoic acid(EPA),w-6-docosapentaenoic acid(DPA6),gamma linolenic acid(GLA). EA in G2 and G3 groups was higher than that in G1 group,while DPA in G2 group was higher than that in N group,G1 and G3 groups(P < 0.05). The contents of EA,DPA,LA,ALA,PA,OA,EPA,DPA6 and GLA in umbilical cord blood were lower than those in maternal blood(P < 0.05). The levels of EA,LA,ALA,AA,DHA,PA,OA,EPA and GLA in maternal blood were significantly negatively correlated with FBG(P < 0.05). Conclusion:Metformin and insulin have the same effect in the control of neonatal weight,blood glucose and blood lipid in the treatment of GDM,and metformin is better than insulin in the control of pregnancy weight. It has no significant effect on the contents of important fatty acids such as LA and ALA in maternal blood and umbilical cord blood,and has no significant effect on the contents of AA and DHA in umbilical cord blood. From the perspective of effect on essential fatty acids,the use of metformin in GDM is safe.