Adults with type 2 diabetes have an increased risk of cardiovascular events (CVE), the world's leading cause of mortality. The SCORE2-Diabetes model is a tool designed to estimate the 10-year risk of CVE specifically in individuals with type 2 diabetes. However, the performance of such models may vary across different demographic and socioeconomic groups, necessitating validation and assessment in diverse populations. This study aims to externally validate SCORE2-Diabetes and assess its performance across various socioeconomic and migration origins in the Netherlands. We selected adults with type 2 diabetes, aged 40-79 years and without previous CVE from the Extramural LUMC Academic Network (ELAN) primary care data cohort from 2007 to 2023. ELAN data were linked with Statistics Netherlands registry data to obtain information about the country of origin and socioeconomic status (SES). CVE was defined as myocardial infarction, stroke, or CV mortality. Non-CV mortality was considered a competing event. Analyses were stratified by sex, Dutch versus other non-Dutch countries of origin, and quintiles of SES. Of the 26,544 included adults with type 2 diabetes, 2,518 developed CVE. SCORE2-Diabetes showed strong predictive accuracy for CVE in the Dutch population (observed-to-expected ratio (OE)=1.000, 95% CI=0.990-1.008 for men, and OE=1.050, 95% CI=1.042-1.057 for women). For non-Dutch individuals, the model underestimated CVE risk (OE=1.121, 95% CI=1.108-1.131 for men, and OE=1.100, 95% CI=1.092-1.111 for women). The model also underestimated the CVE risk (OE>1) in low SES groups and overestimated the risk (OE<1) in high SES groups. Discrimination was moderate across subgroups with c-indices between 0.6 and 0.7. SCORE2-Diabetes accurately predicted the risk of CVE in the Dutch population. However, it underpredicted the risk of CVE in the low SES groups and non-Dutch origins, while overpredicting the risk in high SES men and women. Additional clinical judgment must be considered when using SCORE2-Diabetes for different SES and countries of origin.