Indonesia vs Morocco: Number of years of compulsory primary … years primary secondary
Indonesia
9
in 2025
Morocco
9
in 2025
Indonesia rank
107th
Morocco rank
107th
Number of years of compulsory primary … years primary secondary over time
- Indonesia
- Morocco
How they compare
Indonesia currently reports 9 against 9 in Morocco, a difference of 0.
Across all 28 years both countries report, Morocco has been ahead every year.
Indonesia ranks 107th and Morocco ranks 107th of 215 countries.
Morocco has averaged higher in every one of the 4 decades both report.
Head to head by decade
| Decade | Indonesia | Morocco | Difference | Ahead |
|---|---|---|---|---|
| 1990s | 0 | 6 | 6 | Morocco |
| 2000s | 7.2 | 9 | 1.8 | Morocco |
| 2010s | 9 | 9 | 0 | — |
| 2020s | 9 | 9 | 0 | — |
Averages of every year both report within each decade.
Frequently asked questions
- Which has higher number of years of compulsory primary and secondary education, Indonesia or Morocco?
- Indonesia, at 9 against 9 in Morocco as of 2025.
- What is the difference in number of years of compulsory primary and secondary education between Indonesia and Morocco?
- 0, with Indonesia ahead.
- How many years of comparable data are there for Indonesia and Morocco?
- 28 years are reported by both, from 1998 to 2025.
- How do Indonesia and Morocco rank globally for number of years of compulsory primary and secondary education?
- Indonesia ranks 107th and Morocco ranks 107th of 215 countries.
- Where does this data come from?
- UNESCO Institute for Statistics, published as Number of years of compulsory primary and secondary education guaranteed in legal frameworks. Statizoid refreshes it automatically from the source and publishes the full history for both places.
Individual pages
About this data
February 2026 Data Release