What Harvard’s free CS50x teaches week by week, how its problem sets and certificates work, what it costs, and what to take next.

By Michael Stromberg, Hack Reactor graduate (2016) · Last verified November 26, 2026
CS50x is the free online version of Harvard’s introduction to computer science, taught by David J. Malan. Over about 12 weeks of material it moves from Scratch to C, then to Python, SQL, and web development with HTML, CSS, JavaScript, and Flask, with ten problem sets and a final project. You can take it free on CS50’s own site or edX, and earn a free CS50 certificate; edX also sells a verified certificate.
The short answer: CS50x is the best free introduction to computer science there is, and one of the best introductions to programming, full stop. It teaches you how computers and code actually work, not just one language, and its problem sets are genuinely hard. It isn’t a job-training program: it covers web development only briefly and doesn’t build a portfolio for any particular role. Take it for the foundation, then follow it with a practical path.
Harvard CS50x at a glance
| Harvard CS50x | |
|---|---|
| What it is | Harvard’s introduction to computer science, free online |
| Instructor | David J. Malan |
| Languages | Scratch, C, Python, SQL, HTML, CSS, JavaScript (with Flask) |
| Work | Ten problem sets and a final project, automatically graded for correctness and style |
| Time | About 12 weeks at 6 to 18 hours a week, by edX’s estimate; self-paced |
| Prerequisites | None; most CS50 students have never studied computer science |
| Certificate | Free CS50 certificate; paid verified certificate from edX (about $219 when we checked) |
| Help | CS50.ai, CS50’s AI help tool, plus Ed, Discord, and other communities |
| Learners | More than 7 million enrolled on edX |
What it costs
The course is free: lectures, notes, problem sets, the browser-based coding environment, automated grading, and the CS50 certificate. You do need a free edX account to submit work. edX sells an optional verified certificate, which was $219 in edX’s course listing when we checked. CS50 says verified certificates may be seen as more authentic because edX verifies your identity, and the verified CS50x certificate carries an American Council on Education (ACE) credit recommendation that some colleges accept. You can pay for verification later, even after finishing.
What you learn, week by week

| Week | Topic |
|---|---|
| 0 | Scratch: programming ideas without syntax |
| 1 | C |
| 2 | Arrays |
| 3 | Algorithms |
| 4 | Memory |
| 5 | Data structures |
| 6 | Python |
| 7 | SQL |
| — | Artificial intelligence (a lecture) |
| 8 | HTML, CSS, and JavaScript |
| 9 | Flask (Python web apps) |
| 10 | The final week, then your final project |
Weeks 1 to 5 are in C, which is why CS50 is harder than most beginner courses: you manage memory yourself and see how data structures really work. Then it switches to Python, and you see how much a higher-level language does for you. The final project is software of your own choosing, in any language, and you can build it with one or two classmates.
How CS50x works
- Lecture, then problem set. Each week has a lecture and a problem set of programming assignments, with walkthrough videos on where to start.
- Two difficulty levels. Some early problems come in “less comfortable” and “more comfortable” versions; you do one.
- Automatic grading. Your code is checked for correctness and for style. You need at least 70% on every problem and on the final project for a certificate. There’s no final exam.
- Self-paced, with one overall deadline. There are no weekly deadlines, but each course term has a final deadline, which CS50 sometimes extends; some finished work carries forward into a new term.
- Help from CS50.ai and communities. CS50.ai helps with problem sets and course concepts, and CS50 points you to Ed, Discord, Reddit, and other communities.
Is the CS50 certificate worth it?
The free certificate is a nice proof of completion with a unique link. The verified certificate costs money but carries edX identity verification and, for CS50x, an ACE credit recommendation, which only matters if a college will accept it; check with the school first. Neither is an accredited Harvard credential, and neither will get you a job by itself. The skills, and the final project you can show, are what count.
Pros and cons
Pros
- Free, from Harvard, with excellent lectures
- Teaches how computing works: memory, data structures, algorithms, not just syntax
- Hard problem sets that build real problem-solving skill, with automatic feedback on correctness and style
- Covers several languages, so you learn ideas that transfer
- Free certificate, plus an optional verified certificate with an ACE credit recommendation
Cons
- Not career training: web development is brief, and there’s no portfolio aimed at a specific job
- Five weeks of C can be discouraging for people who want to build websites quickly
- No human code review; help comes from CS50.ai and communities
- A final course deadline per term, so you can’t leave it untouched forever
- The verified certificate costs extra and isn’t an accredited Harvard credential
From Michael, Hack Reactor ’16: CS50 is the course I’d most want every self-taught developer to take, because it teaches the parts bootcamps tend to skip: what memory is, why some code is slow, how a hash table works. Those are exactly the topics that come up in technical interviews. If the C weeks feel brutal, that’s normal; push through, and the Python weeks will feel like a reward.
Who should choose it?
- Good fit: beginners who want a rigorous foundation; self-taught developers filling in computer science gaps; anyone preparing for technical interviews or deciding whether they enjoy programming.
- Look elsewhere: you want job-focused web development (The Odin Project or freeCodeCamp); you want a gentle, low-pressure start (Mimo); you want data skills (DataCamp); or you want live teaching and career services (a bootcamp).
Alternatives
| Option | Cost | Best for |
|---|---|---|
| Harvard CS50x | Free; verified certificate about $219 | Computer science fundamentals |
| freeCodeCamp | Free | A structured, job-focused web development path |
| The Odin Project | Free | Full-stack web development projects on your own computer |
| Coursera Plus | $59 a month or $399 a year | University and company certificates, many in computer science |
| Treehouse Full Stack JavaScript Techdegree | $199 a month; about $800–$1,800 in total | Job-focused projects with code reviews |
CS50 also offers other free courses, including CS50 Python, CS50 Web, CS50 AI, and CS50 SQL. For a side-by-side look at every free and low-cost option, see our guide to the cheapest ways to learn to code.
The verdict
CS50x is free, rigorous, and brilliantly taught, and it gives you a deeper foundation than any other beginner course. It won’t make you job-ready for a specific role by itself, so pair it with a practical path such as The Odin Project or freeCodeCamp. If you’re unsure whether programming is for you, this is the course that will tell you. Start CS50x free.
Harvard CS50x FAQ
Is CS50x really free?
Yes. The course, grading, and CS50 certificate are free; you need a free edX account to submit work. Only the optional edX verified certificate costs money (about $219 when we checked).
How long does CS50x take?
edX estimates about 12 weeks at 6 to 18 hours a week. It’s self-paced, so many people take longer, but each course term has a final deadline.
Is CS50x good for complete beginners?
Yes. It assumes no experience, and most CS50 students have never studied computer science. It is demanding, though, especially the weeks in C.
What’s the difference between the free and verified CS50 certificates?
The free CS50 certificate comes from CS50 with a unique link. The verified certificate comes from edX after identity verification, costs extra, and for CS50x carries an ACE credit recommendation. Neither is an accredited Harvard credential.
Will CS50x get me a job?
Not on its own. It builds a strong foundation and helps with technical interviews, but you’ll need job-focused projects, such as those in The Odin Project or freeCodeCamp, to show employers.
Should I take CS50x or CS50 Python first?
CS50x if you want the broad foundation, including C and how computers work; CS50 Python if you want a gentler start in one language.
Michael has a diverse background in software engineering, mechanical engineering, economics, and management. After a successful career in mechanical engineering, Michael decided to become a software engineer and attended the Hack Reactor coding bootcamp. Michael enjoys writing about his experiences and helping others start their journeys in software development.
