Libya vs Morocco: Number of years of compulsory primary and secondary education

Libya
9
in 2025
Morocco
9
in 2025
Libya rank
106th
Morocco rank
106th

Number of years of compulsory primary and secondary education over time

  • Libya
  • Morocco
0246810199820112025

How they compare

Libya currently reports 9 against 9 in Morocco, a difference of 0.

The two have swapped places 1 time across 28 shared years of data; in 1998 it was Libya ahead.

Libya ranks 106th and Morocco ranks 106th of 214 countries.

Libya has averaged higher in every one of the 4 decades both report.

Head to head by decade

Decade Libya Morocco Difference Ahead
1990s 9 6 3 Libya
2000s 9 9 0
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, Libya or Morocco?
Libya, at 9 against 9 in Morocco as of 2025.
What is the difference in number of years of compulsory primary and secondary education between Libya and Morocco?
0, with Libya ahead.
How many years of comparable data are there for Libya and Morocco?
28 years are reported by both, from 1998 to 2025.
How do Libya and Morocco rank globally for number of years of compulsory primary and secondary education?
Libya ranks 106th and Morocco ranks 106th of 214 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

Share, cite or embed this page

Cite this page

Libya vs Morocco: Number of years of compulsory primary and secondary education. Statizoid, drawing on UNESCO Institute for Statistics. Retrieved 14 September 2026, from https://education.statizoid.com/compare/number-of-years-of-compulsory-primary-and-secondary-education-guaranteed-in-legal-2/libya/morocco/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY-SA 3.0 IGO (UNESCO Institute for Statistics); please keep the attribution.

<a href="https://education.statizoid.com/compare/number-of-years-of-compulsory-primary-and-secondary-education-guaranteed-in-legal-2/libya/morocco/">Libya vs Morocco: Number of years of compulsory primary and secondary education</a> — Statizoid

About this data

Indicator
Number of years of compulsory primary and secondary education guaranteed in legal frameworks
Source
UNESCO Institute for Statistics
Licence
CC BY-SA 3.0 IGO (UNESCO Institute for Statistics)
Coverage
214 places, 5,894 data points, 1975–2025
Last refreshed

February 2026 Data Release