Kenya vs Mexico: Number of years of compulsory primary and secondary education
Kenya
12
in 2025
Mexico
12
in 2025
Kenya rank
5th
Mexico rank
5th
Number of years of compulsory primary and secondary education over time
- Kenya
- Mexico
How they compare
Kenya currently reports 12 against 12 in Mexico, a difference of 0.
Across all 28 years both countries report, Mexico has been ahead every year.
Kenya ranks 5th and Mexico ranks 5th of 214 countries.
Mexico has averaged higher in every one of the 4 decades both report.
Head to head by decade
| Decade | Kenya | Mexico | Difference | Ahead |
|---|---|---|---|---|
| 1990s | 8 | 9 | 1 | Mexico |
| 2000s | 8 | 9 | 1 | Mexico |
| 2010s | 10.8 | 11.4 | 0.6 | Mexico |
| 2020s | 12 | 12 | 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, Kenya or Mexico?
- Kenya, at 12 against 12 in Mexico as of 2025.
- What is the difference in number of years of compulsory primary and secondary education between Kenya and Mexico?
- 0, with Kenya ahead.
- How many years of comparable data are there for Kenya and Mexico?
- 28 years are reported by both, from 1998 to 2025.
- How do Kenya and Mexico rank globally for number of years of compulsory primary and secondary education?
- Kenya ranks 5th and Mexico ranks 5th 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
About this data
February 2026 Data Release