Same-gender teachers may affect educational preferences by acting as role models for their students. I study the importance of the gender composition of teachers in mathematics and science in lower secondary schools on the likelihood of continuing on math-intensive tracks in the next levels of...