This paper discusses the distributive consequences of trade flows in developing countries (DCs). On the theoretical side, we argue that the interplays between international openness and technology adoption may constitute an important mechanism leading to a possible increase of income differentials in the liberalizing DCs, trough skill enhancing trade. We use a dynamic specification to estimate the impact of trade on within-country income inequality in a sample of 70 DCs over the 1980-1999 period. Our results suggest that total aggregate trade flows are weakly related with income inequality. However, once we disaggregate total trade flows according to their areas of origin/destination, we find that trade with high income countries worsen income distribution in DCs, both through imports and exports. This finding provides a preliminary support to the hypothesis that technological differentials between trading partners are important in shaping the distributive effects of trade openness. Moreover, after testing for the differential impact of trade in middle income DCs vs low income ones, we observe that the previous result only holds for middle income countries (MICs). We interpret this evidence by considering the greater potential for technological upgrading in MICs both in terms of their higher absorptive capacity and in terms of their superior ability in serving the differentiated and high-quality markets of the developed world.