The excessive use of computers has caused people to develop various problems related to vision collectively known as computer vision syndrome. We aimed to assess computer vision syndrome and related factors among medical students and interns in the Faculty of Medicine, University of Tabuk. A cross-sectional study was conducted among medical students at Tabuk University in Tabuk city, Saudi Arabia during the period from August to October 2021. A self-administrated questionnaire based on demographic factors and computer vision syndrome symptoms was used. The current sample showed that 33.8% of the participant fulfilled the criteria for computer vision syndrome which was higher among students who wear glasses or contact lenses. the majority of students (86.6%) are using the computer for more than five hours and nearly a half are using the digital screen for more than six hours. In addition, less than half (48.5%) are practicing breaks between sessions, considerable percentage (51.5%) were using the screen during the dark and for more than five years. Myopic and hyperopic refractive errors were observed among 42.7% and 4.6% of the participants. The most frequently reported symptoms were eye fatigue (67.2%), headache (65.5%), and dry eyes (55.7%). We found a significant association between computer vision syndrome and the long period of screening, lesser breaks, and blurring of vision. Computer vision syndrome was prevalent among medical students at the University of Tabuk in particular those who use the glasses and contact lenses and long screening time.