Guide
cs50
edx

Harvard CS50: All 11 Free Courses, Where to Find Them, and Which to Take in 2027

CS50 is free on edX, not Coursera. We settle that mix-up, then walk through all eleven CS50 courses, where to take each one free, and which fits your goals in 2027. Including the part most round-ups get wrong: every CS50 course has a free Harvard certificate, not just CS50x.

Reviewed by the FreeCodingCourses.com editorsLast reviewed: How we review

12 min readAll guides →

Quick Answer

CS50 is on edX, not Coursera. There are eleven live CS50 courses and all of them are free, including the certificate: Harvard's own words on cs50.harvard.edu are that for each course "we offer verified certificates for a fee and a free certificate." So you never have to pay edX for a CS50 credential, which is the single most expensive misunderstanding about this course family. Start with CS50x (Introduction to Computer Science) if you want a broad foundation, or CS50 Python if you just want to learn Python. Both are taught by David Malan.

Is CS50 on Coursera?

No. This is the single most common point of confusion about CS50, and it makes sense: Harvard does offer other courses on Coursera. CS50 is not one of them. All CS50 courses live on edX (edx.org) and the official CS50 site (cs50.harvard.edu). If you search Coursera for "CS50," you will not find the real thing. Any listing you find there under a similar name is not the official Harvard course. Why does the confusion happen? Harvard partners with both Coursera and edX for different programs. CS50 has been on edX since 2012 and has never moved. But when people hear "free Harvard course," they check Coursera first because it's the bigger platform. The course simply isn't there. For the full head-to-head, see our CS50 vs Coursera comparison. The direct links: go to edx.org and search for CS50, or visit cs50.harvard.edu for the full list of courses with direct enrollment links.

Where to take CS50 for free

Three places carry CS50, and two of them cost nothing. Here is the whole picture so you can stop hunting. cs50.harvard.edu (free, free certificate). Harvard's own CS50 site links every course and its problem sets, and it issues a free certificate for every one of them. Harvard's courses page states it plainly: "For each, we offer verified certificates for a fee and a free certificate." Free certificates are issued as a unique URL you can share. This is not a CS50x-only perk, which is what almost every round-up on this topic gets wrong, including an earlier version of this page. edX audit track (free, no edX certificate). Go to edx.org, search CS50, and enroll on the audit track. You get the full course: lectures, problem sets, materials. The only thing you miss is edX's own paid certificate, and you can still claim Harvard's free one. edX verified certificate (paid). Same course, same lectures, but edX charges for a verified certificate, which involves an identity verification step through edX and so reads as more formal to some employers. Prices are per course and they are higher than most guides claim. Checked on edx.org on 7 November 2026: CS50x is $219, CS50 Python, CS50 SQL, CS50 AI and CS50 Web are $299 each, and CS50 Cybersecurity is $449. You are paying for the verification, not for better teaching. The lessons are identical on either track. So the practical answer for nearly everyone: take it free, claim Harvard's free certificate, and skip edX's. Pay only if you specifically need the edX verification step for an employer or a reimbursement process. One thing to rule out: CS50 is not on Coursera. If you saw it mentioned there, it was either a different course or an outdated reference. edX and Coursera are separate companies, and CS50 has lived on edX since 2012. Read our take on the platform.

Is CS50 free?

Yes, and more completely free than its reputation suggests. Every CS50 course is free to take, watch, and submit work on, and every one of them also comes with a free certificate from Harvard's own site. The certificate question is where the money usually comes in, and with CS50 it does not have to. edX sells a verified certificate per course ($219 for CS50x, $299 for CS50 Python, SQL, AI and Web, $449 for CS50 Cybersecurity as of 7 November 2026). Separately, cs50.harvard.edu issues a free certificate for each course when you finish the required work. Harvard's own courses page puts it in one sentence: "For each, we offer verified certificates for a fee and a free certificate." The difference between the two is verification, not content or awarding body. The verified certificate routes you through edX's identity check, so some people and some HR processes treat it as more authentic. The free one arrives as a unique URL. Nothing about the teaching, the problem sets, or the grading changes either way. The one real limitation to know: the two retired courses, CS50 Mobile (ended 30 June 2020) and CS50 Technology (ended 30 June 2024), are still readable in archive form, but you cannot submit work and no certificates are issued for them.

All eleven CS50 courses: what each one covers

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.

Which CS50 course should I take?

This depends on where you are and where you want to go. Here's a quick decision guide. I've never coded before and want a serious foundation: CS50x. It's hard, but it will teach you how computers actually work. I've never coded before and just want to try Python: CS50 Python. Simpler scope, one language, still well-taught. I want to build websites: CS50 Web, after CS50x. I'm interested in AI and machine learning: CS50 AI, after CS50x. I want to make games: CS50 2D, after CS50x. I want to work with databases and data: CS50 SQL, standalone or alongside CS50 Python. I work with data and statistics rather than software: CS50 R. I want to understand cybersecurity: CS50 Cybersecurity (no prerequisites). I manage engineers but don't code: CS50 Business. I'm a lawyer: CS50 for Lawyers. Both are CS50x taught top-down, without the problem sets in C. I'm a kid, a teen, or a total beginner who wants the gentlest intro: CS50 Scratch. You don't need to take them in order. CS50x, CS50 Python, CS50 SQL and CS50 R all work as standalone first courses. The three continuation courses (CS50 Web, CS50 AI, CS50 2D) are the ones that genuinely want CS50x behind them first, and the usual mistake is attempting CS50 AI off the back of a Python course alone: the hard part there is the algorithmic thinking, not the syntax.

