Abstract The school has been described as an important socialization agent in the process of political development. But the mechanism concerning how school contributes to political development has rarely been investigated. In this study we focus on contextual variables, i.e., classroom climate indicators that are seen as important aspects of the context in which adolescent development takes place. The study was based on the total of 1312 German students. In multilevel analyses, we regressed students’ reports on intolerant attitudes towards foreigners on background characteristics as well as on the perceived classroom climate. Fairness in the classroom as perceived by the individual student was found to be negatively related to intolerance and achievement pressure was positively related. Students attending the high college-bound track reported less antiforeigner attitudes as did students where parents had a more sophisticated educational background. The results are discussed proposing schools to provide an open climate as a contextual framework for the development of tolerant attitudes among adolescents.