PhD ThesisThis thesis studies two important aspects of labour market earnings dynamics: the post-displacement earning losses experienced by high-tenure workers, and the evolution of the gender wage gap within rms linked to export activity. The rst two essays aim at understanding and quantifying the forces behind the post-displacement earning losses observed in the data. I rst introduce the main empirical and theoretical works in the literature. Then, I propose a structural model of the labour market with on the job search, in which rms are heterogeneous in productivity and workers accumulate both general and speci c skills while employed. Jobs are destroyed at an endogenous rate due to idiosyncratic productivity shocks and work...