Across countries, a gender gap exists with respect to attitudes toward leadership and political participation, with women scoring lower than men on measures of these outcomes. This gap emerges early in life and could be influenced by gender norms learned through socialization, in the family or at school. Using a natural experiment in high school assignment in South Korea, we examine whether an all-female school environment can contribute to narrowing the gender gap by increasing women’s civic and political participation and fostering their ambition for leadership. We find that female graduates of single-sex schools are more engaged in politics and society and more likely to pursue leadership positions compared to women who graduated from coeducational schools. These effects are durable, lasting for years, even decades. However, single-sex schools do not cultivate more progressive gender attitudes among women, so increased female participation need not imply greater activism for gender equality.