Japan vs Morocco: Compulsory education, duration

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

Compulsory education, duration over time

  • Japan
  • Morocco
0246810199820112025

How they compare

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

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

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

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

Head to head by decade

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

Japan vs Morocco: Compulsory education, duration. Statizoid, drawing on Data API, UN Educational, Scientific and Cultural Organization (UNESCO). Retrieved 22 September 2026, from https://education.statizoid.com/compare/compulsory-education-duration-years/japan/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 4.0 (World Bank Open Data); please keep the attribution.

<a href="https://education.statizoid.com/compare/compulsory-education-duration-years/japan/morocco/">Japan vs Morocco: 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.