Duration of compulsory education (years) in Spain
Spain: Duration of compulsory education (years) was 10 years in 2025. ▬ Flat
Duration of compulsory education in Spain, 1998–2025
Source: UNESCO Institute for Statistics. Measured in years.
Analysis
The most recent figure for duration of compulsory education in Spain is 10 years, measured in 2025. That is the highest value across all 28 years on record.
That represents a change of unchanged over ten years.
Over the whole period, duration of compulsory education in Spain peaked at 10 years in 1998 and was at its lowest, 10 years, in 1998.
That places Spain 86th out of 206 countries with data for 2025, putting it in the middle of the range.
Duration of compulsory education (years) in Spain, year by year
| Year | years | Change |
|---|---|---|
| 1998 | 10 years | — |
| 1999 | 10 years | +0.0% |
| 2000 | 10 years | +0.0% |
| 2001 | 10 years | +0.0% |
| 2002 | 10 years | +0.0% |
| 2003 | 10 years | +0.0% |
| 2004 | 10 years | +0.0% |
| 2005 | 10 years | +0.0% |
| 2006 | 10 years | +0.0% |
| 2007 | 10 years | +0.0% |
| 2008 | 10 years | +0.0% |
| 2009 | 10 years | +0.0% |
| 2010 | 10 years | +0.0% |
| 2011 | 10 years | +0.0% |
| 2012 | 10 years | +0.0% |
| 2013 | 10 years | +0.0% |
| 2014 | 10 years | +0.0% |
| 2015 | 10 years | +0.0% |
| 2016 | 10 years | +0.0% |
| 2017 | 10 years | +0.0% |
| 2018 | 10 years | +0.0% |
| 2019 | 10 years | +0.0% |
| 2020 | 10 years | +0.0% |
| 2021 | 10 years | +0.0% |
| 2022 | 10 years | +0.0% |
| 2023 | 10 years | +0.0% |
| 2024 | 10 years | +0.0% |
| 2025 | 10 years | +0.0% |
Spain compared with similar countries
- Spain's 10 years is below the median for high income countries, which is 11 years, 91% of the median. (77 countries reporting)
- Spain's 10 years is above the median for Europe & Central Asia, which is 10 years, 1.0× the median. (53 countries reporting)
Averages by decade
| Decade | Average | Lowest | Highest | Years |
|---|---|---|---|---|
| 1990s | 10 years | 10 years | 10 years | 2 |
| 2000s | 10 years | 10 years | 10 years | 10 |
| 2010s | 10 years | 10 years | 10 years | 10 |
| 2020s | 10 years | 10 years | 10 years | 6 |
Countries ranked near Spain
- 86 Angola 10 years compare
- 86 Andorra 10 years compare
- 86 Burkina Faso 10 years compare
- 86 Central African Republic 10 years compare
- 86 Canada 10 years compare
- 86 Cote d'Ivoire 10 years compare
- 86 Congo 10 years compare
- 86 Cape Verde 10 years compare
- 86 Cyprus 10 years compare
- 86 Czechia 10 years compare
- 86 Djibouti 10 years compare
- 86 Denmark 10 years compare
- 86 Algeria 10 years compare
- 86 Gabon 10 years compare
- 86 Greece 10 years compare
- 86 Ireland 10 years compare
- 86 Iceland 10 years compare
- 86 Jordan 10 years compare
- 86 Kyrgyzstan 10 years compare
- 86 Lebanon 10 years compare
- 86 Saint Lucia 10 years compare
- 86 Macao 10 years compare
- 86 Moldova 10 years compare
- 86 Norway 10 years compare
- 86 New Zealand 10 years compare
- 86 Oman 10 years compare
- 86 Palestine 10 years compare
- 86 Romania 10 years compare
- 86 San Marino 10 years compare
- 86 Sweden 10 years compare
- 86 Chad 10 years compare
- 86 Togo 10 years compare
- 86 Vietnam 10 years compare
More education data for Spain
- Gender gap education levels, gaps filled 98.71 (2024)
- Primary enrollment selected countries, gaps filled 98.76 (2024)
- Teachers in secondary education, both sexes (number), gaps filled 344,203 (2024)
- Repeaters in primary education, all grades, both sexes (number), gaps 37,817 (2024)
- Enrolment in pre-primary education, male (number), gaps filled 570,954 (2024)
- Enrolment in pre-primary education, female (number), gaps filled 538,977 (2024)
- Secondary education, pupils, gaps filled 3.71 million (2024)
- Primary education, duration (years), annual growth rate 0 % change on previous year (2025)
- Primary education, pupils, gaps filled 2.83 million (2024)
- Primary education, pupils, annual growth rate -1.08 % change on previous year (2024)
Frequently asked questions
- What is duration of compulsory education in Spain?
- Duration of compulsory education in Spain was 10 years in 2025, according to UNESCO Institute for Statistics.
- What is the highest duration of compulsory education recorded in Spain?
- The highest recorded value was 10 years in 1998.
- What is the lowest duration of compulsory education recorded in Spain?
- The lowest recorded value was 10 years in 1998.
- How does Spain rank for duration of compulsory education?
- Spain ranks 86th out of 206 countries with data for 2025.
- Is duration of compulsory education rising or falling in Spain?
- Over the last ten years it is unchanged. The long-run trend across the full record is flat.
- Where does this Spain data come from?
- The figures come from UNESCO Institute for Statistics, published as part of Duration of compulsory education (years). Statizoid updates them automatically from the source API.
Download this data
CSV · JSON — 28 observations, free to reuse under CC BY-SA 3.0 IGO (UNESCO Institute for Statistics).
About this data
February 2026 Data Release