We explore the relationship between proximity of buyers and sellers and the organizational form of outsourcing. Outsourcing can be "contractual" in which suppliers undertake specific investments or involve "generic" market transactions. Proximity expands the variety of products sourced through contracts abroad rather than at home, but the range of generic imports is unchanged. A higher-quality foreign workforce raises the variety of contractual trade, but at the expense of generics. We confirm these predictions using data for ordinary versus processing exports from Chinese provinces to destination markets and also the predictions of an extended model that allows for multinational production.