Background: Diabetic peripheral neuropathy (DPN) is one of the most serious complications of type 2 diabetes mellitus (T2DM). DPN increases the risk of ulcers, foot infections, and noninvasive amputations, ultimately leading to long-term disability.Methods: Seven hundred patients with T2DM were investigated from 2013 to 2017 in the Sanlin community by obtaining basic data from the electronic medical record system (EMRS). From September 2018 to July 2019, 681 patients (19 missing) were investigated using a questionnaire, physical examination, biochemical index test, and follow-up Toronto clinical scoring system (TCSS) test. Patients with a TCSS score ≥6 points were diagnosed with DPN. After removing missing values, 612 patients were divided into groups in a 3:1 ratio for external validation. Using different Lasso analyses (misclassification error, mean squared error, –2log-likelihood, and area under curve) and a logistic regression analysis of the training set, models A, B, C, and D were established. The receiver operating characteristic (ROC) curve, calibration plot, dynamic component analysis (DCA) measurements, net classification improvement (NRI) and integrated discrimination improvement (IDI) were used to validate discrimination and clinical practicality of the model.Results: Through data analysis, model A (containing four factors), model B (containing five factors), model C (containing seven factors), and model D (containing seven factors) were built. After calibration, ROC curve, DCA, NRI and IDI, models C and D exhibited better accuracy and greater predictive power.Conclusion: Four prediction models were established to assist with the early screening of DPN in patients with T2DM. The influencing factors in model C and D are more important factors for patients with T2DM diagnosed with DPN.