Skip to main content
European Commission logo
EACEA National Policies Platform:Eurydice
Population: demographic situation, languages and religions

Spain

1.Political, social and economic background and trends

1.3Population: demographic situation, languages and religions

Last update: 8 January 2024

Demographic situation

Population

Spain’s total land area is 505.983 km2, with a population density of 93.74 inhabitants/km2, according to data available on January 1, 2022. The proportion of the population living in urban areas in 2022 is 81%. 

Spain's main demographic challenge is the ageing of the population. Thus, in 2022:

  • the population is 47 475 420 inhabitants (as of January 1);
  • as for the ageing of the population:
    • the average age of the population is 44.07 years;
    • the ageing index is 133.48 %, which means that, for every 100 minors under the age of 16, there are almost 134 people over the age of 64;
    • the dependency ratio is 54.16 %, which indicates that, for every 100 potentially active people (between 16 and 64 years of age), there are about 54 potentially inactive people (under 16 or over 64);
    • the distribution by age is as follows:

Population distribution by age in Spain (percentage)

  0-14 years 15-29 years 30-44 years 45-59 years 60-74 years 75 years and over
2022 13.8 15.6 20.4 23.6 16.5 9.9
2010 14.8 18.0 25.5 19.6 13.5 8.7
2000 14.5 23.1 23.2 17.5 14.3 7.3

Source: Drawn up by Eurydice España-Spanish Network for Information on Education (INEE, MEFD) on the basis of data from the National Statistics Institute (INE). The following link shows the distribution for each education administration.

The evolution of the population figures since 2000 in Spain shows a decrease in all age groups under 45 years of age. Thus, the 15 to 29 age group shows a reduction of 7.5 percentage points, while the 30 to 44 age group has decreased by 2.8 points and the 0 to 14 age group by only 0.6 points. 

On the other hand, population increased in all age groups over 44 years of age.

Distribution of the population aged 25 to 64 by age group and level of education (percentage of individuals)

  Less than 2nd stage of secondary education 2nd stage of secondary education Higher education
2002 2010 2022 2002 2010 2022 2002 2010 2022
25-64 years old 57.8 47.1 35.8 17.3 21.9 23.1 24.9 31.0 41.1
25-34 years old 40.3 34.7 26.5 22.2 25.0 22.9 37.5 40.3 50.0
35-44 years old 53.3 40.4 31.7 20.7 23.8 23.8 26.1 35.7 44.5
45-54 years old 68.4 52.9 36.2 14.2 21.8 22.6 17.4 25.3 41.2
55-64 years old 81.5 68.1 46.8 7.5 14.3 23.0 11.0 17.6 30.2

Source: Statistics of non-university levels. MEFD Subdirectorate General for Statistics and Studies. Years 2002, 2010 and 2021. The following link shows the distribution for each education administration.

Between 2010 and 2022, the number of people in the 25-64 age group with higher education increased by 10 percentage points (15.8 points since 2002). Meanwhile, the number of people with the 2nd stage of secondary education has increased by 1.2 points between 2010 and 2022 (5.8 points since 2002). On the other hand, in this period (2010-2022), the percentage of those with less than 2nd stage secondary education fell by 11.3 points (22 pp. since 2002).

In the table as a whole, it should be noted that the number of people with higher education increases in all age groups, while, also in all age groups, the population with education below the 2nd stage of secondary studies decreases.

Foreign population

Regarding migratory flows, between 2000 and 2010, Spain became a host country for immigrants, but, in 2010, the migration balance started to be negative. This situation remained unchanged until 2016. In 2022, there were 5.542.932 foreign nationals living in Spain.

Registered foreign population in Spain according to nationality (region of origin)

 

  2000 2010 2022
European Union (27 current countries) 297 170 1 964 262

1 617 911

Rest of Europe 133 200 614 709

588 050

Africa 228 972 1 059 369

1 217 706

North America 22 884 54 099

76 628

Central America and the Caribbean 48 047 201 374

368 461

South America 135 904 1 533 207

1 173 900

Asia 56 017 317 646

493 065

Oceania 1 264 2 535

3 580

Stateless people 413 533

3 631

TOTAL 923 879 5 747 734

5 542 932

