Purpose The purpose of this study is to propose a research model based on the stimulus–organism–response (S–O–R) model to examine whether network externality, personalization and sociability as environmental feature antecedents to learners’ learning engagement (LE) can influence their learning persistence (LP) in massive open online courses (MOOCs). Design/methodology/approach Sample data for this study were collected from learners who had experience in taking MOOCs provided by the MOOC platform launched by a well-known university in Taiwan, and 371 usable questionnaires were analyzed using structural equation modeling in this study. Findings This study proved that learners’ perceived network externality, personalization and sociability in MOOCs positively affected their cognitive LE, psychological LE and social LE elicited by MOOCs, which jointly led to their LP in MOOCs. The results support all proposed hypotheses, and the research model accounts for 76.2% of the variance in learners’ LP in MOOCs. Originality/value This study uses the S–O–R model as a theoretical base to construct learners’ LP in MOOCs as a series of the inner process, which is affected by network externality, personalization and sociability. It is worth noting that three psychological constructs including cognitive LE, psychological LE and social LE are used to represent learners’ organismic states of MOOCs usage. To date, hedonic/utilitarian concepts are more often adopted as organisms in previous studies using the S–O–R model, and psychological constructs have received lesser attention. Hence, this study’ contribution on the application of capturing psychological constructs for completely expounding three types of environmental features as antecedents to learners’ LP in MOOCs is well documented.