Skip to main content
How China Teaches Kids to Code: From Scratch to National AI Camps
๐Ÿ“š Educationcoding education Chinakids programming ChinaChinese STEM educationScratch China

How China Teaches Kids to Code: From Scratch to National AI Camps

China is betting on childhood coding literacy, from Scratch in primary school to the NOIP informatics Olympiad and new AI camps. Here's how the pipeline works.

2026-09-13
By redpapa
ยท๐Ÿ“š Education

How China Teaches Kids to Code: From Scratch to National AI Camps

A National Bet on Tiny Programmers

In 2017, China's Ministry of Education signaled that artificial intelligence should be introduced into primary and secondary schools. Since then, "coding for kids" has moved from a niche after-school hobby to a mainstream expectation in Chinese cities. Parents who once rushed children to piano and calligraphy now add programming classes to the schedule, convinced that code is the new literacy.

This article maps how China actually teaches children to code โ€” from block-based play in primary school to the cutthroat National Olympiad in Informatics (NOIP) that can open university doors.


Stage 1: Block Coding and Scratch

The entry point is almost always Scratch, the MIT-developed block language, or Chinese clones like Kitten (็ผ–็จ‹็Œซ) and Nemo. In tightly designed, game-like lessons, a 7- or 8-year-old snaps together colored blocks to animate a cat or build a simple quiz. The goal is not syntax but computational thinking: sequencing, loops, conditionals, and debugging.

Many public schools now run coding as a club or elective, while the real volume happens in private training centers. The market for children's programming swelled to tens of billions of yuan, with chains operating in hundreds of cities.


Stage 2: Text-Based Languages

Around ages 10โ€“12, students transition to Python, prized for readable syntax, and sometimes C++, the language of competitive programming. Python is taught through turtle graphics, small games, and data projects; C++ is introduced specifically for those aiming at the Olympiad track. The leap from blocks to text is where many drop out โ€” and where the serious pipeline begins.


Stage 3: The Olympiad Track (NOIP and NOI)

For the truly dedicated, the path runs through the National Olympiad in Informatics (NOI) system:

  • CSP-J/S (Certified Software Professional, Junior/Senior) โ€” the gateway exams, usually from grade 5โ€“6 upward.
  • NOIP (National Olympiad in Informatics in Provinces) โ€” the provincial selection.
  • NOI โ€” the national final, whose top scorers earn university admission advantages, including placement at elite institutions through talent programs.
  • IOI โ€” the International Olympiad in Informatics, where Chinese teams consistently medal.

This track rewards algorithm design and data structures over app-building, and it is intensely competitive โ€” a small fraction of participants reach the national level, but the rewards (prestige, school admission, scholarships) are large.


Stage 4: The AI Camp Wave

The newest layer is AI education. Spurred by national policy and the generative-AI boom, provinces have rolled out AI curriculum guidelines, and camps now teach children to use โ€” and lightly build with โ€” large models. Some programs let students fine-tune small models or build simple agents, framed as "AI literacy for the next generation." Critics warn of hype and superficial learning, but the momentum is clear.


The Parental Logic

Chinese parents operate on a simple fear: that a child who cannot code will be left behind in an automated economy. Coding certificates and Olympiad medals also strengthen school and university applications, especially under the "special talent" (็‰น้•ฟ็”Ÿ) and strong-foundation (ๅผบๅŸบ่ฎกๅˆ’) channels. The result is a febrile after-school market where monthly fees for quality coding classes rival those of elite sports training.


Concerns and Pushback

Two tensions shape the field. First, the "double reduction" policy (2021) curbed tutoring in core academic subjects but left STEM and arts in a gray zone; coding firms repositioned as "quality education" to stay compliant. Second, educators worry about age appropriateness โ€” pushing abstract programming onto very young children can breed burnout. A balanced view is emerging: coding as one of several creative literacies, not a universal mandate.


What Foreign Observers Can Learn

China's scale and speed in child coding education is a natural experiment in computational literacy. Whether it produces a generation of builders or merely a pile of certificates, it signals a cultural consensus that programming belongs in childhood, much as reading and arithmetic do. For families abroad, the takeaway is modest: early, playful exposure to logic and making beats pressure and cramming.


?Frequently Asked Questions

At what age do Chinese children start coding?
Many begin with block-based tools like Scratch around age 7 or 8, often in after-school clubs or private centers rather than formal class time.
Which programming language do kids learn first?
Usually a block language (Scratch or a Chinese equivalent), then Python, and for competition-track students, C++.
What is the NOIP and why does it matter?
The National Olympiad in Informatics in Provinces is the main competitive programming exam. Strong results can improve university admission prospects through China's talent-recruitment channels.
Is coding education affected by the double-reduction policy?
Core-subject tutoring was restricted, but STEM and arts were treated more leniently. Many coding providers rebranded as "quality education" to remain compliant.
Do Chinese schools teach AI to children now?
Increasingly yes. National and provincial guidelines encourage AI literacy, and camps and electives now introduce students to using and lightly building with AI models.
Tags:coding education Chinakids programming ChinaChinese STEM educationScratch ChinaAI education childrenNOIP Olympiadinformatics Olympiad Chinayouth coding 2026

Related Articles

๐Ÿ“š Education

Confucius Institutes and Learning Chinese in 2026: How the System Actually Works

๐Ÿ“š Education

China's Free Normal Education Reform: From Tuition Waiver to Graduate-Level Training

๐Ÿ“š Education

Studying Mandarin in China: How University Language Immersion Programs Work (2026)

๐Ÿ“š Education

STEAM Education in China: How Maker Culture Is Reshaping Schools