Mexico vs Upper middle income: Compulsory education, duration

Mexico
14 years
in 2025
Upper middle income
10 years
in 2025
Mexico rank
8th
Upper middle income rank
11th

Compulsory education, duration over time

  • Mexico
  • Upper middle income
051015199820112025

How they compare

Mexico currently reports 14 years against 10 years in Upper middle income, a difference of 4 years.

That makes Mexico's figure about 1.4 times Upper middle income's.

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

Mexico ranks 8th and Upper middle income ranks 11th of 197 countries.

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

Head to head by decade

Decade Mexico Upper middle income Difference Ahead
1990s 9 years 9 years 0 years
2000s 10.8 years 9 years 1.8 years Mexico
2010s 13.4 years 9.6 years 3.8 years Mexico
2020s 14 years 10 years 4 years Mexico

Averages of every year both report within each decade.

Frequently asked questions

Which has higher compulsory education, duration, Mexico or Upper middle income?
Mexico, at 14 years against 10 years in Upper middle income as of 2025.
What is the difference in compulsory education, duration between Mexico and Upper middle income?
4 years, with Mexico ahead.
How many years of comparable data are there for Mexico and Upper middle income?
28 years are reported by both, from 1998 to 2025.
How do Mexico and Upper middle income rank globally for compulsory education, duration?
Mexico ranks 8th and Upper middle income ranks 11th 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.