This is how the map of comings and goings has changed
The photography of migration in Spain has taken a turn in less than four decades: it has gone from being a state that exports people to becoming one of the main migratory destinations on the continent. Thus, in the Spanish state in 1990, more Spaniards lived outside (1.4 million) than inside. In 2024, that proportion has reversed: 8.9 million people born outside the state’s borders reside in Spain, while there are 1.6 million Spanish people in diaspora. A brutal structural change that has its explanation in economic, demographic and geopolitical transformations. This trend was reversed approximately in 1995 (1.3 million immigrants vs. 1.2 million emigrants), it has been growing and does not seem to be stopping. The Spanish state is one of those places doomed to severe demographic contraction because its replacement rate is in the red. According to the INEfertility in Spain is 1.12 children per woman, well below the established threshold of 2.1 by the OECD at Society at a Glance 2024. Migration is essential to maintain the welfare state. The graph you see below these lines is an interactive tool called “Where do migrants live, and where were they born?” which allows us to see, for any state in the world, where the people who live there without being born there come from and where the people born there who live outside go. Both flows are concentrated in a graph where it is possible to filter by sex and move in time from 1990 to 2024. An important detail: the map does not show how many people arrived in a specific year, but rather how much is there in total accumulated. That is to say, if in 2024 there are 1.1 million people of Moroccan origin in the Spanish state, that is the sum of decades of arrivals, not the arrival of a million people at once. Where immigrants in Spain were born, and where their emigrants lived in 2024. Our World In data This Sankey diagram interactive is the work of Our World in Data, a non-profit organization linked to the University of Oxford that is responsible for publishing data visually. The information on which these graphs of bilateral flows between states are based comes from the UN DESA International Migrant Stock 2024which publishes an exhaustive and rigorous count of people living outside their country of birth for 233 countries. For those countries where censuses have not been done recently, the numbers are an estimate and not a direct measurement. 35 years of migration, in a very complete graph Debates about migration are often full of wrong perceptions and even selective amnesia: Without going any further, many people in Spain forget that the Spanish state has historically been a land of emigration and, in fact, has been recently. This Harvard study shows that people in rich countries overestimate how many immigrants there are and the resources they consume, so having access to this information in such a clear and intuitive way is essential to change that perception, or at least, to combat it with data. But this visualization is also relevant because it helps to see Spain’s connection with other countries and why: People do not migrate at random, but follow already established networks. Where immigrants in Malaysia were born, and where their emigrants lived in 1990. Our World in data It was difficult for Spain to become a destinationbut when it did it came dizzyingly quickly: the economic growth of the 1990s and 2000s required a lot of labor that the state did not have. Thus, it has been one of the most rapid demographic changes of Europe in peacetime: according to the INE Migration Statisticsin 2023 the migration balance was more than 642,000 people, one of the highest in the last twenty years. In that time, Spain has faced the challenge of managing its borders, a bureaucracy that the graph does not show, just as it does not visualize another structural problem: integration and the real conditions in which these people live once inside. From 1990 to 2024 the graph has changed a lot. Almost 40 years ago there were more Spaniards abroad than foreigners inside and the few people who went to Spain to stay came mainly from France, Morocco and Germany. Spanish people in diaspora lived mainly in France and Argentina, a legacy of Francoism and exile. Between 1990 and 2005 the number of immigrants quintupled and countries such as Ecuador, Colombia and Romania emerged strongly as countries of origin. In 2024 the number of immigrants is 9 million people, with Morocco first, Colombia second and copper going to Venezuela, an origin that barely existed in the 90s. Where immigrants in Spain were born, and where their emigrants lived in 2005. Our World in data Although these interactive graphics allow us to know at a glance origins, destinations and accumulated quantities, they are insufficient to understand migration phenomena in depth. They do not distinguish between radically different profiles: a person refugee, a student, a temporary worker or an expat with an international contract they count equally in the stock, when their conditions, rights and vulnerabilities are incomparable. Nor do they include irregular migration, a particularly significant phenomenon in the Spanish state. And, above all, they reduce people to numbers, showing the result but not the causes. It is also worth remembering that this flow is not just about people: the remittances that they send to their countries of origin represent one of the largest movements of capital towards the global south, in many cases exceeding official development aid. In Xataka | The great Iberian divide: the map that divides Spain in two through its two large hydrographic basins In Xataka | The two types of countries in the world, on a map: those that are becoming demographically extinct and those that are not Cover | Our World in Data