Objective: Digitalization has entered each and every field of our life. It has changed the way we deal with our surroundings. We have overcome various hurdles and difficulties which otherwise was a challenge for us to reach the desired goal easily. Dentistry and dental education is not exceptional for this. So the present study was conducted to know the perception for online learning among undergraduate and postgraduate dental students in Kingdom of Saudi Arabia during COVID-19 pandemic. Methods: A cross-sectional survey was conducted among a sample of 200 undergraduate and postgraduate dental students using a self-administered questionnaire in Saudi Arabia. The questionnaire was distributed to a sample of 200 undergraduate and postgraduate dental students. A validated structured and open questionnaire comprised of 15 items on perceptions. Data was analyzed using the SPSS IBM software version 21. Results: The majority reported that it was easy to access the site and to find their way around the course. Around half of the participants preferred combination (Traditional lectures & Web CT) type of teaching method. Most of the participants reported that online course is timesaving and online course like this will help with revision for exams. Majority reported they would email tutor if they need help and online classes have been helpful. Conclusion: Both undergraduate and postgraduate students’ perception regarding the online learning is positive. With the improvement in the Internet access and existing computer skill of the students, online learning is definitely going to be the future mode of teaching-learning platform.