How much screen time is reasonable for coding practice?
Short answer: no guideline sets a screen-time number for coding specifically. The usable rule is a short session that ends while attention is still there — 20 to 30 minutes, three times a week — rather than a daily ceiling.
Finding
Two WHO documents are relevant, and they say different things at different ages.
- Children under 5. The 2019 guidance recommends no sedentary screen time for children under 2, and no more than one hour for children aged 2–4, with less being better.
- Ages 5–17. The 2020 guidelines recommend limiting the amount of recreational screen time, but they do not set a numeric ceiling. The frequently quoted "two hours" comes from national 24-hour movement guidelines (for example Australia and Canada), not from the WHO document itself.
Neither document addresses programming, typing, or learning software. They describe population-level limits on recreational sedentary screen time, which is a different question from how long a child should practise a skill.
What it means here
Our session length is not derived from a screen-time ceiling. It comes from two constraints we can actually observe:
- One concept per session. A session ends when the child has made one thing work. Past that point, attention falls faster than understanding rises — the evidence for this is the session itself, not a guideline.
- Frequency beats duration. Three short sessions produce more retention than one long one, because each session begins with recalling the last.
A level in the game is built to take two to five minutes, so three levels fit inside a 20-minute window without a timer. That is a design decision, and we label it as one rather than dressing it up as a health recommendation.
Limitations
- Both documents are population guidance, not clinical advice for an individual child.
- They do not distinguish active screen time (typing, debugging) from passive screen time (watching), which is the distinction most parents actually care about.
- We found no study that measures coding sessions specifically. Applying a general sedentary-behaviour guideline to programming is an inference, and a weak one.
Primary sources
- World Health Organization, Guidelines on physical activity, sedentary behaviour and sleep for children under 5 years of age (2019) — who.int
- World Health Organization, WHO Guidelines on physical activity and sedentary behaviour (2020, ages 5–17 and adults) — who.int
Used in: How to teach Python to kids · Homeschool curriculum