CS50 vs other free options

One naming note before the comparisons, because it trips people up in search: Harvard now calls these courses CS50 Python, CS50 Web and so on, but the older abbreviations CS50P and CS50W refer to exactly the same courses and still turn up everywhere. CS50 Python vs Python for Everybody (Coursera): both are free, both are beginner-friendly Python courses. CS50 Python is faster-paced and project-driven with tougher problem sets. Python for Everybody is more gradual and structured as a multi-week specialization with weekly pacing. The certificate is the tie-breaker for a lot of people: CS50 Python's free Harvard certificate costs nothing, while Coursera's certificate on Python for Everybody sits behind a subscription. If you want a challenge, CS50 Python. If you want a gentler ramp, Python for Everybody. See our Python course ranking. CS50x vs The Odin Project: very different goals. CS50x teaches computer science fundamentals using multiple languages. The Odin Project teaches practical web development through building real projects. CS50x gives you theory and breadth; The Odin Project gives you job-ready web dev skills. Many people do both. See freeCodeCamp vs The Odin Project for a deeper comparison of free learning platforms. CS50x vs freeCodeCamp: freeCodeCamp is broader (covers more languages and topics) and more guided (in-browser coding, structured milestones). CS50x is deeper in CS fundamentals but narrower in scope. If you want a wide survey of topics with certificates along the way, freeCodeCamp. If you want to understand computing at a foundational level, CS50x. Want the head-to-head breakdowns? We compare CS50 against the main free alternatives one by one: CS50 vs freeCodeCamp, CS50 vs The Odin Project, CS50 vs MIT OpenCourseWare, and Boot.dev vs CS50.

Tips for getting through CS50

CS50 courses are well-made but genuinely challenging. A few things that help. Don't skip the problem sets. Watching lectures without doing the work is like watching someone else exercise. The learning happens in the struggle. Use the CS50 community. The courses have active communities on Discord, Reddit (r/cs50), and the Ed Discussion forums built into edX. When you're stuck, search the forums before posting. Your question has probably been asked before. Budget more time than you think. CS50x's "10 to 20 weeks" estimate assumes several hours per week. Most people take longer, and that's fine. There are no deadlines on the audit track. If CS50x feels too hard in week 1, try CS50 Python or CS50 Scratch first. Coming back to CS50x after learning some Python basics makes the C sections much less intimidating. Claim the free certificate when you finish, even if you think you don't care. It costs nothing, it comes from Harvard rather than from edX, and you get one for every CS50 course you complete. People routinely finish CS50x, assume the only certificate is the $219 edX one, and walk away with nothing to show for 100 hours of work.

FAQ

Frequently Asked Questions

Is CS50 on Coursera?

No. CS50 courses are hosted on edX (edx.org) and the official CS50 site (cs50.harvard.edu). Harvard offers other courses on Coursera, but CS50 is not one of them, and the two are easy to mix up because edX and Coursera are different companies. If you see a "CS50" listing on Coursera, it is not the official Harvard course. Want CS50 with a certificate? You do not need to pay: take it free and claim the free certificate from cs50.harvard.edu. edX's verified track ($219 to $449 depending on the course) only adds an identity verification step.

Is CS50 free?

Yes. All eleven live CS50 courses are free to take, and all eleven come with a free certificate from cs50.harvard.edu. edX also sells a verified certificate per course, but that is an optional extra for the identity verification, not the only way to get a credential.

Which CS50 course should I start with?

CS50x (Introduction to Computer Science) if you want a broad CS foundation. CS50 Python, the course older guides call CS50P, if you want to learn Python specifically. Both are beginner-level and work well as a first course. CS50 SQL and CS50 R also work as standalone starting points.

Does CS50 give a free certificate?

Yes, for every course, not just CS50x. Harvard's courses page states it directly: "For each, we offer verified certificates for a fee and a free certificate." The free one is issued as a unique URL from cs50.harvard.edu when you complete the required work. The paid edX verified certificate adds an identity verification step through edX, which some employers read as more formal, but the course, the grading and the awarding institution are the same either way.

How much does an edX verified certificate for CS50 cost?

It is priced per course and it is higher than most guides say. Checked on edx.org on 7 November 2026: CS50x is $219, and CS50 Python, CS50 SQL, CS50 AI and CS50 Web are $299 each. CS50 Cybersecurity is the expensive one at $449. Since every course also has a free Harvard certificate, treat these as optional.

How many CS50 courses are there?

Eleven live courses: CS50x, CS50 Python, CS50 Web, CS50 AI, CS50 2D, CS50 SQL, CS50 R, CS50 Cybersecurity, CS50 Scratch, CS50 Business and CS50 for Lawyers. Two more, CS50 Mobile and CS50 Technology, are retired but still readable in archive form, with no submissions accepted and no certificates issued.

Is CS50 hard?

CS50x is challenging, especially the early weeks that use C. It's designed to push you. Many students find weeks 1 through 3 the hardest. If you stick through the initial difficulty, it gets more manageable. CS50 Python is easier because it uses only Python and skips the low-level material.

How long does CS50 take?

CS50x takes most learners 10 to 20 weeks at a few hours per week; our catalog puts it at about 100 hours of material. CS50 Python takes 8 to 12 weeks (about 36 hours). CS50 Web is the longest of the continuation courses at roughly 84 hours, and CS50 AI, CS50 SQL and CS50 Cybersecurity sit near 30 hours each. There are no deadlines on the free audit track, so you can go at your own pace.

Courses in this guide

Recommended Courses

Keep reading

More Guides

All guides →