Instilling these techniques is easier said than done. With teaching as with other complex skills, the route to mastery is not abstruse theory but intense, guided practice grounded in subject-matter knowledge and pedagogical methods.

Trainees should spend more time in the classroom. The places where pupils do best, for example Finland, Singapore and Shanghai, put novice teachers through a demanding apprenticeship. In America high-performing charter schools teach trainees in the classroom and bring them on with coaching and feedback.

Teacher-training institutions need to be more rigorous—rather as a century ago medical schools raised the calibre of doctors by introducing systematic curriculums and providing clinical experience. It is essential that teacher-training colleges start to collect and publish data on how their graduates perform in the classroom.

Courses that produce teachers who go on to do little or nothing to improve their pupils’ learning should not receive subsidies or see their graduates become teachers. They would then have to improve to survive.

Big changes are needed in schools, too, to ensure that teachers improve throughout their careers. Instructors in the best ones hone their craft through observation and coaching. They accept critical feedback—which their unions should not resist, but welcome as only proper for people doing such an important job.

The best head teachers hold novices’ hands by, say, giving them high-quality lesson plans and arranging for more experienced teachers to cover for them when they need time for further study and practice.

Money is less important than you might think. Teachers in top-of-the-class Finland, for example, earn about the OECD average. But ensuring that the best stay in the classroom will probably, in most places, mean paying more.