Source: Drawn up by Eurydice España-Spanish Network for Information on Education (INEE, MEFD) on the basis of data from the National Statistics Institute (INE). The following link shows the distribution for each education administration.

In 2008, the Spanish economy experienced a slowdown and a period of recession began. As a result, the foreign population decreased significantly from 2010 onwards, with a lower percentage in 2022 than in that year: 11.5% of the total population after having reached 12.2%. Even so, it represents an increase of more than nine percentage points in twenty-one years.

Most of the foreign population comes from member countries of the European Union, Africa and South America, although since 2010 the population from South America and Europe has decreased significantly.

Foreign students by type of institution (funding) and geographic area of nationality in the 2021-2022 school year

 

  All educational institutions Public schools Publicly-funded private schools Private schools
EU

213 729

159 584

27 120

27 025

Rest of Europe

61 869

42 124

7 627

12 118

North of Africa

228 538

206 641

19 784

2 113

Rest of Africa

39 381

32 549

5 934

898

North America

9 709

4 761

1 771

3 177

Central America

56 792

44 526

10 728

1 538

South America

185 807

141 838

35 379

8 590

Asia

89 221

58 393

22 840

7 988

Oceania

406

170

57

179

No country stated

5 519

4 842

262

415

TOTAL

890 971

695 428

131 502

64 041

Note: During the 2021-2022 school year, the number of foreign students represents 9.6 % out of the total.

Source: Source: Statistics of non-university levels. MEFD Subdirectorate General for Statistics and Studies.  2020-2021 school year .

Nearly 80 % of foreign students are enrolled in public schools, a percentage that almost reaches 91 % for students from North Africa. On the other hand, the majority of students from Oceania (almost 60%) and North America (around 52%) are enrolled in private schools.

Population migrating abroad

Population migrating abroad (region of destination)

 

  2010 20132 2021
European Union (EU 28)1 163 405 215 362  
European Union (EU 27)1     142 255
Rest of Europe (without EU 28) 15 827 22 846  
Rest of Europe (without EU 27)     66 898
United Kingdom1 18 334 29 484 46 069
Africa 51 138 61 455 40 606
North America 11 208 18 579 16 325
Central America and Caribbean 10 289 17 904 17 983
South America 126 476 158 829 72 170
Asia 24 183 36 118 23 413
Oceania 852 1210 1136
TOTAL 403 379 532 303 380 786

(1) With the entry into force of Brexit as of January 2020, the EU-27 grouping replaces EU-28, subtracting the UK figures from the EU.

(2) Data for 2013 have been incorporated as it was the year with the highest emigration abroad flows since data have been publicly reported

Source: Drawn up by Eurydice España-Spanish Network for Information on Education (INEE, MEFD) on the basis of data from the National Statistics Institute (INE).

There has been a reduction in the number of people who have gone abroad between 2010 and 2020 as a whole and in all destination regions (without analyzing each individual country), with the exception of the population with non-EU Europe, Central America and the Caribbean, Oceania and North America as their destination. However, in the latter two cases, the 2013 figures have not yet been reached.

Employment and unemployment

Unemployment, one of the main social problems in Spain which particularly affects the youngest, appears to be an important factor contributing to the population loss.

Another group that is particularly affected by unemployment is that of people over the age of 45, due to difficulties in re-entering the current labour market.

Employment and unemployment1 in Spain

 

  Employed people Unemployed people Inactive people Employment rate Unemployment rate
2022

23 487 800

3 024 000

16 648 600

49,75

12,87

2010

18 674 900

4 702 200

15 424 700

48,3

20,1

2000

15 782 300

2 445 400

15 479 200

46,7

13,4

1The Economically Active Population Survey is a sample-based, continuous and quarterly research focusing on families. Its main purpose is obtaining data on workforce and its several categories (employed, unemployed), as well as on population out of the labour force (inactive). The data in the table correspond to the fourth quarter of the indicated years.

Source: Drawn up by Eurydice España-Spanish Network for Information on Education (INEE, MEFD)  on the basis of data from the Economically Active Population Survey (EPA) by the National Statistics Institute (INE). Employed people (2000, 2010 y 2022), unemployed people (2000, 2010 y 2022), inactive people (2000, 2010 y 2022), employment rate (2000, 2010 y 2022) and unemployment rate (2000, 2010 y 2022). The following link shows the distribution for each education administration.

