From The National Bureau of Economic Research:

A new study published by The National Bureau of Economic Research demonstrates the effect teachers’ gender biases can have on boys’ and girls’ academic achievements during middle and high school and their choice of advanced level courses in math and sciences. The results suggest that teachers’ biased behavior at early stages of schooling can have long-term implications for occupational choices and earnings at adulthood.