Morocco vs South Africa: Compulsory education, duration

Morocco
9 years
in 2025
South Africa
9 years
in 2025
Morocco rank
115th
South Africa rank
115th

Compulsory education, duration over time

  • Morocco
  • South Africa
0246810199820112025

How they compare

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

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

Morocco ranks 115th and South Africa ranks 115th of 197 countries.

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

Head to head by decade

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

Share, cite or embed this page

Cite this page

Morocco vs South Africa: Compulsory education, duration. Statizoid, drawing on Data API, UN Educational, Scientific and Cultural Organization (UNESCO). Retrieved 18 August 2026, from https://education.statizoid.com/compare/compulsory-education-duration-years/morocco/south-africa/

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 4.0 (World Bank Open Data); please keep the attribution.

<a href="https://education.statizoid.com/compare/compulsory-education-duration-years/morocco/south-africa/">Morocco vs South Africa: Compulsory education, duration</a> β€” Statizoid

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.