Morocco vs Slovenia: Compulsory education, duration

Morocco
9 years
in 2025
Slovenia
9 years
in 2025
Morocco rank
115th
Slovenia rank
115th

Compulsory education, duration over time

  • Morocco
  • Slovenia
0246810199820112025

How they compare

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

Across all 28 years both countries report, Slovenia has been ahead every year.

Morocco ranks 115th and Slovenia ranks 115th of 197 countries.

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

Head to head by decade

Decade Morocco Slovenia Difference Ahead
1990s 6 years 9 years 3 years Slovenia
2000s 9 years 9 years 0 years
2010s 9 years 9 years 0 years
2020s 9 years 9 years 0 years

Averages of every year both report within each decade.

Frequently asked questions

Which has higher compulsory education, duration, Morocco or Slovenia?
Morocco, at 9 years against 9 years in Slovenia as of 2025.
What is the difference in compulsory education, duration between Morocco and Slovenia?
0 years, with Morocco ahead.
How many years of comparable data are there for Morocco and Slovenia?
28 years are reported by both, from 1998 to 2025.
How do Morocco and Slovenia rank globally for compulsory education, duration?
Morocco ranks 115th and Slovenia ranks 115th of 197 countries.
Where does this data come from?
Data API, UN Educational, Scientific and Cultural Organization (UNESCO), published as Compulsory education, duration (years). Statizoid refreshes it automatically from the source and publishes the full history for both places.

Individual pages

About this data

Indicator
Compulsory education, duration (years)
Unit
years
Source
Data API, UN Educational, Scientific and Cultural Organization (UNESCO)
Licence
CC BY 4.0 (World Bank Open Data)
Coverage
243 places, 6,506 data points, 1975–2025
Last refreshed

Duration of compulsory education is the number of years that children are legally obliged to attend school.