Recent literature has shown that sorting plays an important role when the impact of spatial externalities on disparities in average wages between locations is investigated. The aim of the paper is to show that sorting matters also when addressing the relationship between spatial externalities (employment density and specialization) and wage distribution, i.e. across workers located at different percentiles of the wage distribution. Previous empirical papers did not control for observed and unobserved heterogeneity since they used aggregate data (Wheeler, 2004, 2007, Moller and Haas, 2003). We can control for observed individual and firm heterogeneity since we make use of the Italian employer-employee panel data. By means of standard quantil...