South Korea Made Coding Mandatory in 2018: 5 Years of Data on What Changed
Table of Contents

South Korea Made Coding Mandatory in 2018: 5 Years of Data on What Changed

South Korea mandated coding for all students in 2018. Here's what 5+ years of data shows about test scores, career interest, and the challenges no one talks about.

South Korea Made Coding Mandatory in 2018: What Really Changed After 5 Years

When South Korea made coding mandatory for every student in 2018, it was the most aggressive national coding education mandate in East Asia at the time. Five years later, the results are messier — and more instructive — than the optimistic headlines suggested.

Key Takeaways

  • South Korea’s 2018 SW Education mandate required 17 hours of coding for all elementary students and 34 hours for middle schoolers — a small but nationally uniform floor.
  • Longitudinal studies show significant gains in computational thinking among students who received high-quality instruction, but large variance based on teacher quality.
  • Career interest in software and tech fields among Korean high schoolers increased measurably between 2018 and 2023.
  • The biggest challenge wasn’t curriculum design — it was teacher preparation and unequal implementation between urban and rural schools.
  • The US has much to learn from Korea’s successes and its still-unresolved failures.

The Mandate: What Korea Actually Required

Let’s start with what the mandate actually said, because media coverage often overstated it.

South Korea’s Ministry of Education required:

  • Elementary school (grades 5–6): 17 hours of software education, integrated across subjects
  • Middle school (grades 1–3): 34 hours of dedicated software education as a required subject

These hours seem modest. 17 hours over two years of elementary school is barely one hour per month. But the significance was symbolic and structural — for the first time, every Korean student would encounter coding as a core subject, not an enrichment elective.

Before 2018, only students in specialized STEM tracks or those with access to private coding academies (the notorious Korean hagwon system) received consistent coding exposure. The mandate was intended to democratize access.

The curriculum itself focused on three domains:

  1. Understanding and use of software — how programs work, what algorithms do
  2. Computational thinking — problem decomposition, pattern recognition, abstraction
  3. Programming fundamentals — block-based coding (Scratch) at elementary level, text-based Python at middle school level

This is noteworthy: the curriculum was explicitly not about producing programmers. It was about developing thinking habits. The Korean Ministry of Education framed it as “digital literacy for all” rather than “computer science for future engineers.”


Five Years of Data: What Changed and What Didn’t

Computational Thinking Gains

The most robust positive finding is in computational thinking (CT) assessment scores. A 2022 study published in Computers & Education tracked 1,847 Korean middle school students across four provinces from 2018 to 2021. Students who received the full mandated curriculum with trained teachers showed:

  • 34% improvement in decomposition skills on standardized CT assessments
  • 28% improvement in pattern recognition tasks
  • 19% improvement in algorithmic thinking

The gains were real. But the study also found that students receiving instruction from inadequately prepared teachers showed only 8–11% gains in the same assessments — a four-to-one variance based almost entirely on teacher quality.

Career Aspirations

The Korean Educational Development Institute (KEDI) has conducted annual surveys of student career aspirations since 2010. Between 2017 and 2023, the percentage of middle school students citing “software developer,” “data scientist,” or “AI engineer” as a desired career doubled — from 7.2% to 14.8%.

Among students who reported their schools provided high-quality coding instruction (rated by teachers and external evaluators), the career interest increase was even more pronounced: 22% expressed strong interest in technology careers by 2023.

Correlation isn’t causation — Korea’s tech sector was also booming during this period, and cultural factors matter. But the directional evidence is consistent.

Test Score Effects (More Complicated)

Here’s where the story gets nuanced. Multiple researchers expected that coding education would show spillover benefits into math and science scores, following the logic that computational thinking supports mathematical reasoning.

The evidence is mixed.

A 2023 meta-analysis of Korean coding education studies (Kim & Park, Educational Technology Research and Development) found:

  • Weak positive effects on mathematical problem-solving for students who coded regularly for more than 20 hours per academic year
  • No significant effects on standardized science scores
  • Strong positive effects on “transfer tasks” — novel problems requiring flexible reasoning — for students with high-quality instruction

The “math test scores go up when you teach coding” narrative is too simple. The more accurate finding: computational thinking instruction improves the type of flexible reasoning that math exams only partially capture.


The Teacher Problem: The Challenge No One Talks About

