Morocco vs Spain: Official entrance age to compulsory education
Morocco
6 years
in 2025
Spain
6 years
in 2025
Morocco rank
21st
Spain rank
21st
Official entrance age to compulsory education over time
- Morocco
- Spain
How they compare
Morocco currently reports 6 years against 6 years in Spain, a difference of 0 years.
The two have swapped places 1 time across 28 shared years of data; in 1998 it was Morocco ahead.
Morocco ranks 21st and Spain ranks 21st of 200 countries.
Morocco has averaged higher in every one of the 4 decades both report.
Head to head by decade
| Decade | Morocco | Spain | Difference | Ahead |
|---|---|---|---|---|
| 1990s | 7 years | 6 years | 1 years | Morocco |
| 2000s | 6 years | 6 years | 0 years | — |
| 2010s | 6 years | 6 years | 0 years | — |
| 2020s | 6 years | 6 years | 0 years | — |
Averages of every year both report within each decade.
Frequently asked questions
- Which has higher official entrance age to compulsory education, Morocco or Spain?
- Morocco, at 6 years against 6 years in Spain as of 2025.
- What is the difference in official entrance age to compulsory education between Morocco and Spain?
- 0 years, with Morocco ahead.
- How many years of comparable data are there for Morocco and Spain?
- 28 years are reported by both, from 1998 to 2025.
- How do Morocco and Spain rank globally for official entrance age to compulsory education?
- Morocco ranks 21st and Spain ranks 21st of 200 countries.
- Where does this data come from?
- UNESCO Institute for Statistics, published as Official entrance age to compulsory education (years). Statizoid refreshes it automatically from the source and publishes the full history for both places.
Individual pages
About this data
February 2026 Data Release