Code Monsters Academy
Home › Research
Research note

When can children start text-based programming?

Code Monsters Academy · Last reviewed 2026-11-22

Short answer: most children are ready for typed code between seven and nine, but age is the wrong gate. Three abilities matter more, and all three are observable at home in a single session.

Finding

Two independent bodies of evidence point at roughly the same window.

Neither source says "eight years old". Both describe a capability threshold, which is a subtly different thing — and the more useful one.

What it means here

Chapter 1 is written for a child who can do three things, in this order of importance:

  1. Follow a two-step instruction. Not a complex plan — "open the file, then press run".
  2. Find brackets and quotes on a keyboard without hunting for ten seconds each time.
  3. Tolerate being wrong. Run a line, see an error, try again without shutting down.

If the third one is missing, no curriculum will survive; that is a coaching problem, not a coding problem. If the first two are missing, the child is better served by block-based tools or by cause-and-effect games with no typing at all.

This is why the first chapter starts with print() and one visible result, rather than with variables: the goal of the first session is not knowledge, it is the sentence "I typed it and it happened".

Limitations

Primary sources

Used in: How to teach Python to kids · Where to start