German secondary education is known for its early, strict selection of students into different schooling tracks based on prior academic performance, based on the assumption that students learn more efficiently when the learning environment is tailored to their individual abilities and needs. While much previous research has shown that entry into tracks is socially selective, less is known whether there are effects of being exposed to a particular school track on educational success and which mechanisms are contributing to these effects. We investigate this question by comparing the learning progress in reading and mathematics of students in the upper and intermediate schooling track over five years of secondary schooling, based on large-scale German-wide longitudinal data (NEPS-SC3). Even when restricting our sample to a group of students with similar preconditions and controlling for skills at the beginning of secondary schooling, we find that the learning progress in the upper track is higher for both domains, suggesting scissor effects of track exposure. It is mainly the average performance level of the class, and to a lesser degree its social background composition, which mediates these effects. In contrast, migration background composition of the class and instructional quality perceived by students hardly contribute to explaining increasing learning gains in the upper track.