Last checked: November 2026. Course years and certificate options change; check cs50.harvard.edu for current details.
CS50 is Harvard University’s introduction to computer science, taught by Professor David J. Malan. It is one of the most popular courses in the world, and the full course is available online for free, with a free certificate if you complete it. Many people who have never written code start with CS50 and go on to tech careers.
This guide explains what CS50 covers, how to take it free, how hard it is and what to do after it.
CS50 at a glance
| Full name | CS50’s Introduction to Computer Science (CS50x online) |
| From | Harvard University |
| Cost | Free, including a free CS50 certificate. A paid verified certificate is available through edX |
| Level | Beginner; no coding experience needed |
| Time | Self-paced; many learners take 3 to 6 months at about 10 hours a week |
| Languages taught | C, Python, SQL, plus HTML, CSS and JavaScript |
| College credit | No; the online version is not for Harvard credit |
What CS50 teaches
CS50 isn’t just a programming course. It teaches you to think like a computer scientist: breaking problems into steps, writing efficient solutions and understanding how computers actually work.
The course is organised in weeks, each with a lecture and a problem set:
- Scratch: a visual language to learn programming ideas
- C: the basics of programming, memory and how computers store data
- Arrays, algorithms and data structures: searching, sorting and efficiency
- Memory: pointers, files and how programs use memory
- Python: a modern, beginner-friendly language
- SQL: databases
- HTML, CSS and JavaScript: building for the web
- Flask: a web application framework
- Final project: you build your own software project
The course also has lectures on cybersecurity and artificial intelligence, and it includes an AI tutor (the “CS50 Duck”) that helps you without giving away answers.
Other CS50 courses
Harvard offers several other free CS50 courses online:
- CS50P: Introduction to Programming with Python (easier start than CS50x)
- CS50W: Web Programming with Python and JavaScript
- CS50 AI: Introduction to Artificial Intelligence with Python
- CS50 SQL, CS50 Cybersecurity, CS50 Business, CS50 for Lawyers and more
How to take CS50 for free
- Go to cs50.harvard.edu/x (or find CS50x on edX).
- Watch the lectures on the CS50 website or YouTube.
- Use the free online code editor (CS50’s version of VS Code), so you don’t need to install anything.
- Log in with a GitHub account to submit problem sets.
- Complete all problem sets and the final project with a passing score.
- Claim your free CS50 certificate.
Your progress is tied to the course year. If you start in one year and don’t finish by its end, check the CS50 website for how your work carries over to the next version.
How hard is CS50?
It is challenging, and that’s why it is respected. The early weeks in C can feel difficult for beginners. Most people get stuck at some point. That is normal.
Tips:
- Watch the short videos and section recordings, not just the main lectures
- Use the CS50 Duck AI and the CS50 community (Discord, Reddit, Stack Exchange)
- Don’t copy solutions; CS50’s academic honesty rules are strict and the learning comes from struggling
- If C is too hard at first, try CS50P (Python) and come back
Free certificate vs verified certificate
| Free CS50 certificate | edX verified certificate | |
|---|---|---|
| Cost | Free | Paid (price shown on edX) |
| Issued by | CS50 / Harvard | HarvardX through edX |
| Same course work? | Yes | Yes |
Both show you completed the course. Most learners are happy with the free certificate.
Will CS50 help you get a job?
CS50 gives you a strong foundation, but on its own it isn’t job training for a specific role. After CS50, people usually:
- Go deeper in one area, such as web development (CS50W), data, or AI (CS50 AI)
- Build a portfolio of projects, starting with the CS50 final project
- Take professional certificates or apply for internships
Employers recognise the CS50 name, and saying you completed it shows you can handle hard problems.
FAQs
Is CS50 really free?
Yes. The lectures, problem sets, tools and the CS50 certificate are free.
Do I need maths for CS50?
Basic school maths is enough.
Does CS50 give a Harvard degree or credit?
No. The free online version gives a certificate of completion, not Harvard credit or a degree.
Can I take CS50 on a phone?
You can watch lectures on a phone, but you need a computer for the coding.
Next steps
- Visit cs50.harvard.edu/x and watch Lecture 0.
- Create a GitHub account for submitting work.
- Commit to one week of the course every 1 to 2 weeks.
Related: freeCodeCamp certifications.
Sources
- CS50 official website (cs50.harvard.edu)
- CS50x on edX (edx.org)