We study how a preferential trade agreement (PTA) affects international sourcing decisions, aggregate productivity and welfare under incomplete contracting and endogenous matching. Contract incompleteness implies underinvestment. That inefficiency is mitigated by a PTA, because the agreement...