To establish a universally applicable logistic risk prediction model for diabetes mellitus type 2 (T2DM) in the middle-aged and elderly populations based on the results of a Meta-analysis, and to validate and confirm the efficacy of the model using the follow-up data of medical check-ups of National Basic Public Health Service. Cohort studies evaluating T2DM risks were identified in Chinese and English databases. The logistic model utilized Meta-combined effect values such as the odds ratio (OR) to derive β, the partial regression coefficient, of the logistic model. The Meta-combined incidence rate of T2DM was used to obtain the parameter α of the logistic model. Validation of the predictive performance of the model was conducted with the follow-up data of medical checkups of National Basic Public Health Service. The follow-up data came from a community health center in Chengdu and were collected between 2017 and 2022 from 7602 individuals who did not have T2DM at their baseline medical checkups done at the community health center. This community health center was located in an urban-rural fringe area with a large population of middle-aged and elderly people. A total of 40 cohort studies were included and 10 items covered in the medical checkups of National Basic Public Health Service were identified in the Meta-analysis as statistically significant risk factors for T2DM, including age, central obesity, smoking, physical inactivity, impaired fasting glucose, a reduced level of high-density lipoprotein cholesterol (HDL-C), hypertension, body mass index (BMI), triglyceride glucose (TYG) index, and a family history of diabetes, with the OR values and 95% confidence interval (CI) being 1.04 (1.03, 1.05), 1.55 (1.29, 1.88), 1.36 (1.11, 1.66), 1.26 (1.07, 1.49), 3.93 (2.94, 5.24), 1.14 (1.06, 1.23), 1.47 (1.34, 1.61), 1.11 (1.05, 1.18), 2.15 (1.75, 2.62), and 1.66 (1.55, 1.78), respectively, and the combined β values being 0.039, 0.438, 0.307, 0.231, 1.369, 0.131, 0.385, 0.104, 0.765, and 0.507, respectively. A total of 37 studies reported the incidence rate, with the combined incidence being 0.08 (0.07, 0.09) and the parameter α being -2.442 for the logistic model. The logistic risk prediction model constructed based on Meta-analysis was externally validated with the data of 7602 individuals who had medical checkups and were followed up for at least once. External validation results showed that the predictive model had an area under curve (AUC) of 0.794 (0.771, 0.816), accuracy of 74.5%, sensitivity of 71.0%, and specificity of 74.7% in the 7602 individuals. The T2DM risk prediction model based on Meta-analysis has good predictive performance and can be used as a practical tool for T2DM risk prediction in middle-aged and elderly populations.