Credit, Getty Images

The arrival of millions of immigrants in recent years has caused Spain's population to reach an all-time high.

Immigration transformed the European country's economy and society. And it has also become one of the main themes of political and social debate, especially with the elections next Sunday, November 29th.

Spain reached 49,935,642 inhabitants, according to the provisional count by the country's National Statistics Institute (INE), last October. The number represents almost 2.5 million more people than five years ago and an increase of 3.4 million compared to 10 years ago.

Around one in every five people living in Spain today was born abroad. A decade ago, it was one in eight.

The growth of the foreign population comes in an aging society, where more people die than are born for years. And Latin America is increasingly participating in this transformation.

Colombia and Venezuela are the main countries where people arrive to work, reunite with their families or seek better future prospects.

Immigration brought workers to key sectors of the Spanish economy, such as construction, agriculture, hotels and care for the elderly, contributing to its growth.

The increase in the Spanish population has also increased the demand for housing and public services, in a country that has only recently managed to expand its supply.

End of Most read

Added to this are debates about security, integration and the conditions that must be met by people arriving to settle in Spain. It was for all of this that immigration became one of the major themes of next Sunday's general elections.

On the one hand, the government and left-wing parties are betting on maintaining current migration flows, highlighting the positive impact of the arrival of foreigners on the country's economy.

Right-wing opposition forces are proposing more restrictive measures. They credit the difficulties in accessing housing and the deterioration of public services to the increase in population recorded in recent years.

The people who made Spain grow

Watch news from Brazil and the world on the BBC World Service

Download here

End of app promotion

There are fewer and fewer babies in Spain.

It is true that there was an increase of 1.2% in the last year. But births fell by almost 25% in the country in a decade, from around 420,000 in 2015 to 321,000 in 2025.

Last year, around 121,000 more deaths were recorded than births. Even so, Spain gained around 468 thousand inhabitants, due to the mass arrival of immigrants, according to provisional data from INE, the body responsible for the country's statistics.

