Recent evidence suggests that social mobility has declined in many devel- oped countries despite some of them pursuing proactive redistribution policies. In this paper we characterize the optimal mix of income tax and education poli- cies that a government should adopt to maximize a long-term social objective that includes considerations for income redistribution and upward mobility. We show that switching from an elitist to a meritocratic education system, or from a short-term to a long-term vision of social welfare, fosters upward mobility but it can sometimes lead to increased inequality.