E-learning is expected to become a common teaching and learning approach in educational institutions in the near future; thus, the success of e-learning initiatives must be ensured in order to make this a sustainable mode of learning. In order to improve students’ learning performance through the use of e-learning in Saudi Arabia’s higher education, it was the objective of this paper to examine the relationships between social cognitive theory and learning input factors and the reflective thinking and inquiry learning style as well as the indirect effects of student problem-solving and critical thinking skills. As a result, this study thoroughly assessed the social cognitive theory that is currently in use, along with learning input components and situational factors that should be carefully taken into account while introducing an online education system into Saudi Arabia’s top universities as a way of ensuring learning sustainability. As a result, 294 university students completed a questionnaire that served as the initial dataset for the research study, and the proposed conceptual model was comprehensively assessed using SEM. The research results demonstrated that the inquiry style of learning and reflective thinking have always had a significant impact on the social involvement, human engagement, social power, social identity, and social support. Similar findings were obtained regarding the impact of problem-solving and critical thinking skills on the inquiry-based learning approach and reflective thinking. Thus, students’ ability to learn in Saudi Arabia’s higher education is greatly influenced by their ability to solve problems and think critically. Therefore, it is almost certain that this research study will aid university policy makers in their decision on whether to fully deploy an online learning system as a way of ensuring learning sustainability at educational institutions throughout Saudi Arabia.