Demographics of Spain


As of 1 October 2025, Spain had a total population of 49,442,844. The modern Kingdom of Spain arose from the accretion of several independent Iberian realms, including the Kingdoms of León, Castile, Navarre, the Crown of Aragon and Granada, all of which, together with the modern state of Portugal, were successor states to the late antique Christian Visigothic Kingdom after the Reconquista.
Spain's population surpassed 49 million inhabitants for the first time in history in 2025, with a total population of 49,442,844 people living in Spain. Its population density, at, is much lower than other Western European countries, yet, with the exception of microstates, it has the highest real density population in Europe, based on density of inhabited areas. With the notable exception of Madrid, Spain's capital city, the most densely populated areas lie around the coast.
The population of Spain doubled during the twentieth century, but the pattern of growth was extremely uneven due to large-scale internal migration from the rural interior to the industrial cities. Eleven of Spain's fifty provinces saw an absolute decline in population over the century. In the first 25 years of the 21st century, population of Spain grew from 40 million in 2000 to more than 49 million in 2025 mostly due to immigration.
In 2023, the average total fertility rate across Spain was 1.12 children born per woman, one of the lowest in the world.

History

Notable events in modern Spanish demography:
  • 1808–1814. Peninsular War : 1 million deaths.
  • Late 19th-early 20th century. Emigration: Spain undergoes economic stagnation which caused mass emigration to the Americas.
  • 1918. Flu pandemic, over 200,000 dead in Spain.
  • 1936. Start of the Spanish Civil War.
  • 1939. End of the Civil War. Establishment of a dictatorship, start of rationing policies. Deepening of economic depression, mass emigration to European and American countries due to economic and political motives.
  • 1941. Approval of benefits for large families with at least four children.
  • 1945. Establishment of tax deductions for parents.
  • 1952. End of rationing policies.
  • 1975. End of the dictatorship, mass return of emigrated people.
  • 1978. Legalization of contraception. Decline of birth rates.
  • 1985. Legalization of abortion.
  • 1988. After centuries of net negative migration, the first events of illegal immigration from Africa occur.
  • 1991. Spain becomes a net receiver of migrants after decades of mass emigration.
  • 1994. Lowering of threshold of requirements to become a large family: only three children needed.
  • 2000. Huge economic boom caused mainly by lower interest rates after adopting the Euro, and a huge increase in foreign investment and immigration.
  • 2000–2009. Mass migration from Latin America, Romania and other countries, coupled with a moderate increase of the fertility rate, results in a large population in the first ten years of the 21st century.
  • 2007. Approval of €2,500 benefit for births.
  • 2010. Legalization of elective abortion.
  • 2011. Withdrawal of the €2,500 benefit for births.
  • 2015. First negative natural change since the Civil War due to the aging of Spanish population.
  • 2018. Population begins to grow again, thanks to the growth of immigration from abroad.
The population of Spain doubled during the twentieth century as a result of the demographic boom in the 1960s and early 1970s. After that time, the birth rate fell during the 1980s and Spain's population growth stalled.
Many demographers have linked Spain's very low fertility rate to the country's lack of a family support policy. Spain spends the least on family support out of all western European countries—0.5% of GDP. A graphic illustration of the enormous social gulf in this field is the fact that a Spanish family would need to have 57 children to enjoy the same financial support as a family with 3 children in Luxembourg.
During the early 2000s, the mean year-on-year demographic growth set a new record with its 2003 peak variation of 2.1%, doubling the previous record reached back in the 1960s when a mean year-on-year growth of 1% was experienced. In 2005 alone, the immigrant population of Spain increased by 700,000 people.
The arrival of migrating young adults was the main reason for the slight increase in Spain's fertility rate. From 2002 through 2008 the Spanish population grew by 8%, of whom 75% were foreign.

Population

Note: Crude migration change is a trend analysis, an extrapolation based on average population change minus natural change of the current year. Average population is an estimate of the population in the middle of the year and not at the end of the year.

Population growth

Population growth rate
; 2022 est.: 0.13%
; Country comparison to the world: 143rd
; 2017 est.: 0.78%

Life expectancy

YearLife expectancy in years
188229.5
189232.1
190034.8
190841.3
190941.0
191040.8
191139.7
191243.4
191342.5
191442.8
191543.0
191642.9
191742.5
191830.3
191941.1
192039.2
192142.0
192244.1
192344.7
192446.2
192546.9
192647.7
192748.4
192848.6
192949.3
193049.3
193149.2
193251.1
193351.5
193452.3
193552.6
193651.0
193747.3
193847.6
193947.2
194048.4
194147.2
194252.5
194354.8
194456.2
194557.8
194657.5
194759.3
194861.2
194961.0
195061.8

