Abstract: The main aim of this study, which takes Spanish provinces over the periods 2004?2007 and 2008?2013 as case study, is threefold: first, to test whether labor factors affect to a greater extent foreigners than natives when it comes to migrating; second, to detect changes in migration patterns over the crisis period; third, to unveil nonlinearities in the relationship between migration and wages. To do so, an extended gravity model, combined with a methodology that identifies endogenous thresholds to nonlinear effects, is estimated. The results support that the role played by labor factors is more important for foreigners than natives, especially before the outbreak of the economic crisis. The results also indicate that the relative size of the service sector and, to a lesser extent, climate conditions have gained importance as attraction factors for natives over the crisis, while the opposite happens for foreigners. Therefore, evidence clearly supports the idea that business cycle modifies the decision making of migrants. Finally, some nonlinearities in the effect of expected wages on migration are found regardless of the group and/or time frame considered.