This paper provides an analysis of outsourcing and trade in a spatial model à la Hotelling. In this setting, we discuss the trade-off between transport-cost-related disadvantages and outsourcing-related production cost advantages of a large economy and we investigate how the existence of national transport costs influences both the structure of industrial production and the pattern of final goods trade. In addition, the model gives a rich picture of the possible welfare effects of trade liberalization. In particular, we show that a final goods exporting country definitely gains from economic integration, while a final goods importing country may lose. Finally, when lowering domestic outsourcing activities, trade liberalization may reduce world welfare, even if pro-competitive effects lead to a decline in consumer prices.