Sources: Our World In Data and the United Nations.
PeriodLife expectancy in years
1950–195564.6
1955–196067.8
1960–196569.9
1965–197071.4
1970–197572.7
1975–198074.4
1980–198576.1
1985–199076.9
1990–199577.6
2000–200579.9
2005–201081.2
2010–201582.5

Source: UN World Population Prospects
Life expectancy at birth
;Total population: 82.21 years
;Male: 79.22 years
;Female: 85.39 years
;Country comparison to the world: 29nd
;Infant mortality rate: 3.14 deaths/1,000 live births
;Country comparison to the world: 216th
;Crude death rate:9.78 deaths/1,000 population
;Country comparison to the world: 55th

Fertility

The total fertility rate is the number of children born per woman. It is based on fairly good data for the entire period. Sources: Our World In Data and Gapminder Foundation.
YearFertility rate
18505.13
18515.07
18525.01
18534.95
18544.89
18554.83
18564.78
18574.72
18584.66
18594.75
18604.86
18615.16
18625.09
18635
18645.19
18655.11
18665.07
18675.09
18684.72
18694.9
18704.84
18714.83
18724.83
18734.82
18744.81
18754.8
18764.79
18774.78
18784.78
18794.74
18804.7
18814.91
18824.79
18834.71
18844.86
18854.8
18864.86
18874.78
18884.82
18894.82
18904.55
18914.67
18924.71
18934.71
18944.6
18954.63
18964.75
18974.51
18984.41
18994.53

;Crude birth rate: 8.05 births/1,000 population
;Country comparison to the world: 212th
;Total fertility rate: 1.16 children born/woman Country comparison to the world: 207th
;Mother's mean age at first birth: 30.9 years

Age structure

;0-14 years: 15.02%
;15-24 years: 9.9%
;25-54 years: 43.61%
;55-64 years: 12.99%
;65 years and over: 18.49%

Structure of the population

Age groupMaleFemaleTotal%
0–4989 957936 2961 926 2534.06
5–91 182 6571 111 8742 294 5314.84
10–141 310 7251 227 8052 538 5305.36
15–191 259 3281 178 9832 438 3115.14
20–241 228 3071 164 4362 392 7435.05
25–291 283 9691 247 8912 531 8605.34
30–341 373 6861 371 9092 745 5955.79
35–391 588 9321 607 4933 196 4256.74
40–441 949 6871 935 0673 884 7548.20
45–491 982 3071 949 7463 932 0538.30
50–541 847 8251 852 7263 700 5517.81
55–591 688 3891 740 7753 429 1647.23
60–641 464 7131 552 2913 017 0046.37
65–691 187 5621 303 0942 490 6565.25
70–741 024 9381 190 2972 215 2354.67
75–79791 421990 1731 781 5943.76
80–84533 545773 7661 307 3112.76
85–89366 344630 406996 7502.10
90–94140 288309 931450 2190.95
95–9930 12886 008116 1360.25
100+2 57410 44613 0200.03
Total23 227 28224 171 41347 398 695100
Age groupMaleFemaleTotalPercent
0–143 483 3393 275 9756 759 31414.26
15–6415 667 14315 601 31731 268 46065.97
65+4 076 8005 294 1219 370 92119.77

Median age
;Total: 43.9 years
;Male: 42.7 years
;Female: 45.1 years
;Country comparison to the world: 21st

Vital statistics

Statistics since 1858

Source: Instituto Nacional de Estadística
Notable events in Spanish demographics:

Nationality of mothers

In 2024, 236,666 babies were born to mothers with Spanish nationality, 31,897 to mothers with an American nationality, 23,765 to mothers with an African nationality, 18,358 to mothers with a European nationality, and 7,184 to mothers with an Asian nationality.

Birthplace of mothers

In 2024, 212,191 babies were born to Spanish-born mothers, 52,167 to American-born mothers, 27,412 to African-born mothers, 18,297 to European-born mothers, and 7,895 to Asian-born mothers.

Total fertility rates by region

Total fertility rate in Spain by Autonomous communities as of 2024:
Autonomous communitiesTFR
Region of Murcia

Total fertility rate by provinces and islands

Provinces and IslandsTFR
El Hierro

Employment and income

;Youth unemployment, ages 15–24: 24.9%

Metropolitan areas

Islands

