Objective: To assess sleep quality in a population of patients with ulcer leg. Methods: This was an exploratory, descriptive, cross-sectional study. The Pittsburgh Sleep Quality Index (PSQI) was used to assess sleep quality in 60 patients with diabetes mellitus and foot ulcers and 100 patients with venous ulcers. Results: Patients with diabetic foot ulcers Seventeen (28.3%) patients had a global PSQI score less than 5, indicating that they were good sleepers, while 43 (71.7%) patients were considered poor sleepers. The patients reported going to bed between 9:00 pm and 11:00 pm (n = 40, 66.70%), taking from 16 to 30 minutes to fall asleep (n = 25, 41.70%), and waking up after 4 to 5 hours of sleep (n = 40, 66.70%). Of patients with venous ulcers thirty-six (36%) patients had a global PSQI score <5, indicating that they were good sleepers, while 64 (64%) patients were considered poor sleepers. Fifty-three (53%) patients reported going to bed between 9:00 pm and 11:00 pm, 63 (63%) taking from 16 to 30 minutes to fall asleep, and 41 (41%) waking up after 4 to 5 hours of sleep. Sixty (60%) patients regarded sleeping as a necessity. Conclusion: Patients with ulcer leg had poor sleep quality.