Devising cooperative or competitive situations is an important teaching strategy in educational practices. Nevertheless, there is still controversy regarding which situation is better for learning. This study was conducted to explore the effects of cooperative and competitive situations on statistical learning, through the alternating serial reaction time (ASRT) task. Individual cooperative and competitive situations were devised in this study, in which individual situation served as the control condition. Ninety recruited participants were randomly assigned to a cooperative, competitive, or individual group to perform the ASRT task. For general learning, cooperative and competitive situations could indeed make learners respond faster, and there was no significant difference in the RT between the cooperative and competitive groups. Moreover, statistical learning was observed in all three groups. An additional analysis of the early stage of the experiment showed that the learning effect of the competitive group was greater than those of the cooperative and individual groups, in terms of statistical learning. However, the final learning effect was not significantly different among the three groups. Overall, the cooperative and competitive situations had a positive impact on learning and enabled the students to acquire approximately the same learning effect in a shorter time period, compared with the individual situation. Specifically, the competitive situation accelerated the statistical learning process but not the general learning process.