Islander population :
  1. Tenerife 886,033
  2. Mallorca 846,210
  3. Gran Canaria 829,597
  4. Lanzarote 132,366
  5. Ibiza 113,908
  6. Fuerteventura 94,386
  7. Menorca 86,697
  8. La Palma 85,933
  9. La Gomera 22,259
  10. El Hierro 10,558
  11. Formentera 7,957
  12. Arousa 4,889
  13. La Graciosa 658
  14. Tabarca 105
  15. Ons 61

Ethnic groups

The Spanish Constitution of 1978, in its second article, generically recognises contemporary entities—nationalities and regions— within the context of the Spanish nation.
Spain has been described as a de facto plurinational state. The identity of Spain rather accrues of an overlap of different territorial and ethnolinguistic identities than of a sole Spanish identity. In some cases some of the territorial identities may conflict with the dominant Spanish culture. Distinct traditional identities within Spain include the Basques, Canarians, Catalans, Galicians, Andalusians and Valencians, although to some extent all of the 17 autonomous communities may claim a distinct local identity.
Definition of ethnicity or nationality in Spain is fraught politically. The term "Spanish people" is defined in the 1978 constitution as the political sovereign, i.e. the citizens of the Kingdom of Spain. The same constitution in its preamble speaks of "peoples and nationalities of Spain" and their respective cultures, traditions, languages and institutions.
The formerly nomadic Gitanos and Mercheros are distinctly marked by endogamy and discrimination but they are dispersed through the country.
The native Canarians are partly the descendants of the North African population of the Canary Islands prior to Spanish colonization in the 15th century although many Spaniards have varying levels of North African admixture as a result of the Islamic period. Also included are many Spanish citizens who are descendants of people from Spain's former colonies, mostly from Venezuela, Argentina, Dominican Republic, Ecuador, Peru, Colombia, Morocco and Cuba. There is also a sizable number of Spaniards of Eastern European, Maghrebian, Sub Saharan-African, Indian subcontinent and Middle Eastern descent.
The arrival of the gitanos, a Romani people, began in the 16th century; estimates of the Spanish Roma population range from 750,000 to over one million. There are also the mercheros, a formerly nomadic minority group. Their origin is unclear.
Historically, Sephardic Jews and Moriscos are the main minority groups originating in Spain and with a contribution to Spanish culture. The Spanish government formerly offered Spanish citizenship to Sephardic Jews.

Immigration

In terms of emigration vs. immigration, after decades of net emigration after the Spanish Civil War, Spain has experienced massive large-scale immigration for the first time in modern history over the past 30 years. As of 2024, there were 8,915,831 foreign-born people in Spain, making up to 18.31% of the Spanish population Of these, 6,581,028 didn't have Spanish citizenship. This makes Spain one of the world's preferred destinations to immigrate to, being the 4th country in Europe by immigration numbers and the 10th worldwide. Of these, more than 860,000 were Romanian, and 760,000 were Moroccan while the number of Ecuadorians was around 390,000. Colombian population amounted to around 300,000. There are also a significant number of British and German citizens, mainly in Alicante, Málaga provinces, Balearic Islands and Canary Islands. The largest Asian immigrant group, the Chinese, number slightly over 166,000.

Spain migration data, 2008–2022

PeriodImmigrationEmigrationNet Migration
2008S1329,772134,650195,121
2008S2269,302153,782115,520
2009S1205,091184,14020,951
2009S2187,872195,978-8,106
2010S1173,714197,032-23,318
2010S2186,990206,347-19,357
2011S1176,808200,634-23,826
2011S2194,527208,400-13,873
2012S1153,205212,457-59,253
2012S2150,849234,148-83,299
2013S1127,796269,691-141,895
2013S2152,976262,612-109,636
2014S1138,274199,552-61,278
2014S2167,180200,877-33,698
2015S1154,659173,062-18,404
2015S2187,455170,81216,643
2016S1186,918166,81920,098
2016S2227,829160,50567,323
2017S1234,070197,14036,930
2017S2298,062171,720126,342
2018S1286,230169,124117,106
2018S2357,454140,402217,052
2019S1349,941137,367212,574
2019S2400,539158,881241,658
2020S1248,029130,413117,616
2020S2219,889118,148101,741
2021S1201,329197,3763,953
2021S2327,527183,410144,117
2022S1478,990220,443258,547

YearTotal immigrationTotal emigrationTotal net migrationSpanish immigrationSpanish emigrationSpanish net migration
2021887,960696,866191,094135,651155,533-19,882
20221,258,894531,889727,005138,420141,124-2,704
20231,250,991608,695642,296152,963126,90126,062
20241,288,562662,294626,268144,335137,7196,616

