Diabetic patients have poor sleep quality because of its disease complication. Diabetic foot ulcer (DFU) patients were predicted have lower sleep quality because of the high-stress level and pain. The study objective was to compare sleep quality between diabetic patients with and without DFU. This study design was quantitative analytic cross-sectional. This research has been conducted in 152 diabetes type 2 patients who were divided into 79 respondents without diabetic foot ulcers and 73 respondents with diabetic foot ulcers. The instruments used in this study were numeric pain scale, Wagner scale, Pittsburgh Sleep Quality Index and Perceived Stress Scale. Based on chi-square test, there was no significant difference in sleep quality of diabetic patients with and without DFU (p=0.420; OR=1.39) however, the majority of DFU patients experienced poor sleep quality (67%). The majority of patients who experienced pain also had poor sleep quality (64.2%). The pain was found to be significantly related to poor sleep quality (p=0.013; OR=1.10). This research recommend about the pain in DFU have to manage to increase the quality of sleep comfort care in diabetes patients are urgently required to improve sleep quality, especially in DFU patients.