The paper constructs a general equilibrium model of North–South trade with nontraded goods, real exchange rate, and a continuum of components that North partly offshores to South. It is shown that a protectionary policy which restricts offshoring may have the unintended consequence of widening the trade deficit.