Duration of Compulsory Education by Country, 1975–2025 — Bar Chart Race
This bar chart race ranks 206 countries by duration of compulsory education (years), year by year from 1975 to 2025. The data comes from UNESCO Institute for Statistics (2026) (via Our World in Data).
Customise this chart & export videoDownload the data (CSV)
Key facts
- Venezuela leads in 2025 with 17 years, followed by Guatemala (16).
- In 1975 the leader was North Korea with 11 years.
- The animation covers 51 time steps from 1975 to 2025 across 206 countries.
How the ranking changed
First place changed hands 5 times between 1975 and 2025: Puerto Rico overtook North Korea in 1997, Guatemala overtook Puerto Rico in 1998, Puerto Rico overtook Guatemala in 2001, Guatemala overtook Puerto Rico in 2009 and Venezuela overtook Guatemala in 2017. North Korea had the longest run at the top (1975–1996).
The biggest climbers into the 2025 top ten were Venezuela (151st in 1998, now 1st), Tonga (149th in 1998, now 7th) and Brazil (106th in 1998, now 10th).
Venezuela, Guatemala, Dominican Republic, Ecuador and El Salvador were not in the top ten in 1975 but are in it by 2025.
Top 10 in 2025
| Rank | Name | Value (years) |
|---|---|---|
| 1 | Venezuela | 17 |
| 2 | Guatemala | 16 |
| 3 | Dominican Republic | 15 |
| 4 | Ecuador | 15 |
| 5 | El Salvador | 15 |
| 6 | Israel | 15 |
| 7 | Tonga | 15 |
| 8 | Argentina | 14 |
| 9 | Bolivia | 14 |
| 10 | Brazil | 14 |
Top 10 in 1975
| Rank | Name | Value (years) |
|---|---|---|
| 1 | North Korea | 11 |
Top 5 over time
| Period | #1 | #2 | #3 | #4 | #5 |
|---|---|---|---|---|---|
| 1975 | North Korea11 years | — | — | — | — |
| 1980 | North Korea11 years | — | — | — | — |
| 1990 | North Korea11 years | — | — | — | — |
| 2000 | Guatemala16 years | Venezuela14 years | Netherlands13 years | Puerto Rico13 years | Bermuda13 years |
| 2010 | Guatemala16 years | Dominican Republic15 years | Ecuador15 years | Bolivia14 years | Curaçao14 years |
| 2020 | Venezuela17 years | Guatemala16 years | Dominican Republic15 years | Ecuador15 years | El Salvador15 years |
| 2025 | Venezuela17 years | Guatemala16 years | Dominican Republic15 years | Ecuador15 years | El Salvador15 years |
About the data
The number of years of compulsory education is based on students starting at the earliest entrance age, studying full-time, and advancing without grade repetition or skipping.
Source: UNESCO Institute for Statistics (2026) (via Our World in Data), licensed CC BY 4.0 (Our World in Data); original source terms apply. Snapshot last refreshed on . Gaps in a series are interpolated between the nearest reported values.
Questions
Which country ranks first for duration of compulsory education in 2025?
Venezuela, with 17 years. Guatemala is second with 16 years and Dominican Republic third.
Which country was first in 1975?
North Korea, with 11 years. By 2025 it ranks 11th or lower.
When did Venezuela become the top country?
Venezuela took first place in 2017, overtaking Guatemala.
What were the top 5 countries in 2000?
1. Guatemala (16 years), 2. Venezuela (14 years), 3. Netherlands (13 years), 4. Puerto Rico (13 years) and 5. Bermuda (13 years).
Where does the data come from?
UNESCO Institute for Statistics (2026) (via Our World in Data), published under CC BY 4.0 (Our World in Data); original source terms apply. The chart covers 51 time steps from 1975 to 2025 for 206 countries.
Can I export the bar chart race as a video?
Yes. The chart is rendered frame by frame in your browser and saved as an MP4 (H.264) file at up to 4K and 60 frames per second. Nothing is uploaded, so your data stays on your device.
More bar chart races
- Literacy Levels Among Young People, Adjusted Gender Parity Index by Country
- Literacy Rate by Country
- Share of Primary School Teachers Who Are Women by Country
- Literacy Rates Among Adults by Country
- Share of Children Enrolled in Pre-primary School by Country
- Expected Years of Schooling by Country
- Mean Years of Schooling by Country
- Mean Years of Schooling for Women by Country
- All education charts