This paper shows how the degree of credit-market imperfections affects the steady-state distributions of income and wealth, human capital investment, and the pattern of comparative advantage. The impact of trade liberalization on the accumulation of human capital depends on how it affects (1) the incentives to accumulate human capital, (2) the borrowing constraints facing human capital accumula...