Immigration in the country went through several phases in the 21st century, political science professor Carmen González Enríquez, from the National University of Distance Education of Spain (Uned), explains to BBC News Mundo (the BBC's Spanish service).

It highlights a first stage of intense growth, between 2000 and 2008, followed by the slowdown caused by the economic crisis of that year.

But the most intense phase began in 2017, "briefly slowed by the pandemic period and which saw a new increase in the arrival of immigrants from 2022 onwards", according to the professor.

The 2025 census reflects this peak. Almost 25% of residents born abroad earlier that year arrived in Spain in the previous two years.

We are talking about 2.3 million people, who made Spain the main European destination for permanent immigration in the period 2023-2024. The country surpassed the 2.2 million received by Germany, according to data from the European Union Statistics Office (Eurostat).

But why did so many people decide to settle in a country with lower wages and higher unemployment than other Western nations?

Spain's unemployment rate is around 10.3%, compared to Germany's 4.1%.

The Spanish average annual gross salary is around 51% lower than that of Germany, 28.9% lower than that of France and 50% lower than that of the United Kingdom, according to 2025 data from the Organization for Economic Growth and Development (OECD), at the current exchange rate in euros.

"Compared to the countries of origin, the Spanish situation is attractive", explains González Enríquez. "In addition, jobs were created here for the majority of people who arrived, in addition to security and access to health and public education."

These conditions are also offered in other European countries. Therefore, a decisive factor, according to the academic, is "the Spanish language, which is very important for those who come from Latin America".

At the beginning of 2025, around 4.7 million Spanish residents born abroad came from Latin America. This number represents almost half of the total, according to INE.

Of these, around 1.3 million arrived in 2023 or 2024. Colombia and Venezuela are the main countries of origin for immigrants.

By country of birth, the largest group at that time was Morocco, with around 1.2 million people.

For many Latin Americans, the common language and networks of family and acquaintances also facilitate the arrival and settlement of immigrants in the country.

In October 2026, there were around 3.7 million workers of foreign nationality affiliated with Spanish Social Security. There are almost 600 thousand more people than a year before and 16.4% of the total. Your contributions help fund pensions and other expenses.

Immigrants represented a third of wage earners employed in the hospitality sector, around three in 10 workers in agriculture and construction, and half in domestic jobs.

Incorporating immigrants into Spain's pension system is especially important for an aging society.

Among Spanish social security contributors from outside the European Union, 40.6% are under 35 years old, compared to 24.6% of those born in the country.

Changes in the economy

Between the end of 2019 and the first quarter of 2026, almost two-thirds of jobs created in Spain were filled by foreign workers or workers with dual nationality, according to the economic think tank BBVA Research.

Its incorporation "provides essential labor to sectors with a strong shortage of workers, favoring the rise of national citizens to more qualified positions", explains professor Dolores Jiménez Rubio, from the Department of Applied Economics at the University of Granada, in Spain, to the BBC.

“Furthermore, following international evidence, there was a very limited impact on the jobs of the indigenous population and a significant contribution to GDP growth,” she highlights, based on data from the Bank of Spain Annual Report 2025.

Economists highlight, for example, that the arrival of foreign workers in the transport and logistics sectors has helped companies that depend on these services to grow and hire more qualified personnel.

Immigration also changed the business landscape. In 10 years, the number of foreigners registered as self-employed with Spanish Social Security practically doubled, from around 279 thousand in October 2016 to 557 thousand in October 2026.

In the telecommunications and computer programming sectors, one in three self-employed people has foreign nationality.

The Global Entrepreneurship Monitor (GEM) Spain 2025-2026 report, which evaluates business creation in the country, indicates that immigrants "demonstrate a higher propensity for entrepreneurship than national citizens" and start working for themselves earlier.

But it is more common for people born in Spanish territory to run businesses that have been in existence for more than three and a half years.

A study by the Bank of Spain indicates that those born abroad contributed around 25% of Spanish real GDP growth between 2022 and 2024, which reached, on average, 2.9% per year.

But salaries remain a problem. Carmen González Enríquez highlights that a large proportion of immigrants are incorporated into "labor-intensive sectors that pay low wages."

In the hotel sector, for example, the average annual salary in 2024 was around 17,650 euros (around US$18,500, or R$106,000). This number is around 40% below the national average, according to INE.

With these salaries, it is necessary to pay for housing, at a time when purchase prices and rents have skyrocketed and supply in cities where jobs are concentrated is scarce.

In 2025, around 240,000 new homes were created in Spain and only 92,000 homes were built, according to the Bank of Spain.

Social changes

It is increasingly common to find mothers and babies born in different countries in Spanish maternities.

In 2015, these cases represented 22.9% of births. Ten years later, the proportion rose to 34.4%, a little more than one in every three babies, according to INE.

For González Enríquez, this change can be mainly observed in the daily life of large cities, where "we continually interact with people from other origins".

The cities of Madrid, Barcelona and Valencia gained population thanks to the arrival of people from abroad in 2024. But, in all three cities, the number of residents who moved to other Spanish municipalities was greater than those who arrived.

And, in the so-called "emptied Spain", the arrival of young families helps to compensate for aging. In cities with more than 1,000 inhabitants, 25% of children under 13 have foreign mothers, according to the country's Economic and Social Council.

In schools, we can observe both trends at the same time.

In the 2025-2026 academic year, the number of students of foreign nationality in primary education increased, but total enrollment in this same age group fell by almost 49 thousand students, according to the Spanish Ministry of Education.

In communities that receive new residents, however, the challenge is to open classes or increase the availability of medical appointments at the rate of population growth. This does not always happen, which increases the pressure on these services.

And regarding security, what happened?

In 2025, 15.3 people were convicted with a final sentence for every 1,000 adult residents of foreign nationality, compared to 6.1 among Spaniards, according to INE.

BBC News Mundo spoke with sociologist Jesús Javier Sánchez Barricarte, from the Carlos 3° University in Madrid. He studied the crimes that generated convictions between 2007 and 2023.

"Crime is concentrated among men and young adults," he says, "and the foreign population is younger and made up of more men."

Sánchez Barricarte explains that, when we compare the two groups as if they had the same composition by age and sex, the difference between their rates of crimes with conviction is reduced by almost half.

In relation to origins, the sociologist highlights that, "adjusted by age and sex, crime rates with convictions for Chinese, Indian, Filipino, Pakistani or North American citizens are clearly lower than those for Spanish citizens".

"The rates of Italian, Malian and German immigrants are a little lower or similar", he continues. "Those of Moroccans, French or Colombians are between double and triple; and those of Ecuadorians and Algerians, more than triple."

In any case, most experts argue that there is no direct relationship between immigration and the lack of security. Academic Carmen González Enríquez highlights that coexistence with immigrants in Spain, "in general terms, is good, very good."

Why immigration is key in the November 29 elections

Next Sunday, November 29, the Spanish will elect a new Parliament, which should inaugurate a prime minister — or president of the government, as they say in Spain.

The support that each candidate manages to gather in the Spanish Congress will define whether the current prime minister (Pedro Sánchez, from the Spanish Socialist Workers' Party, PSOE) will continue to lead the country's government, with the support of the left-wing Broad Front and other political forces, or whether the leader of the Popular Party (PP), the conservative Alberto Núñez Feijóo, will manage to form a majority that could include the Vox party, considered by its opponents to be extreme right-wing.

One of the big differences between the two blocs' proposals is what to do with immigrants who already live in Spain without a residence visa.

In April, Pedro Sánchez's government began an extraordinary process of regularizing the situation of these immigrants. In just over two months, 1.17 million requests were received, two thirds of which were from people in Central or South America.

The Broad Front, which brings together left-wing parties, proposes that this process become permanent.

On the other hand, the PP wants to prohibit mass regularizations and annually define the number of workers who can enter the country and for which sectors, according to the positions not occupied and the reception capacity.

Vox defends, among other measures, the expulsion of immigrants who remain in the country in an irregular situation and foreigners who repeatedly commit serious crimes or minor crimes.

The party also defends the concept of "national priority", which consists of giving preference to Spaniards over foreigners in access to "public housing, daycare centers, food vouchers or transport, aid, benefits and social services", according to its electoral program.

The campaign also arrives just a few months after the Ceuta crisis.

At the end of July, tens of thousands of people crossed the border that separates Morocco from the Spanish city located in North Africa in two days. The flow of migrants caused serious changes to local life and some of them persist to this day.

At the same time, migrants continue to arrive in the Canary Islands by sea. There were around 24 thousand in 2026, until mid-November.

How will these cases influence the outcome of the Spanish elections?

At the beginning of November, the research institute 40dB asked Spaniards to choose up to two themes that, according to them, would be at stake in Sunday's elections.

One in four Spanish citizens consulted highlighted immigration, which came in third place, behind housing and pensions and public services.

Almost half of the people who voted for Vox in 2023 mentioned immigration, compared to 30% of PP voters and 15% of socialists.

In the same survey, Vox was the party most indicated as being the most prepared to manage this issue, in the opinion of voters.

"The issue of immigration favors voting more on the right, which discusses this topic more, on proposals for change, than the left", according to González Enríquez.

Among those who will go to the polls on Sunday will also be Spanish voters who once arrived as immigrants. What do we know about them?

A study published last year analyzed the vote of this group.

Among first-generation immigrants who declared their vote, 59% chose the left and 41% the right, according to the work of economists Santiago Pérez-Nievas and Carles Pamies. They analyzed four surveys carried out between 2013 and 2023.

But among their children of immigrants born in Spain, the picture is different.

"In the second generation, the distribution of votes between left-wing and right-wing parties is similar to that observed among those born in Spain", according to the study's authors.

What is certain is that, this Sunday, immigration will weigh heavily at the polls, both among those born in Spain and among those who, one day, arrived in the country and now share the responsibility of deciding the future of the nation.

Graphics from the Visual Journalism team at BBC News Mundo and BBC News Brasil.

Discover more

Watch

End of Watch

Pedro Sánchez calls early elections in Spain after plan to tackle housing crisis fails

How Lula's campaign inspired even the right in Spain's election — and the criticism of the president for getting involved in the dispute

Why Spain, which used to build too many houses, is now experiencing a serious housing crisis

How Spain's migration crisis generated a political storm — and was fueled by social media

Why more and more Brazilians are leaving Portugal and starting over in Spain

'Politicians, even on the right, know that immigrants help the economy and that Europe needs them'

Top news

'Serene', Trabuco is 'capable of reducing tension' with the market, says Lara Resende; see the reaction of other economists to the choice in Finance

Trabuco accepts Lula's invitation: who is the new Finance Minister who defends fiscal adjustment and reduction of 'inequalities'

Faria Lima's trusted name, Luiz Trabuco cultivated friendship with Lula at the head of Bradesco

read more

Most clicked