Objective: As with other people, sleep quality has an impact on a physician's work safety. Aim of this study is determine the sleep quality among medical specialists whose working night shifts, and detect other independent factors that affect their sleep quality. This is essential for improving the physician health and their daily performance for patient care. Methods: A qualitative study was design with a cross-sectional method. Sampling was conducted with stratification among night shift physicians who work in the emergency, internal medicine and surgical departments at an education and research hospital. Scores on the Pittsburgh Sleep Quality Index (PSQI) and the Swedish Demand-Control-Support Questionnaire (DCSQ) were assessed. Results: One hundred eight physicians who worked night shifts responded to the questionnaire. The average age of the physicians was 31.3±5.9, and 40.7% were women. The average PSQI score in male participants was significantly higher (8.1±3.7 vs. female 7.6±3.9; p=0.014). The majority of physicians (83.3%) had high PSQI values, i.e., scores of 5 or more. No significant difference was found in the average PSQI values between the emergency and internal medicine physicians and surgeons (p>0.05). The most important factors that affected physicians' sleep quality were the number of night shifts per month, age, gender and the existence of a chronic disease. Conclusion: The sleep quality of medical specialists who work night shifts is equally low. The existence of a chronic disease, age, gender and higher numbers of night shifts affect sleep quality as powerful independent factors.