The unemployment rate in 2022 is 12.87 %, affecting women more than men.

Employment rates of the population aged 25-64 by educational attainment level, age group and time span

 

  2005 2010 2022
Less than 1st stage of secondary education
25-64 years old 49.2 42.1 44.1
25-34 years old 64.1 46.8 48.0
35-44 years old 63.3 51.8 55.2
45-54 years old 55.9 50.9 49.0
55-64 years old 35.6 32.4 33.8
1st stage of secondary education
25-64 years old 67.6 60.6 63.9
25-34 years old 74.7 63.0 67.0
35-44 years old 69.4 64.2 73.1
45-54 years old 66.9 62.8 68.3
55-64 years old 45.1 44.3 51.2
2nd stage of secondary education
25-64 years old 75.1 69.3 72.2
25-34 years old 77.6 68.9 70.0
35-44 years old 79.7 72.8 79.1
45-54 years old 75.3 73.4 77.3
55-64 years old 50.5 53.2 61.0
Higher education
25-64 years old 82.7 80.1 83
25-34 years old 82.0 78.6 31.0
35-44 years old 86.7 83.6 87.5
45-54 years old 87.7 85.2 87.5
55-64 years old 64.7 64.4 71.6
TOTAL
25-64 years old 68.9 65.0 72.2
25-34 years old 77.5 69.4 73.7
35-44 years old 76.2 71.9 79.9
45-54 years old 69.3 68.3 77.1
55-64 years old 43.1 43.5 57.7

Source: MEFD Subdirectorate General for Statistics and Studies. Use of educational variables from the Economically Active Population Survey (INE) / Level of education and employment status. Years 2005, 2010 and 2022.

The employment rate according to the educational level has improved by 7.2 points between 2010 and 2022. This improvement occurs in all age ranges and educational levels, except in the 25-34 age range of the various educational levels, where the rate remains stable or decreases.

The percentage of employed people with higher education is significantly higher than that of those with lower qualifications.

In general, the higher the educational level, the higher the employment rate, although this rate drops considerably when reaching the 55-64 range, approaching lower educational levels.

Unemployment rates of the population aged 25-64 by educational attainment level, age group and time span

 

  2005 2010 2022
Less than 1st stage of secondary education
25-64 years old

9,9

27,9

25,8

25-34 years old

13,9

39,8

28,1

35-44 years old

11,9

32,9

24,5

45-54 years old

9,4

26,1

27,7

55-64 years old

7,2

20,4

23,8

1st stage of secondary education
25-64 years old

8,9

22,8

16,2

25-34 years old

10,6

28,8

21,0

35-44 years old

9,1

23,1

15,4

45-54 years old

6,9

18,6

15,3

55-64 years old


6,6

15,2

14,9

2nd stage of secondary education
25-64 years old

7,3

17,2

12,5

25-34 years old

8,9

21,5

16,1

35-44 years old

6,7

17,7

11,7

45-54 years old

5,5

12,6

11,5

55-64 years old

7,0

11,5

11,7

Higher education
25-64 years old

6,0

10,4

7,1

25-34 years old

8,3

13,9

10,02

35-44 years old

4,9

9,8

6,2

45-54 years old

3,3

7,1

5,9

55-64 years old

3,6

5,5

6,4

TOTAL
25-64 years old

7,8

17,9

11,8

25-34 years old

9,5

21,6

14,5

35-44 years old

7,4

17,6

10,7

45-54 years old

6,3

15,3

10,8

55-64 years old

6,3

14,2

11,8

Source: MEFD Subdirectorate General for Statistics and Studies. Use of educational variables from the Economically Active Population Survey (INE) / Level of education and employment status. Years 2005, 2010 and 2021.

The total unemployment rate between 2010 and 2022 decreases for the 25-64 age group at all educational levels (6.1 percentage points), especially for the 25-34 group (7.1 percentage points) and the 35-44 group (6.9 percentage points).

Both in 2010 and 2021, the highest unemployment rate is found in the 25-34 age group. The difference for this age group is 28.1 percentage points between the lowest educational level ( less than first stage of secondary education) and the highest (higher education) in 2010 and 10.02 points in 2022.

