How long are children and young people legally required to remain in education? World Bank World Development Indicators series SE.COM.DURS, Compulsory education, duration (years), provides a direct country-level answer in years. The 2025 dataset contains 197 countries and separately reported areas, and every retained observation is dated 2025. That makes this a cleaner same-year comparison than many education indicators whose latest values span several decades.
Across the 197 observations, the median is 10 years and the simple country-equal mean is about 10.04 years. The 25th percentile is 9 years and the 75th percentile is 12 years. A total of 123 observations, or 62.4%, fall between 9 and 12 years. These figures describe the legal duration of compulsory education; they do not measure educational quality, attendance, completion, or learning outcomes.

Table of Contents
What compulsory education duration measures
The World Bank metadata defines the indicator as the number of years that children are legally obliged to attend school. The underlying education data are supplied by the UNESCO Institute for Statistics (UIS). The unit is years, not a percentage, and the measure is about the legal framework that sets a compulsory schooling period.
A value of 10 years therefore means that the country or area has ten years of schooling covered by the legal compulsory-education requirement. It does not mean that the average student actually attends school for exactly ten years, and it does not guarantee that every child completes all ten years. Legal obligation and real participation are related policy questions, but they are not the same statistic.
School systems are organized differently across countries. Some divide education into primary, lower-secondary and upper-secondary stages; others use basic or integrated education structures. The same total number of compulsory years can therefore cover different age ranges or grade structures. SE.COM.DURS is most useful as a common summary of the total legal duration, not as proof that school systems with the same value are structurally identical.
All 197 observations are from 2025
A major advantage of this dataset is timing. Many education indicators use the latest non-null value for each economy, producing a map where one country may be represented by a 2024 survey and another by a value from ten or twenty years earlier. Here, all 197 retained observations are dated 2025. The median, distribution and country comparisons can therefore be read as same-reference-year statistics.
This does not imply that every country changed its compulsory-schooling law in 2025. Legal duration can remain unchanged for many years. The 2025 observation records the rule reported for that reference year. To identify reforms, extensions or reductions over time, the historical series would need to be examined rather than inferring change from a single cross-section.
The simple mean also needs a scale caveat. Each country or separately reported area receives one equal weight, whether it has a very large or very small school-age population. The 10.04-year mean is therefore a descriptive average across reported jurisdictions, not the average compulsory duration experienced by the world’s children. A population-weighted calculation would answer a different question.
Nine to twelve years is the most common range

