This paper studies how financial globalization affects debt structure in emerging economies. We find that by accessing international markets, firms increase their long-term debt and extend their debt maturity. In contrast, with financial liberalization, long-term debt decreases and the maturity structure shifts to the short term for the average firm. These effects are stronger in economies with less developed domestic financial systems. The evidence is consistent with financial integration having opposite effects on the firms that are able to integrate with world markets and obtain financing globally, relative to the firms that rely on domestic financing only.