This study aimed to investigate the risk factors associated with neonatal hypoglycemia and its correlation with blood glucose control in patients with gestational diabetes mellitus (GDM). This study was a retrospective study. 880 pregnant women with GDM and their newborns were hospitalized from January 2018 to December 2022 in our hospital. The clinical information of GDM pregnant women and their newborns were reviewed and the hemoglobin A1c (HbA1c) values measured within 1 week before delivery were collected. According to the occurrence of neonatal hypoglycemia, which was divided into the control and observation groups. Logistic regression model was used to estimate the potential factors associated with neonatal hypoglycemia. The association between HbA1c of pregnant women before delivery and abnormal glucose metabolism in newborns was examined using spearman correlation analysis. A total of 104 cases of hypoglycemia occurred in neonates delivered by 880 GDM women and the incidence of neonatal hypoglycemia was 11.82%. There were significant differences in pre-pregnancy overweight or obesity, delivery mode, maternal blood sugar control effect and neonatal feeding standard between the 2 groups of GDM women (P < .05). Pre-pregnancy overweight or obesity, poor blood sugar control in GDM women, and improper neonatal feeding were risk factors for neonatal hypoglycemia. The results of logistic regression analysis showed that abnormal glucose metabolism in newborn (odds ratio [OR]: 2.43, 95% confidence interval [CI]: 1.12-4.73) and neonatal hypoglycemia (OR: 3.04, 95% CI: 1.33-5.79) were a risk factor. We also conducted the logistic analysis to evaluate the correlation between HbA1c before delivery and abnormal glucose metabolism in newborns of pregnant women with GDM through adjusting some potential factors. The results were still significant in the abnormal glucose metabolism in newborn (OR: 2.84, 95% CI: 1.23-6.63) and neonatal hypoglycemia (OR: 3.64, 95% CI: 1.46-8.18). Overweight or obesity of GDM parturient before pregnancy, poor blood glucose control of GDM parturient and improper feeding of newborns are all risk factors for neonatal hypoglycemia. HbA1c before delivery has a certain predictive value for abnormal glucose metabolism in newborns.