Objective To establish and validate an early warning model for the risk of secondary peripheral neuropa-thy in type 2 diabetes mellitus(T2DM),in order to provide a reliable model for clinical evaluation of secondary peripheral neu-ropathy in T2DM.Methods In total,100 patients with secondary peripheral neuropathy in T2DM treated from September 2021 to October 2023 were selected as the observation group,and 100 patients with T2DM alone were selected as control group.Clinical data and bone metabolic markers of the two groups were collected,and factors related to secondary peripheral neuropathy in T2DM were screened by random forest algorithm.The early warning nomogram model for the risk of secondary peripheral neuropathy in T2DM was constructed,and receiver operating characteristic(ROC)curve and Hosmer-Lemeshow test were used to evaluate the predictive ability of the early warning model for the risk.Results The course of disease,pro-portion of patients with obstructive sleep apnea hypopnea syndrome(OSAHS),systolic blood pressure,hemoglobin A1 c(HbA1c),homeostasis model assessment-insulin resistance index(HOMA-IR)and homocysteine(Hcy)in observation group were higher than those in control group(P<0.05).The 25-hydroxyvitamin D[25-(OH)D]and type Ⅰ procollagen N-terminal propeptide(P Ⅰ NP)were lower than those of control group,and beta-isomerized C-telopeptide(β-CTX)were higher than those of control group(P<0.05).According to Random forest algorithm,the important ranking variables of the first 7 of secondary pe-ripheral neuropathy in T2DM were β-CTX,HOMA-IR,HbA1c,25-(OH)D,P Ⅰ NP,OSAHS and Hcy.Based on the above fac-tors,an early warning nomogram model for the risk of secondary peripheral neuropathy in T2DM was constructed.ROC curve showed that the model had high predictive ability,and Hosmer-Lemeshow test showed that the model had good calibration ability.Conclusion The risk factors of secondary peripheral neuropathy in T2DM are β-CTX,HOMA-IR,HbA1c,OSAHS,Hey,25-(OH)D,and P Ⅰ NP,respectively.Based on the above factors,a early warning nomogram model is constructed,which has good prediction and calibration ability.It can provide reference for clinical prevention and treatment of secondary periph-eral neuropathy in T2DM.