This dissertation consists of three essays in the intersection of macroeconomics and international trade. The first essay studies the causes and consequences of the differences in the use of outsourcing across countries. I start by observing that there is considerable variation in outsourcing intensity across countries. I then show that this pattern can be rationalized in a theoretical framework that combines a Coase-Williamson view of the firm with Kiyotaki-Moore-Manova view of financial friction. The model pins down the intensity of outsourcing and shows how it varies with the financial characteristics of the suppliers. Econometric evidence reveals that the model is consistent with the features of both sectorallevel and firm-level data....