BACKGROUND: Gestational diabetes mellitus (GDM) is globally recognized as a significant pregnancy-related condition, contributing to complex complications for both mothers and infants. Traditional glucose tolerance tests lack the ability to identify the risk of GDM in early pregnancy, hindering effective prevention and timely intervention during the initial stages. OBJECTIVE: The primary objective of this study is to pinpoint potential risk factors for GDM and develop an early GDM risk prediction model using neural networks to facilitate GDM screening in early pregnancy. METHODS: Initially, we employed statistical tests and models, including univariate and multivariate logistic regression, to identify 14 potential risk factors. Subsequently, we applied various resampling techniques alongside a multi-layer perceptron (MLP). Finally, we evaluated and compared the classification performances of the constructed models using various metric indicators. RESULTS: As a result, we identified several factors in early pregnancy significantly associated with GDM ( CONCLUSIONS: In this study, we proposed an innovative interpretable early GDM risk prediction model based on MLP. This model is designed to offer assistance in estimating the risk of GDM in early pregnancy, enabling proactive prevention and timely intervention.