BACKGROUND: Ankle arthrodesis (AA), or ankle fusion, is a surgical procedure used to treat severe ankle pathologies, particularly in patients with chronic pain and reduced mobility due to conditions like osteoarthritis, posttraumatic arthritis, and Charcot arthropathy. Diabetic patients undergoing AA often face higher risks of complications due to comorbidities such as dyslipidemia and hypertension. This study aims to compare the outcomes of AA in diabetic vs nondiabetic patients, using data from the Nationwide Inpatient Sample (NIS) from 2016 to 2019. METHODS: Using the Nationwide Inpatient Sample database, 12 325 patients who underwent ankle arthrodesis were identified from 2016 to 2019 based on RESULTS: Primary osteoarthritis was the most common cause, accounting for 55.4% of AA procedures. Multivariate logistic regression revealed that diabetes mellitus (DM) was significantly associated with increased risks of blood loss (odds ratio [OR] 1.59, 95% CI 1.23-2.05, CONCLUSION: Diabetic patients undergoing AA have higher rates of comorbidities and postoperative complications, leading to longer hospital stays. These findings highlight the need for comprehensive preoperative and postoperative care to improve outcomes in this population. LEVEL OF EVIDENCE: Level III, retrospective study.