Sleep quality perception was worse in female ICU patients, those with psychiatric disorders, and those with sleep alterations before hospitalization. Implementing early interventions and designing nonpharmacological techniques to improve sleep quality of ICU patients is essential.