The COVID-19 pandemic has necessitated a rapid shift to online learning, making the community of inquiry (COI) framework increasingly relevant for creating meaningful and effective online learning experiences. However, the impact of COI presences (i.e., teaching, social, and cognitive presence) on students' learning outcomes has been inconsistent in the literature, and a recent meta-analysis has identified a publication bias in this relationship suggesting the need for further investigation. This study aimed to enhance our understanding of how the COI presence influences college students' learning outcomes and whether it has a mediating role in the effect of self-efficacy and motivation on e-learner’s academic achievement. In this cross-sectional study, using a correlational research design, among all graduate students studying in online courses, a total of 269 graduate students were selected from online programs in seven public universities in Iran between April 2022 and June 2023, to be the sample of the study. The data were obtained from the answers to the community of inquiry (COI) scale, self- efficacy scale, academic motivation scale and students’ last semester grade point average. To examine the questions of the study, a path analysis was applied whose results showed that motivation and self-efficacy affected the community of inquiry positively (p<0.000). Also, the community of inquiry affected learning performance positively (p<0.000). The outcomes can provide significant theoretical and practical contributions to the key stakeholders to design a satisfying and successful online curriculum for the post-COVID-19 era and offer valuable insights into the design of productive online learning communities.