BackgroundCOVID–19 pandemic caused university closures, which created learning challenges for students worldwide. Switching to online educational systems had significant impact on students’ performances. The current study aims to investigate the perception of university students from the Nutrition Science department regarding e-learning in Iran.MethodsThe design of the study is cross-sectional. Data were collected through online surveys from Iranian students from the Nutrition Sciences Department. Stratified random sampling was used to randomly select 955 participants. A self-administered validated questionnaire was used for data collection. Descriptive statistics, Analysis of Variance (ANOVA) and Chi-Square tests were used for analysis of the data.ResultsResults revealed that 67.2% of students didn’t have any former experience of e-learning. About 38.3% had moderate levels of Information Technology (IT) skills. Our results revealed that based on students’ responses, being able to stay at home was one of the most common benefits of e-learning (39.1%). However, the most common challenge that students faced was related to technical problems (39.6%). When compared to e-learning, most students preferred face-to face type of learning. Students believed that this method no only increased their knowledge but also their skills and social competence as compared to e-learning. Only 28% of students rated e-learning as enjoyable. Furthermore, acceptance of online based education was statistically associated with students’ degree level.ConclusionIn conclusion, students reported both advantages and disadvantages of e-learning but still reported that face-to-face learning is considered the most effective form of learning.