The Mortensen-Pissarides model with unemployment benefits and taxes has been able to account for the variation in unemployment rates across countries but does not explain why geographical mobility is very low in some countries (on average, three times lower in Europe than in the U.S.). We build a model in which both unemployment and mobility rates are endogenous. Our findings indicate that an increase in unemployment benefits and in taxes does not generate a strong decline in mobility and accounts for only half to two-thirds of the difference in unemployment from the US to Europe. We find that with higher commuting costs the effect of housing frictions plays a large role and can generate a substantial decline in mobility. We show that such frictions can account for the differences in unemployment and mobility between the US and Europe.