This study investigates how salary rigidities affect teacher quality across teaching subjects and high schools and whether high quality teachers can be compensated sufficiently to attract them into unfavorable schools. For identification, we rely on idiosyncratic variations in compensation...