Duration of compulsory education in years in Morocco
Morocco: Duration of compulsory education in years was 9 in 2025. ▲ Rising
Duration of compulsory education in years in Morocco, 1998–2025
Source: UNICEF.
Analysis
The most recent figure for duration of compulsory education in years in Morocco is 9, measured in 2025. That is the highest value across all 28 years on record.
The figure is unchanged over ten years.
Over the whole period, duration of compulsory education in years in Morocco peaked at 9 in 2000 and was at its lowest, 6, in 1998.
That places Morocco 50th out of 73 countries with data for 2025, putting it in the middle of the range.
The long-run direction has been consistently rising across the 28 years of available data.
Duration of compulsory education in years in Morocco, year by year
| Year | Value | Change |
|---|---|---|
| 1998 | 6 | — |
| 1999 | 6 | +0.0% |
| 2000 | 9 | +50.0% |
| 2001 | 9 | +0.0% |
| 2002 | 9 | +0.0% |
| 2003 | 9 | +0.0% |
| 2004 | 9 | +0.0% |
| 2005 | 9 | +0.0% |
| 2006 | 9 | +0.0% |
| 2007 | 9 | +0.0% |
| 2008 | 9 | +0.0% |
| 2009 | 9 | +0.0% |
| 2010 | 9 | +0.0% |
| 2011 | 9 | +0.0% |
| 2012 | 9 | +0.0% |
| 2013 | 9 | +0.0% |
| 2014 | 9 | +0.0% |
| 2015 | 9 | +0.0% |
| 2016 | 9 | +0.0% |
| 2017 | 9 | +0.0% |
| 2018 | 9 | +0.0% |
| 2019 | 9 | +0.0% |
| 2020 | 9 | +0.0% |
| 2021 | 9 | +0.0% |
| 2022 | 9 | +0.0% |
| 2023 | 9 | +0.0% |
| 2024 | 9 | +0.0% |
| 2025 | 9 | +0.0% |
Morocco compared with similar countries
- Morocco's 9 is below the median for lower middle income countries, which is 10, 90% of the median. (9 countries reporting)
- Morocco's 9 is below the median for Middle East, North Africa, Afghanistan & Pakistan, which is 9.5, 95% of the median. (20 countries reporting)
Averages by decade
| Decade | Average | Lowest | Highest | Years |
|---|---|---|---|---|
| 1990s | 6 | 6 | 6 | 2 |
| 2000s | 9 | 9 | 9 | 10 |
| 2010s | 9 | 9 | 9 | 10 |
| 2020s | 9 | 9 | 9 | 6 |
Countries ranked near Morocco
- 50 Saudi Arabia 9 compare
- 50 Kazakhstan 9 compare
- 50 Estonia 9 compare
- 50 Yemen 9 compare
- 50 Syria 9 compare
- 50 Montenegro 9 compare
- 50 Georgia 9 compare
- 50 Iran 9 compare
- 50 Azerbaijan 9 compare
- 50 Libya 9 compare
- 50 Bahrain 9 compare
- 50 Tajikistan 9 compare
- 50 Slovenia 9 compare
- 50 Albania 9 compare
- 50 Liechtenstein 9 compare
- 50 Poland 9 compare
- 50 Bosnia and Herzegovina 9 compare
- 50 Kuwait 9 compare
- 50 Tunisia 9 compare
More education data for Morocco
- Gender gap education levels, gaps filled 97.18 (2019)
- Primary enrollment selected countries, gaps filled 99.1 (2024)
- Teachers in secondary education, both sexes (number), gaps filled 183,432 (2024)
- Repeaters in primary education, all grades, both sexes (number), gaps 266,273 (2024)
- Enrolment in pre-primary education, male (number), gaps filled 460,392 (2024)
- Enrolment in pre-primary education, female (number), gaps filled 452,625 (2024)
- Secondary education, pupils, gaps filled 3.57 million (2024)
- Primary education, duration (years), annual growth rate 0 % change on previous year (2025)
- Primary education, pupils, gaps filled 4.61 million (2024)
- Primary education, pupils, annual growth rate -1.63 % change on previous year (2024)
Frequently asked questions
- What is duration of compulsory education in years in Morocco?
- Duration of compulsory education in years in Morocco was 9 in 2025, according to UNICEF.
- What is the highest duration of compulsory education in years recorded in Morocco?
- The highest recorded value was 9 in 2000.
- What is the lowest duration of compulsory education in years recorded in Morocco?
- The lowest recorded value was 6 in 1998.
- How does Morocco rank for duration of compulsory education in years?
- Morocco ranks 50th out of 73 countries with data for 2025.
- Is duration of compulsory education in years rising or falling in Morocco?
- Over the last ten years it is unchanged. The long-run trend across the full record is rising.
- Where does this Morocco data come from?
- The figures come from UNICEF, published as part of Duration of compulsory education in years. Statizoid updates them automatically from the source API.
Download this data
CSV · JSON — 28 observations, free to reuse under UNICEF Terms of Use (attribution required).