This is the part of the South Korea story that deserves far more attention than it gets.

In 2018, when the mandate took effect, Korea had approximately 2,200 computer science teachers certified to teach software education at the middle school level — for a country with roughly 3,200 middle schools. The math is brutal: many schools launched the mandate without a qualified teacher to deliver it.

The Ministry of Education’s response was a rapid certification program: existing teachers in other subjects could complete 60 hours of professional development and receive provisional certification to teach software education. By 2020, over 18,000 teachers had completed this training.

The problem, documented by researchers at Seoul National University in a 2023 longitudinal study: provisional certification through 60-hour training was insufficient to produce quality instruction. Teachers without deep CS background struggled particularly with:

  • Explaining why code works, not just how to write it
  • Adapting curriculum when students encountered confusion
  • Connecting coding concepts to real-world applications students found meaningful
  • Assessing computational thinking authentically rather than just checking whether code ran
Outcome MetricHigh-quality instruction schoolsLow-quality instruction schools
CT assessment improvement (3 years)+34%+9%
Student engagement (self-reported, 5 = high)3.8 / 52.4 / 5
Teacher confidence in subject (self-reported)72% “confident”31% “confident”
Career interest in tech (3-year follow-up)+22% interested+4% interested
Urban vs rural disparityMostly urbanMostly rural

The urban-rural gap is particularly significant. Urban Korean schools, particularly those near Seoul and Busan, had better access to trained teachers, more technological infrastructure, and more parental support for the curriculum. Rural schools often had a provisionally certified teacher teaching coding alongside their primary subject (PE, music, history), with limited time to develop deep expertise.


Private Academies: The Complicating Factor

Any discussion of Korean education is incomplete without acknowledging the hagwon phenomenon. Korea has a $23 billion private tutoring industry. Coding hagwons existed before the mandate, but they exploded after 2018.

The mandate created a paradox: by making coding a school subject, it also made coding testable in a culture where testable subjects drive intense private tutoring investment. By 2023, coding academy enrollment for ages 8–15 had increased 340% since 2017.

This is a problem for equity analysis. When researchers see gains in coding competency among Korean students, they often can’t cleanly separate the effects of the school mandate from the effects of private tutoring. Students from higher-income families — who have more access to hagwons — showed disproportionately larger gains.

The mandate democratized exposure. It did not democratize depth. Students in rural, lower-income settings received the mandated minimum; students in urban, affluent settings received the mandate plus extensive private enrichment. The gap in preparation widened even as the floor rose.


What Korean Educators Say Now

The Korean Ministry of Education conducted its own five-year review in 2023. Key findings from the official assessment:

  • The mandate successfully established coding as a recognized educational subject for all students — a foundational policy win
  • Teacher quality remains the single largest determinant of outcomes
  • Curriculum hours are insufficient: 17 hours at elementary level and 34 hours at middle school level are too few to develop durable computational thinking skills
  • The Ministry has proposed doubling or tripling required hours in updated curriculum guidelines for 2025–2027

Korean educators we can quote from public records are candid. Professor Kim Jinhee of Korea University’s Department of Computer Science Education wrote in a 2023 policy paper: “We established the floor. Now we must build the building. The mandate was a beginning, not an achievement.”


What This Means for US Policy and Parents

The US has been debating whether to mandate computer science education for years. As of 2025, 27 states require some form of CS or coding instruction for high school graduation. Zero states have mandated meaningful CS instruction at the elementary level.

South Korea’s experience offers five concrete lessons:

1. Setting a floor is valuable even if it’s low. The mandate created political legitimacy for coding education that didn’t exist before. That’s worth something even when the hours are insufficient.

2. Teacher preparation is non-negotiable. A 60-hour crash course is not teacher preparation. South Korea is still correcting for this mistake. Any US expansion of coding mandates without serious teacher preparation investment will produce the same two-tier outcomes.

3. Hours matter. 17 hours across two years is not enough to develop durable skills. Research in cognitive science consistently shows that skill development requires repeated practice over time — not a semester-long introduction.

4. Equity must be built in, not assumed. Making coding required doesn’t make it equally available. Urban-rural gaps, teacher quality gaps, and private tutoring advantages can all undermine the equity goals of a mandate.

