Harvard runs eleven live CS50 courses, not the six or seven most round-ups list. They share a teaching style (lectures, problem sets, a final project) and David Malan's name appears on all of them, but several are taught by someone else: Brian Yu takes CS50 Web and CS50 AI, Carter Zenke takes CS50 SQL and CS50 R, and Colton Ogden takes CS50 2D. Malan himself teaches CS50x, CS50 Python, CS50 Cybersecurity, CS50 Business and CS50 for Lawyers.
We have grouped them the way Harvard does, by what you need before you start, because that is the question people are really asking when they ask which one to take.
The flagship
1. CS50x: Introduction to Computer Science
Level: beginner. Time: 10 to 20 weeks.
The one most people mean when they say "CS50." It starts with Scratch (visual block programming), moves to C, then Python, SQL, HTML, CSS, JavaScript, and Flask. It's not a language course; it's a computer science course that happens to use multiple languages. You'll learn how memory works, what algorithms do, and why data structures matter. Best starting point if you want a real CS foundation. See
CS50's Introduction to Computer Science for details.
Continuation courses (do CS50x, or equivalent coursework, first)
2. CS50 Web: Web Programming with Python and JavaScript
Level: intermediate. Time: 12 weeks.
Covers HTML, CSS, Git, Python with Django, JavaScript, SQL, testing, scalability, and security, plus React and Bootstrap, deploying with GitHub and Heroku. The final project requires you to build and deploy a complete web application. This is where CS50 students who want to become web developers go next. See
CS50's Web Programming with Python and JavaScript for details.
3. CS50 AI: Introduction to Artificial Intelligence with Python
Level: intermediate. Time: 7 weeks.
Covers search algorithms, knowledge representation, uncertainty, optimization, machine learning, and neural networks, all implemented in Python. Harvard lists CS50x as the prerequisite rather than CS50 Python, and that ordering matters: the course assumes the algorithmic thinking CS50x drills, not just Python syntax. Good entry point into AI and machine learning concepts before jumping to TensorFlow or PyTorch. See
CS50's Introduction to Artificial Intelligence with Python for details.
4. CS50 2D: Introduction to Game Development
Level: intermediate. Time: around 12 weeks.
Rebuilds childhood games (Super Mario Bros., Legend of Zelda, Angry Birds) to teach 2D graphics, animation, sound, and collision detection, using the LÖVE 2D framework and Lua. Not in our catalog, so there is no course page here for it; go to cs50.harvard.edu/2d. Worth knowing about if you want the CS50 teaching style aimed at games rather than the web.
Standalone programming courses (take them before, during, or after CS50x)
5. CS50 Python: Introduction to Programming with Python
Level: beginner. Time: 8 to 12 weeks.
A pure Python course. Covers variables, functions, conditionals, loops, exceptions, libraries, unit testing, file I/O, regular expressions, and object-oriented programming. Gentler than CS50x because it sticks to one language and skips the low-level C material. Best choice if you want to learn Python specifically and aren't interested in the broader CS theory. See
CS50's Introduction to Programming with Python for details.
6. CS50 SQL: Introduction to Databases with SQL
Level: beginner. Time: 6 weeks.
Covers querying, relating, designing, writing, viewing, and optimizing databases. Starts in SQLite for portability and ends with PostgreSQL and MySQL for scale, and it shows you how to drive SQL from Python and Java. Useful on its own for anyone working with data. See
CS50's Introduction to Databases with SQL for details.
7. CS50 R: Introduction to Programming with R
Level: beginner. Time: around 10 weeks.
R for statistical computing and graphics, taught in RStudio: vectors, matrices, data frames, filtering and summarising, writing functions, then tidyverse and ggplot2 for visualisation, finishing with packaging and testing your own R code. This is the newest addition to the family and the one nobody has heard of yet. Not in our catalog, so see cs50.harvard.edu/r. If you are weighing languages for data work, our
R course listings cover the free alternatives.
For professionals and the code-averse
8. CS50 Cybersecurity
Level: beginner. Time: 8 weeks.
Covers passwords, phone security, email security, internet security, web security, and more from a practical perspective, framed as risk and trade-off rather than absolutes. The most accessible CS50 course because it doesn't require prior coding experience. See
CS50's Introduction to Cybersecurity for details.
9. CS50 Scratch: Introduction to Programming with Scratch
Level: true beginner. Time: 3 to 4 weeks.
Uses MIT's Scratch (visual block-based programming) to teach functions, return values, conditions, loops and variables to absolute beginners, including kids and teens. No typing code, no setup. If you're not sure whether programming is for you, this is the lowest-commitment way to find out. See
CS50's Introduction to Programming with Scratch for details.
10. CS50 Business: Computer Science for Business Professionals
Level: beginner, non-programmer. Time: around 6 weeks.
CS50x turned upside down: top-down instead of bottom-up, high-level concepts and design decisions instead of implementation detail. Cloud computing, networking, privacy, scalability and security, aimed at managers, product managers and founders who have to make technology calls without being technologists. Not in our catalog; see cs50.harvard.edu/business.
11. CS50 for Lawyers: Computer Science for Lawyers
Level: beginner, non-programmer. Time: around 6 weeks.
The same top-down treatment aimed at lawyers and law students, built around the legal implications of the technology decisions their clients make. Not in our catalog; see cs50.harvard.edu/lawyers.
Two more exist in archive form and are worth ruling out before you go looking: CS50 Mobile (React Native, ended 30 June 2020) and CS50 Technology (ended 30 June 2024). You can read the material, but you cannot submit work and no certificates are issued.