This paper develops a labour market model with on-the-job search, match-specific productivity draws and an endogenous irreversible schooling decision. The choice of schoolin is modelled as an optimal stopping problem which gives rise to the equilibrium heterogeneity of workers with respect to...