Harvard University

CS50x: Introduction to Computer Science

Harvard's CS50x — Scratch, then five weeks of C, then Python, SQL, web and AI, with graded problem sets and a free certificate on completion.

FreeBeginner10+ hoursEnglishCertificateComputer Science
Go to course

Opens on Harvard University — a direct link, no affiliate tracking.

Course overview

CS50 is the Harvard course that escaped the university. David Malan's introduction to computer science now runs as CS50x — currently the 2026 edition — free through Harvard's own site, and it remains the most demanding thing on almost any list of free beginner courses. That difficulty is the point.

Eleven weeks, and the sequence is deliberate. Week 0 is Scratch, so you learn control flow by dragging blocks. Weeks 1 through 5 are C — arrays, algorithms, memory, data structures — which is where most people either level up or quit. Then Python in week 6, SQL in week 7, and web development with HTML, CSS, JavaScript and Flask in weeks 8 through 10, plus an artificial intelligence module.

Why the C weeks matter

Teaching pointers and manual memory management to beginners looks like cruelty until you see what it produces. Students who survive week 4 understand what a variable actually is, why an array index out of bounds is dangerous, and what garbage collection is doing for them in every other language they'll ever use. Nothing else in free education produces that. It is also, unambiguously, where the attrition happens — the jump in difficulty between weeks 2 and 4 is steep and catches people who found Scratch easy.

The certificate situation

Worth understanding before you start, because it confuses everyone. Completing the course through Harvard's OpenCourseWare route gives you a free CS50 certificate — you need an edX account to submit work, but no payment. A verified edX certificate is a separate, paid product. There are also professional certificate tracks and actual Harvard credit through the Extension School or Summer School, both paid. So the answer to "is the certificate free" is yes, with an asterisk about which certificate you mean.

Who it's for

People who want to actually be able to program, not just complete something. Problem sets are graded on correctness, design and style, and the final project is genuinely yours to choose. Skip it if you need a job in three months — CS50 makes you a better thinker faster than it makes you employable, and a bootcamp curriculum in one language would serve that goal better. Skip it too if you can't commit real hours; the problem sets are long and the course has broken more streaks than any other on this site.

Our take

The best free course in computing, and the one most likely to be abandoned. Its real weakness is breadth over depth at the end: weeks 8 to 10 sprint through web development fast enough that you finish able to write a small Flask app without much sense of how to build a real one. Take CS50x for the foundations, then go deep somewhere else — and be honest with yourself about the C weeks before you start.

At a glance

Price
Free
Level
Beginner
Time to complete
10+ hours
Language
English
Certificate
Yes, on completion
Taught by
Harvard University
Last checked
26 Aug 2026

Topics covered

  • cs50
  • harvard
  • fundamentals

Reviews

No reviews yet

Took this course? Share what you thought.