Objectives: To assess students' sleep quality and to find the association of students' academic performance with sleep quality. Materials and Methods: It is a cross-sectional study conducted in three public sector institutes: Khyber Medical College Peshawar (KMC), Khyber College of Dentistry (KCD) Peshawar, and the University of Peshawar (UOP). A convenience sampling technique was used, and a sample size of 139 was calculated using the Cochran formula. Data collection was done from September 10, 2022, to October 1, 2022. A self-administered well-validated questionnaire was used to inquire about students' personal and lifestyle characteristics and academic performance and also included the Pittsburgh Sleep Quality Index (PSQI). A score equal to or greater than 5 on the PSQI scale signifies poor sleep quality. The chi-square test and Pearson correlation were applied to determine statistical significance. The data analyses were conducted using IBM's SPSS Statistical Software for Windows (IBM SPSS Version 21, Chicago, IL, USA). Results: Out of 139 participants, 29 (20.9%) had good-quality sleep, while 110 (79.1%) were poor sleepers. However, we could find no significant association between sleep quality and academic performance (p = 0.194; r = - 0.049) Conclusion: A very high percentage of students had poor sleep quality. However, we could establish no association with academic performance.