Background: There is still uncertainty regarding whether diabetes mellitus (DM) can adversely affect patients undergoing carotid endarterectomy (CEA) for carotid stenosis. The aim of the study was to assess the adverse impact of DM on patients with carotid stenosis treated by CEA. Methods: Eligible studies published between 1 January 2000 and 30 March 2023 were selected from the PubMed, EMBASE, Web of Science, CENTRAL, and ClinicalTrials databases. The short-term and long-term outcomes of major adverse events (MAEs), death, stroke, the composite outcomes of death/stroke, and myocardial infarction (MI) were collected to calculate the pooled effect sizes (ESs), 95% confidence intervals (CIs), and prevalence of adverse outcomes. Subgroup analysis by asymptomatic/symptomatic carotid stenosis and insulin/noninsulin-dependent DM was performed. Results: A total of 19 studies (n = 122,003) were included. Regarding the short-term outcomes, DM was associated with increased risks of MAEs (