My 14-year-old son loves programming and he’s been doing it since he was 10, although over the last couple of years, he’s been really serious about it. Hence, he spends around 2 hours and 15 minutes programming every day.

On most parenting websites, I’ve read the recommended amount of screen time is 2 hours because more than that may cause the teens to not exercise and move, develop bad sleeping habits, etc. But please note that I don’t let my son use any piece of technology before he sleeps (usually 2 hours before his bedtime) and he also exercises every day. So I was wondering is 2:15 hours of screen time too much or is it OK since it’s for educational purposes?

Furthermore, he loves to play video games and since it’s summer, I want him to have fun so do you think I should allow him to play for 45 minutes a day or do you think 3 hours of screen time is too much?

  • 1
    Usually in this context screen time tends to mean consumption of content (TV shows, YouTube videos etc) as it is typically passive. What your son is doing is active and requires concentration and thought. So don't be too concerned if they are programming for longer than recommended screen time
    – Rory Alsop
    Jul 10, 2019 at 13:17
  • I don't know about teenagers but programming as a career would make him 8 hours in front of the screen. Agreeing with Rory, programming requires him to think and be focused. It definitely helps him develop his logic Jul 10, 2019 at 15:47

2 Answers 2


I spent much more than 2h15m programming when I was a teenager (not every day, but I bet there were weekends where I hardly did anything else). Sometimes I programmed late into the night (my mom was pretty liberal about bed time, as long as school didn't suffer). There were also days I spent reading. Other kids spend equal amounts of time making music, or playing soccer. Turns out you become proficient at whatever you spend that much time on.

2 hours a day doesn't strike me as a whole lot. Even 3 hours seem okay if most of that time is spent doing something productive. That leaves the larger part of the day for other things, so I wouldn't worry. Make sure that he doesn't use his screen time just to play video games -- becoming proficient at video games doesn't really seem like a worthy goal to pursue -- and that he doesn't neglect his social life (meaning meeting friends in person). Programming can make you lonely because it's so stimulating for the mind you want to keep doing it, but you can't really talk to anybody about what you're doing because to outsiders it just sounds boring to hear you explain how you solved a certain problem they can't even begin to understand. It's also a nice activity to pursue if you don't have a social life in the first place - the computer acts as a substitute to get a positive self-image from (hey, my program works! I'm so good!). So watch out for that.

Maybe make a deal with him that his screen time includes watching TV, so he can use it either for programming or for watching TV.

As to studies to back up my contention that screen time isn't harmful in itself, a recent study seems to agree with me.

And a disclaimer of sorts: StackExchange is loaded with people with a programming background. So you might not get the same answers here that you might from other people.


This amount of screen time, in the context you mentioned, does not seem excessive according to my experience, and also according to the American Academy of Pediatrics Policy Statement.

Note that the policy statement does not mention any hours per day data on specifically programming or video games. The lowest hours per day data point for watching TV after which harmful effects on obesity were observed was above 1.5 hours daily. Your son's video game usage falls below that (making a big assumption that video games and TV effects are similar).

Regarding programming, one can also consider the bigger picture. In 4 years (at 18) your son could take a full time job that would require 8 or more hours per day of job related screen time. Viewed in this context, 2 hours 15 minutes of programming per day could be viewed as relatively little screen time.

More recent studies have provided new evidence that watching TV for more than 1.5 hours daily was a risk factor for obesity, but only for children 4 through 9 years of age. [...]


Promote that children and adolescents get the recommended amount of daily physical activity (1 hour) and adequate sleep (8–12 hours, depending on age).

Recommend that children not sleep with devices in their bedrooms, including TVs, computers, and smartphones. Avoid exposure to devices or screens for 1 hour before bedtime.

From the American Academy of Pediatrics Policy Statement: Media Use in School-Aged Children and Adolescents. COUNCIL ON COMMUNICATIONS AND MEDIA. Pediatrics Nov 2016, 138 (5) e20162592; DOI: 10.1542/peds.2016-2592 : https://pediatrics.aappublications.org/content/138/5/e20162592

You must log in to answer this question.