Skip to content
Get lifelong access to all courses and certifications with Full Access.
Get lifelong access to all courses and certifications with Full Access.

What is the best age to learn programming

đź‘‹ Introduction

Programming is becoming more and more popular for people of all ages.

It is relevant both in everyday life and in a professional setting.

Many are curious to know when others started to learn to program.

The short answer is that there is no right age to start.

It is never too late.



People ask for what age others began learning programming for different reasons, such as:

  • Is it too late for me to start?

  • Am I too young?

  • What is the best age to start?

  • Can I learn it?

Not sure where to begin to become a web developer? Read more here

At what age did you learn programming?

We had a user poll to see when people started their programming journey.

This revealed that more than half (58%) of the respondents began to learn between the ages of 18 to 28.

However, 26% started when they were under 18 years old.

15% began between the ages of 28 to 48.

And just 1% when they were older than 48.

User poll asking for what age people started to learn coding

See the full LinkedIn poll post here!  

The age interval that we are seeing are users between 7 to 75 years old.

People of all ages are learning how to code. 

The biggest group, almost 60%, are between 18 - 28 years old. 

Kids can learn the basics of programming, and it's becoming more common to integrate solution-oriented thinking in schools.

This stimulates the growth of new tools to teach kids how to code, such as software, specialised classes, teacher specialisations, gamification, and much more.

Senior citizens spend more time learning programming for either reskilling, doing a project, or learning something new.

For most of the other age groups, the main reasons for learning code is to:

  • Reskilling
  • Career advancement
  • Creating a project
  • Lifelong learning

Resources that you can use for job advancement:

How to write a CV

How to get a developer job in 10 steps 

We have groups from both ends of the age intervals that learn how to code.  

Coding is popular and is becoming a more significant part of everyday life.

People without IT training or education are using coding to solve problems.

So coding is relevant for everyone.


Wisdom is not a product of schooling but of the lifelong attempt to acquire it. — Albert Einstein


Visualisation of the results of the poll:

How old were you when you learned programming

Fun fact: The oldest learner that we know of that has been using W3Schools was 91 years old. He was learning frontend development to create a website as a family album. He had learned HTML and CSS and was practicing JavaScript. 


Are we asking the right question?

People ask at what age people started learning.

Many replied with the age that they started learning. But, they did not master coding at that point.

However, they left it off but picked it up later in life.

When this holds true, the starting age may not be relevant because it was not adequately learned.

The right question can be: When did you achieve something with code?

When did someone learn and build something that solved their problem?


What is important to remember when learning how to code

Learning how to code is not easy.

It requires focus, prioritisation, and consistency.

Remember that failing is a part of the learning experience.

Troubleshooting your errors is an excellent way of learning.

Keep going and never give up.


Did you find this helpful? đź’ˇ

💬 Let us know in a comment below. 

Subscribe to this blog's RSS feed using

Previous article W3Schools Success Stories: Matej Bošnjak
Next article How to write a CV


James - August 19, 2022

Harland David Sanders (a.k.a “Colonel Sanders”) is a fascinating story of someone who started later in life and became successful. He was born in 1890 and had a long string of failures, disappointments, and lost jobs due to insubordination (and even fighting). He was 62 years old when he created the idea of Kentucky Fried Chicken (KFC). Just because you are old doesn’t mean that you can’t come up with some great idea and share it with the world. If it’s a good idea you might even get rich.

Leave a comment

* Required fields

Blog posts