Demographics of Spain



As of 1 April 2024, Spain had a total population of 48,692,804. 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 48 million inhabitants for the first time in history in 2023. In 2024 the population peaked, there are 48,692,804 people living in Spain. Its population density, at 96 PD/km2, is 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 exception of the capital Madrid, 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 2022, the average total fertility rate (TFR) across Spain was 1.16 children born per woman.

Spain accepted 478,990 new immigrant residents in the first six months of 2022 alone. During these first six months, 220,443 people also emigrated from Spain, leaving a record-breaking net migration figure of 258,547. The data shows that more women than men chose to move to Spain during 2022, this is due to higher rates of emigration from Latin America.

History
Notable events in modern Spanish demography:
 * 1808–1814. Peninsular War and Spanish War of Independence: 0.24–0.4–1.0 million deaths.
 * Late 19th century and early 20th century: Relative economic stagnation and mass emigration to American countries.
 * 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 (Republican exile).
 * 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.
 * 1977. 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.
 * 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.

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 7% were foreign.

Population
The following demographic statistics are from the World Population Review in 2019.
 * One birth every minute
 * One death every minute
 * Net gain of one person every 131 minutes
 * One net migrant every 13 minutes

Note: Crude migration change (per 1,000) is a trend analysis, an extrapolation based on average population change (current year minus previous) minus natural change of the current year (see table vital statistics). 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
 * 0.13% (2022 est.) Country comparison to the world: 143rd
 * 0.78% (2017 est.)
 * 0.78% (2017 est.)

Life expectancy
1882–1950

Sources: Our World In Data and the United Nations.



1950–2015

Source: UN World Population Prospects

Life expectancy at birth


 * total population: 82.21 years. Country comparison to the world: 29nd
 * male: 79.22 years
 * female: 85.39 years (2021 est.)

Infant mortality rate


 * 3.14 deaths/1,000 live births (2021 est.). Country comparison to the world: 216th


 * Crude death rate
 * 9.78 deaths/1,000 population (2021 est.) Country comparison to the world: 55th
 * 9.78 deaths/1,000 population (2021 est.) 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.


 * Crude birth rate
 * 8.05 births/1,000 population (2021 est.) Country comparison to the world: 212th
 * 8.05 births/1,000 population (2021 est.) Country comparison to the world: 212th

Total fertility rate


 * 1.16 children born/woman (2022) Country comparison to the world: 207th

Mother's mean age at first birth


 * 30.9 years (2017 est.)

Age structure
0-14 years: 15.02% (male 3,861,522/female 3,650,085) 15-24 years: 9.9% (male 2,557,504/female 2,392,498) 25-54 years: 43.61% (male 11,134,006/female 10,675,873) 55-64 years: 12.99% (male 3,177,080/female 3,319,823) 65 years and over: 18.49% (male 3,970,417/female 5,276,984) (2020 est.)

Median age:


 * total: 43.9 years. Country comparison to the world: 21st
 * male: 42.7 years
 * female: 45.1 years (2020 est.)



Statistics since 1900


In 2021 264,897 (78.6%) babies were born to mothers with Spanish nationality (including naturalized immigrants), 23,704 (7%) to mothers with an African nationality (including North Africa), 21,769 (6.5%) to mothers with an American nationality (both North and South America), 19,903 (5.9%) to mothers with a European nationality (both EU and non-EU countries of Europe), and 6,393 (1.9%) to mothers with an Asian nationality. In 2022 the share of births to foreign mothers increased to 23 percent.

Employment and income
As of April 2024:
 * Youth unemployment, ages 15–24:
 * total: 26.5%
 * male: 27.4%
 * female: 25.3%

Islands
Islander population (The surface of the islands will be given in hectares except for the largest islands of the Canary and Balearic archipelagos, as well as the Plazas de Soberanía.):


 * 1) Tenerife 886,033
 * 2) Majorca 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, 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" (pueblo español) 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" (pueblos y nacionalidades de España) 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 (Spanish for "gypsies"), 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 (also called quinquis), 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 is offering Spanish nationality 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 (13.51%) didn't have the 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 (359,076 as of 2011, but more than one million are estimated to live permanently in Spain) and German (195,842) citizens, mainly in Alicante, Málaga provinces, Balearic Islands and Canary Islands. The largest Asian immigrant group, the Chinese, number slightly over 166,000. Immigrants from several sub-Saharan African countries have also settled in Spain as contract workers, representing 4.08% of all the foreign residents in the country.

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.



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 recognizing the role it plays in Spanish society. From the end of the Francoist dictatorship to the present day, a secularization process has taken place that has meant a progressive decrease in religious practice, in the attendance at the different religious rites (baptisms, communions and Catholic marriages) 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, 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 (30%) 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. Descendants of these Sephardic Jews expelled in 1492 are given Spanish nationality if they request it.

Languages

 * Spanish 99% (88% mother tongue ) (official nationwide)
 * Catalan 16% (9% mother tongue ) (co-official in Catalonia, Balearic Islands, and Valencia — see Valencian)
 * Galician 7% (5% mother tongue ) (co-official in Galicia)
 * Basque 1.6% (1% mother tongue ) (co-official in Basque Country and designated areas in Navarre).
 * Aranese (a variant of Gascon Occitan) is co-official in Val d'Aran, a small valley in the Pyrenees.

Others with no official status:
 * Asturian-Leonese (in the former Kingdom of León and Asturias)
 * Aragonese (in the province of Huesca, Aragon)
 * Arabic (in the autonomous city of Ceuta)
 * Tarifit (in the autonomous city of Melilla)

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.