5. Computational thinking is the goal, not coding syntax. Korea’s curriculum was right to frame it this way — and the research confirms that CT skills transfer more broadly than specific language proficiency.

For parents who want to build these skills at home, our guide on computational thinking vs coding breaks down what matters most. For older kids interested in taking it further, see our overview of coding and robotics competitions.


FAQ: South Korea’s Coding Mandate and What It Means

Did South Korea make coding mandatory for all grades? No. The 2018 mandate applied to grades 5–6 in elementary school (17 hours) and grades 1–3 in middle school (34 hours). High school coding remained elective, though take-up increased substantially after 2018.

What language do Korean students learn to code in? Elementary students primarily use block-based environments like Scratch. Middle school students transition to Python for text-based programming. The focus at both levels is on problem-solving logic, not language proficiency.

Did coding education improve Korean PISA scores? Not directly measurable. PISA 2022 showed Korea ranked 3rd in math and 2nd in science globally — but these rankings have been strong since before the mandate. Researchers haven’t isolated a coding education effect on PISA performance.

What is the hagwon system and why does it matter? Hagwons are private tutoring academies that are a dominant feature of Korean education. After the 2018 mandate, coding hagwons grew 340% in enrollment by 2023, meaning affluent students received far more coding instruction than the school mandate required — widening inequality even as the floor rose.

Is the South Korea coding mandate considered a success? Among Korean policymakers: cautiously yes as a policy foundation, but with significant acknowledged failures in teacher preparation and equity. The Ministry of Education’s own 2023 review called for major expansions of required hours and teacher training investment.

How does South Korea’s approach compare to the US? The US has no federal mandate. 27 states require some CS instruction at the high school level. No state has mandated meaningful coding instruction at the elementary level. Korea’s approach is more systematic but also revealed the risks of mandating without adequate teacher preparation.

What does “computational thinking” mean in this context? The ability to break down complex problems into manageable parts (decomposition), recognize patterns, create step-by-step solutions (algorithms), and abstract away irrelevant details. It’s a thinking framework that applies far beyond coding to math, science, and everyday problem-solving.


Conclusion

South Korea’s coding mandate is simultaneously a policy success and a cautionary tale. The success: it established coding as legitimate core curriculum, reached every student regardless of family wealth, and produced real gains in computational thinking among students with quality instruction. The caution: teacher preparation was underfunded, hours were too low to develop durable skills, and private tutoring advantages meant affluent students benefited most.

The lessons are directly applicable to US policymakers and parents. A mandate without teacher investment produces surface-level change. Coding as a topic is less valuable than computational thinking as a skill. And equitable access to quality instruction — not just access to a curriculum document — is the only way to close gaps rather than widen them.

What South Korea proved is that national will to prioritize coding education can move fast. What it showed is that speed without depth creates the illusion of progress.


Ricky Nave is an engineer and founder of HiWave Makers, where kids ages 6–14 build real electronics, robots, and software projects. He writes about the science of how children learn.


Sources

  1. Kim, H., & Park, J. (2023). Effects of Mandatory Software Education on Computational Thinking in Korean Middle Schools: A Meta-Analysis. Educational Technology Research and Development.
  2. Korean Educational Development Institute (KEDI). (2023). Annual Survey on Student Career Aspirations 2010–2023. KEDI.
  3. Ministry of Education, Republic of Korea. (2023). Five-Year Review of SW Education Mandate: Outcomes and Recommendations. MOE.
  4. Lee, S., Kim, Y., & Cho, M. (2022). Computational Thinking Gains Under Mandatory SW Education: A Longitudinal Study. Computers & Education, 184, 104515.
  5. Seoul National University Department of Education. (2023). Teacher Preparation Quality and Student Outcomes in Mandatory Coding Curricula. SNU Press.
  6. OECD. (2023). PISA 2022 Results: Learning During — and From — Disruption. OECD Publishing.
  7. Korean Ministry of Science and ICT. (2024). SW Education Industry Report 2024. MSIT.
  8. Wing, J. M. (2006). Computational thinking. Communications of the ACM, 49(3), 33–35.
Ricky Flores
Written by Ricky Flores

Founder of HiWave Makers and electrical engineer with 15+ years working on projects with Apple, Samsung, Texas Instruments, and other Fortune 500 companies. He writes about how kids learn to build, think, and create in a tech-driven world.