The distribution is concentrated around the center. Nine years appears in 41 observations, 10 years in 34, 12 years in 29 and 11 years in 19. Combined, the 9-to-12-year band contains 123 countries and areas. There are 16 observations at 13 years and 9 at 14 years, while only 7 reach 15 years or more. At the shorter end, 21 observations are 7 or 8 years and 19 fall between 1 and 6 years. Two source records are reported as zero.
The median of 10 years is almost identical to the 10.04-year simple mean, confirming that the center of the cross-country distribution sits close to ten years. Because the indicator is usually reported as whole years, the decimal mean should not be interpreted as a legal rule. It is simply a convenient summary of the 197 integer-valued observations.
Nor should the 9-to-12-year concentration be treated as a universal policy target. Countries choose different starting ages, ending ages, grade structures and relationships between compulsory education, free education and upper-secondary schooling. Similar totals can be produced by different institutional designs.
Only a small group reaches 15 years or more
Venezuela has the longest 2025 value in this dataset at 17 years. Guatemala is at 16 years, while El Salvador, the Dominican Republic, Ecuador, Israel and Tonga are at 15 years. A broader 14-year group includes Mexico, Argentina, Brazil, Bolivia, Peru and Uruguay, among others. The pattern shows that some education systems define a much longer legal obligation than the global median.
| Country / area | Compulsory duration, 2025 |
|---|---|
| Venezuela, RB | 17 years |
| Guatemala | 16 years |
| El Salvador | 15 years |
| Dominican Republic | 15 years |
| Ecuador | 15 years |
| Israel | 15 years |
| Tonga | 15 years |
| Mexico | 14 years |
| Argentina | 14 years |
| Brazil | 14 years |
A long legal duration should not be converted into a ranking of school quality. It says that the compulsory requirement covers more years. It does not directly show whether students attend consistently, complete upper-secondary education, achieve strong literacy or mathematics results, or experience equal access across regions and income groups.
For policy analysis, the total duration becomes more informative when paired with the age at which compulsory schooling starts and ends. Two countries can both report 12 years but organize those years across different grade structures. The total is the useful first comparison; the detailed legal design explains how that total is produced.
Short values and zero records need careful interpretation
At the shorter end, Bangladesh, Madagascar and Myanmar are reported at 5 years. A larger group is at 6 years, including Benin, Cameroon, the Democratic Republic of the Congo, Equatorial Guinea, Guinea, Haiti, Iraq, Liberia, Malaysia, Rwanda and Singapore. These are legal-duration values. They do not mean that students in those countries receive only five or six years of education on average, because schooling can continue voluntarily after the compulsory period ends.
The 2025 World Bank data used here report 0 years for Guam and New Caledonia. Zero is highly unusual in the overall distribution, so it should not automatically be translated into a legal claim that no schooling is compulsory. Where a jurisdiction-specific legal interpretation matters, the current local education law and the underlying UIS record should be checked directly. The map and distribution preserve the source value rather than silently replacing or deleting it.
The World Bank metadata also notes an important limitation: the existence of compulsory-education legislation does not guarantee effective implementation or full take-up by families. The reverse is also important for interpretation—students can remain in education after the legal obligation ends. A short compulsory period is not the same thing as a short average educational career.
Selected major countries in the same 2025 comparison
The Republic of Korea is reported at 9 years in 2025. Japan, China, Indonesia, Nigeria, South Africa and Saudi Arabia are also at 9 years. The United States is at 12 years; Germany and France are at 13; the United Kingdom and Australia are at 11; Canada is at 10; India is at 8; and Brazil and Mexico are at 14 years.
| Country | 2025 compulsory duration |
|---|---|
| Korea, Rep. | 9 years |
| United States | 12 years |
| Canada | 10 years |
| Japan | 9 years |
| China | 9 years |
| India | 8 years |
| Germany | 13 years |
| France | 13 years |
| United Kingdom | 11 years |
| Australia | 11 years |
| Brazil | 14 years |
| Mexico | 14 years |
| Indonesia | 9 years |
| South Africa | 9 years |
| Nigeria | 9 years |
Because every row in this table refers to 2025, the comparison is not distorted by mismatched reference years. The remaining limitation is conceptual: equal totals do not imply equal education systems. Korea and Japan can both show nine years while differing in school organization, transition rules, curriculum and the role of non-compulsory upper-secondary education.
A more useful follow-up question is not simply which country has more compulsory years, but how the legal period is structured. The starting age, ending age, availability of free schooling, enforcement rules and pathways into vocational or upper-secondary education can change the practical meaning of the same headline number.
Does a longer compulsory period mean better education?
No. SE.COM.DURS measures the legal duration of compulsory schooling. It does not measure literacy, test scores, teacher quality, class size, educational spending, completion rates or the share of children actually enrolled. A country with 14 compulsory years cannot be declared educationally stronger than a country with 10 years from this indicator alone.
Adult educational-attainment indicators can add another perspective, because they show what share of the population age 25 and older has completed lower-secondary, upper-secondary or tertiary education. Yet those are accumulated outcomes across many generations. A legal reform in 2025 will not instantly change the educational attainment of the entire adult population, so the indicators should be compared as context rather than treated as immediate cause and effect.
For current student participation, enrollment rates, out-of-school rates, completion rates and graduation measures are more direct. For learning quality, assessment results are needed. Compulsory duration is therefore best treated as the legal framework around schooling—an important part of the education system, but not a one-number score of the system itself.
How to read the geographic pattern
The map shows many countries in Latin America in the 13-to-17-year range, while much of Europe falls around 11 to 13 years. East Asia, South Asia and Sub-Saharan Africa contain a wider mix of bands. The spatial view is useful for locating clusters of relatively long or short legal durations and for identifying countries that differ from nearby neighbors.
The pattern does not identify causes. Education law can reflect historical reforms, constitutional provisions, school starting ages, grade structures and social-policy choices, but those explanatory variables are not included in this indicator. Similar colors on the map should therefore be read as similar reported durations, not evidence that countries followed the same policy path.
Some small island states and territories are present in the statistical table but absent as separate polygons in the low-resolution world boundary. Blank map areas should not be read as zero. The country table and underlying value are the better reference when a small jurisdiction matters.
Data source and calculation method
The values come from World Bank World Development Indicators series SE.COM.DURS. World Bank identifies the UNESCO Institute for Statistics as the source and describes the data as part of the international education statistics system. The reference year may correspond to the school year ending in that calendar year where school years span two calendar years.
All descriptive statistics use the 197 observations dated 2025. The median is 10 years, the simple mean 10.04, the 25th percentile 9 and the 75th percentile 12. The map matches World Bank ISO country codes to a low-resolution Natural Earth boundary, producing 158 mapped polygons; small islands and separately reported areas without a distinct polygon remain in the statistics but may not appear on the map.
For grouped counts, the dataset contains 2 zero-year records, 19 observations from 1 to 6 years, 21 from 7 to 8, 75 from 9 to 10, 48 from 11 to 12, 25 from 13 to 14 and 7 at 15 years or more. The mean is unweighted by population, so it should not be described as the average compulsory duration experienced by all children worldwide.
Frequently Asked Questions
Does 10 years of compulsory education mean students attend school for an average of 10 years?
No. It means the legal compulsory-schooling requirement covers 10 years. Actual attendance, completion and average years of schooling are different measures.
Are all values on the map from 2025?
Yes. All 197 observations in this SE.COM.DURS dataset are dated 2025, allowing a same-reference-year comparison of legal compulsory education duration.
Does a longer compulsory period mean a better education system?
Not necessarily. The indicator measures legal duration only. It does not measure learning outcomes, attendance, completion, teacher quality or adult educational attainment.
Do the zero-year records mean there is no compulsory education?
That should not be assumed. Guam and New Caledonia are reported as zero in the source data, but the values are unusual and jurisdiction-specific legal interpretation should be checked against current local law and the underlying UIS record.
Related Articles
Legal compulsory-schooling duration and adult educational attainment answer different questions. The following Green Map articles provide directly related context on how much education adults have actually completed.
- Global Lower-Secondary Educational Attainment Map – Adults 25+ by Country
- Global Upper-Secondary Educational Attainment Map – Adults 25+ by Country
- Bachelor’s-or-Higher Educational Attainment by Country – Global Map
Green Map creates custom-edited map images using open geographic data sources such as geoBoundaries, Natural Earth, OpenStreetMap, and government open data.
These maps are edited visual materials, not raw data files, and are provided for education, documents, presentations, and graphic reference.