CountryPopulation
Spain

Foreign population

As of 2024, Spain had a foreign population of 6,581,028. The largest groups of foreigners were those of Moroccan, Romanian, British, Chinese and Italian citizenship.
Meanwhile, in 2024, Spain had a foreign-born population of 8,915,831, being those born in the Americas the largest group, and Europe being the second most common continent of origin after South America.
Foreign population by region of originNumber
Europe2,205,961
European Union1,617,911
Other Europe588,050
Africa1,217,706
South America1,173,900
Central America/Caribbean368,461
North America76,628
Asia493,065
Oceania3,580
Total5,542,932



Religions

The Reconquista was the long process by which the Catholics reconquered Spain from Islamic rule by 1492. The Spanish Inquisition was established in 1478 to complete the religious orthodoxy of the Iberian Peninsula. In the centuries that followed, Spain saw itself as the bulwark of Catholicism and doctrinal purity; since then, Catholicism has been the main religion in Spain.
Spanish missionaries carried Catholicism to the Americas and the Philippines, establishing various missions in the newly colonized lands. The missions served as a base for both administering colonies as well as spreading Christianity.
The Spanish Constitution of 1978 abolished Catholicism as the official state religion, but recognised the role it plays in Spanish society.
From the end of the Francoist dictatorship to the present day, a secularisation process has taken place that has meant a progressive decrease in religious practice, in the attendance at the different religious rites and in the percentage of Spaniards who identify as Catholic. Consequently, a majority of Spaniards today ignore Catholic doctrines on matters such as pre-marital sex, homosexuality and contraception. Despite the drop, Catholic identity nevertheless remains an important part of Spain's culture.
, 68.5% of the population define themselves as Catholic, 26.4% as non-believers or atheists, and 2.6% other religions according to the official Spanish Center for Sociological Research. Among believers, 59% assert they almost never go to any religious service, by contrast, 16.3% attend one or more religious service almost every week.
There have been three Popes from what is now Spain, all of them from the Crown of Aragon: Calixtus III, Alexander VI and Benedict XIII. Spanish mysticism provided an important intellectual resource against Protestantism with Carmelites like Teresa of Ávila, a reformist nun and John of the Cross, a priest, taking the lead in their reform movement. Later, they became Doctors of the Church. The Society of Jesus was co-founded by Ignatius of Loyola, whose Spiritual Exercises and movement led to the establishment of hundreds of colleges and universities in the world, including 28 in the United States alone. The Society's co-founder, Francis Xavier, was a missionary who reached India and later Japan. In the 1960s, Jesuits Pedro Arrupe and Ignacio Ellacuría supported the movement of Liberation Theology.
A study made by the Union of Islamic Communities of Spain demonstrated that there were about 1,700,000 inhabitants of Muslim background living in Spain as of 2012, accounting for 3–4% of the total population of Spain. The vast majority was composed of immigrants and descendants originating from Morocco and other African countries. More than 514,000 of them had Spanish nationality. The recent waves of immigration have also led to an increasing number of Muslims, Buddhists, Sikhs and Hindus. After the Reconquista in 1492, Muslims did not live in Spain for centuries. Their ranks have since been bolstered by recent immigration, especially from Morocco and Algeria.
Judaism was practically non-existent in Spain from the 1492 expulsion until the 19th century, when Jews were again permitted to enter the country. Currently there are around 62,000 Jews in Spain, or 0.14% of the total population. Most are arrivals in the past century, while some are descendants of earlier Spanish Jews. Approximately 80,000 Jews are thought to have lived in Spain prior to its expulsion. However the Jewish Encyclopedia states the number over 800,000 to be too large and 235,000 as too small: 165,000 is given as expelled as possibly too small in favour of 200,000, and the numbers of converts after the 1391 pogroms as less. Other sources suggest 200,000 converts mostly after the pogroms of 1391 and upwards of 100,000 expelled. Up until recently, descendants of these Sephardic Jews expelled in 1492 were eligible for Spanish citizenship if they requested it.

Languages

Others with no official status:

Educational system

About 70% of Spain's students in non-university education attend public schools; 79.1% of students in higher education are enrolled in public universities. The remainder attend private schools or universities, many of which are operated by the Catholic Church.
Compulsory education begins with primary school or general basic education for ages 6–16. It is free in public schools and in many private schools, most of which receive government subsidies. Following graduation, students attend either a secondary school offering a general high school diploma or a school of professional study in all fields – law, sciences, humanities, and medicine – and the technical schools offer programs in engineering and architecture.