As age increases, the difference in unemployment rates by educational level becomes smaller.

The greatest improvement in the unemployment rate between 2010 and 2022 is found in the 35-44 age bracket and educational level below the first stage of secondary education (from 32.9% to 24.5%), while the greatest increase in unemployment is found in the 55-64 age group with the same educational level (from 20.4% to 23.8%).

The 55-64 age group is the only one to experience a deterioration in the unemployment rate for all educational levels separately, although the total rate for this age group decreases.

Young population not in education, employment or training

Youngsters (15-29 years) not in education, employment or training by educational attainment level and time span

 

  Less than 2nd stage of secondary education 2nd stage of secondary education Total
  2005 2010 2022 2005 2010 2022 2005 2010 2022
TOTAL 18.1 26.2 17.0 10.3 13.9 9.9 14.0 20.0 12.7

Source: MEFD Subdirectorate General for Statistics and Studies. Use of educational variables from the Economically Active Population Survey / Transition from education to work. Early dropout. Years 2005, 2010 and 2021. The following link shows the distribution for each education administration.

Between 2010 and 2022, the rate of the young population neither studying nor working has decreased by 7.3 percentage points, corresponding to 7.1 points among those with less than second stage of secondary education. The percentage among young people with a level of second stage of secondary education and above has experienced a decrease of 4 percentage points.

Languages

Spain is a multilingual country where, apart from Spanish as the official language, certain Autonomous Communities have a co-official language: 

  • catalan is co-official in Cataluña and Illes Balears and valencian in Comunidad Valenciana;
  • galician is co-official in Galicia;
  • basque is co-official in the Basque Country and in some Basque areas of Navarra.

In 2001, through the ratification instrument of the European Charter for Regional or Minority Languages, issued in Strasbourg on 5th november 1922 Spain declared that the "regional or minority languages are to be endowed with official status by the Autonomy Statutes of the Autonomous Communities of País Vasco, Cataluña, Illes Balears, Galicia, Comunidad Valenciana and Navarra, as well as those other languages that the Autonomy Statutes support and protect in those territories where they are and have been traditionally spoken".

Other official documents establish the co-official status of aranés in Arán (Cataluña) and grant special protection to other regional or minority languages:

  • aragonés and catalan of Aragón are granted protection and their development is encouraged;
  • bable is supported and protected in Principado de Asturias;
  • gallego is well respected and protected in the western territories of Castilla y León in the provinces of León (El Bierzo) and in Zamora (Sanabria); 
  • silbo gomero is recognized by the law of Historical Heritage of Canarias as ethnographic heritage whose preservation must be supported on the Isle of Gomera.

Spanish is the vehicular language throughout the country, as well as co-official languages in those Autonomous Communities with their own language. Organic Law 2/2006 (LOE), as amended by Organic Law 3/2020 (LOMLOE), states that:

  • the educational administrations shall guarantee the right of students to be taught in Spanish and in the other co-official languages in their respective territories, in accordance with the Spanish Constitution, the Statutes of Autonomy and all applicable regulations.
  • at the end of their basic education, all students shall achieve full and equivalent proficiency in Spanish and, where appropriate, in the corresponding co-official language.

Religions

According to data from the Centre for Sociological Research (CIS), in November 2022 55.4 % of citizens declared to be Catholic, 2.6 % believers of other religion, 12.3 % agnostic, and 28.0 % non-believers, atheists or indifferent. 1.8 % of respondents did not answer.

In Spain, no denomination has an official status. The Spanish Constitution guarantees freedom of ideas, religion and worship for individuals and communities.

In relation to the teaching of religion, the LOE, as amended by the LOMLOE, establishes that:

  • the teaching of the Catholic religion shall comply with the provisions of the Agreement on Teaching and Cultural Affairs signed between the Holy See and the Spanish State;
  • all schools have to offer the subject of Catholic Religion compulsorily, although the subject is voluntary for students;
  • the teaching of other religions shall follow the Cooperation Agreements with the Federation of Evangelical Religious Entities of Spain, the Federation of Israelite Communities of Spain, the Islamic Commission of Spain and, as the case may be, those that may be signed in the future with other religious denominations.