We document a large decrease in earnings inequality in Brazil between 1996 and 2012.Using administrative linked employer-employee data, we fit high-dimensional worker and firm fixed effects models to understand the sources of this decrease. Firm effects account for40 percent of the total...