We develop a multicountry, multisector trade model featuring risk-averse workers, labor market frictions, unemployment benefits, and equilibrium unemployment. Trade opening leads to a reduction in unemployment when it simultaneously raises welfare and reallocates labor toward sectors with lower-than-average labor market frictions. We then estimate and calibrate the model using employment data from 31 OECD countries and worldwide trade data. Finally, we quantify the potential unemployment, real wage, and welfare effects of repealing NAFTA and raising bilateral tariffs between the United States and Mexico to 20%. This policy would increase unemployment by 2.4% in the United States and 48% in Mexico.