College Factual  by our College Data Analytics Team
       Unbiased Factual Guarantee

2026 Best Computer Science Master’s Degree Schools

187 Colleges in the United States
25,136 Computer Science Degrees Awarded
$79,524 Avg Early-Career Salary

Computer Science is a field worth a close look when choosing where to study. The schools below stand out for the quality of their computer science programs.

For its 2026 ranking, College Factual looked at 1091 schools in the United States to determine which ones were the best for computer science students pursuing a degree.

What’s on this page:

Best Schools for Computer Science in the United States

Below are the best computer science schools at the master’s degree level, ranked by the quality of the education they deliver.

Top Schools in Computer Science

1

No school ranked higher than University Of California San Diego this year for computer science. This very large public university is located in the city of La Jolla. Roughly 86% of students complete a degree within six years here. About 393 computer science degrees were awarded at University Of California San Diego in the most recent year. Soon after graduation, computer science degree recipients from University Of California San Diego generally make around $148,262. Typical student debt for the program is $16,550. More information about a degree in computer science from University Of California San Diego

2

A rank of #2 makes Massachusetts Institute Of Technology one of the top schools for computer science. Massachusetts Institute Of Technology is a large private not-for-profit school located in the city of Cambridge. Massachusetts Institute Of Technology graduates 96% of students within six years. About 236 computer science degrees were awarded at Massachusetts Institute Of Technology in the most recent year. Computer Science graduates of Massachusetts Institute Of Technology earn a median of $154,492 early in their careers. Students borrow a median of $12,000 to complete this degree. See the full computer science program report for Massachusetts Institute Of Technology

3

University Of California Berkeley came in at #3 on our 2026 list of the best computer science schools. Located in the city of Berkeley, University Of California Berkeley is a very large public university. Roughly 93% of students complete a degree within six years here. University Of California Berkeley awarded about 11 computer science degrees in the most recent data year. Students who receive their computer science degree from University Of California Berkeley earn around $149,866 in the first couple years of their career. Typical student debt for the program is $13,900. Read more about the computer science program at University Of California Berkeley

4

A rank of #4 makes Cornell University one of the top schools for computer science. This very large private not-for-profit university is located in the city of Ithaca. Cornell University graduates 95% of students within six years. About 312 computer science degrees were awarded at Cornell University in the most recent year. Computer Science graduates of Cornell University earn a median of $153,588 early in their careers. Students borrow a median of $14,698 to complete this degree. More information about a degree in computer science from Cornell University

5

Students looking for a strong computer science program will find one at Northwestern University, which ranked #5. This very large private not-for-profit university is located in the city of Evanston. About 95% of students finish within six years. There were roughly 139 computer science students who graduated with this degree at Northwestern University in the most recent data year. Computer Science graduates of Northwestern University earn a median of $99,981 early in their careers. Northwestern University graduates carry a median of $14,600 in student loans. See the full computer science program report for Northwestern University

6
Duke University crest
Duke University
Durham, NC

Duke University landed the #6 spot for computer science this year. Located in the city of Durham, Duke University is a large private not-for-profit university. The six-year graduation rate is 97%. There were roughly 49 computer science students who graduated with this degree at Duke University in the most recent data year. Computer Science graduates of Duke University earn a median of $133,356 early in their careers. Duke University graduates carry a median of $13,500 in student loans. More information about a degree in computer science from Duke University

7
Stanford University crest
Stanford University
Stanford, CA

Stanford University ranked #7 on our 2026 list of the best computer science schools. This very large private not-for-profit university is located in the suburb of Stanford. The six-year graduation rate is 92%. About 434 computer science degrees were awarded at Stanford University in the most recent year. Soon after graduation, computer science degree recipients from Stanford University generally make around $199,761. Stanford University graduates carry a median of $10,399 in student loans. Read more about the computer science program at Stanford University

8
University Of Pennsylvania crest
University Of Pennsylvania
Philadelphia, PA

University Of Pennsylvania came in at #8 for computer science this year. Located in the city of Philadelphia, University Of Pennsylvania is a very large private not-for-profit university. Roughly 96% of students complete a degree within six years here. About 160 computer science degrees were awarded at University Of Pennsylvania in the most recent year. Computer Science graduates of University Of Pennsylvania earn a median of $120,693 early in their careers. Students borrow a median of $13,500 to complete this degree. More information about a degree in computer science from University Of Pennsylvania

9

University Of California Los Angeles placed #9 among the best computer science schools. Located in the city of Los Angeles, University Of California Los Angeles is a very large public university. University Of California Los Angeles graduates 93% of students within six years. University Of California Los Angeles awarded about 117 computer science degrees in the most recent data year. Graduates of the computer science program make about $63,833 in their early career. Typical student debt for the program is $16,097. Get the full computer science details for University Of California Los Angeles

10
Georgetown University crest
Georgetown University
Washington, DC

Georgetown University landed the #10 spot for computer science this year. Located in the city of Washington, Georgetown University is a very large private not-for-profit university. About 95% of students finish within six years. Georgetown University awarded about 28 computer science degrees in the most recent data year. Soon after graduation, computer science degree recipients from Georgetown University generally make around $92,974. Students borrow a median of $16,007 to complete this degree. See the full computer science program report for Georgetown University

11

Carnegie Mellon University came in at #11 for computer science this year. This large private not-for-profit university is located in the city of Pittsburgh. Carnegie Mellon University graduates 94% of students within six years. Carnegie Mellon University awarded about 81 computer science degrees in the most recent data year. Computer Science graduates of Carnegie Mellon University earn a median of $171,264 early in their careers. Students borrow a median of $21,442 to complete this degree. See the full computer science program report for Carnegie Mellon University

12

Columbia University In The City Of New York placed #12 among the best computer science schools. Set in the city of New York, Columbia University In The City Of New York is a very large private not-for-profit institution. About 96% of students finish within six years. About 403 computer science degrees were awarded at Columbia University In The City Of New York in the most recent year. Graduates of the computer science program make about $161,851 in their early career. Typical student debt for the program is $20,397. More information about a degree in computer science from Columbia University In The City Of New York

13

University Of California Davis came in at #13 for computer science this year. This very large public university is located in the suburb of Davis. About 86% of students finish within six years. University Of California Davis awarded about 69 computer science degrees in the most recent data year. Students who receive their computer science degree from University Of California Davis earn around $53,749 in the first couple years of their career. University Of California Davis graduates carry a median of $14,404 in student loans. More information about a degree in computer science from University Of California Davis

14

George Washington University landed the #14 spot for computer science this year. This very large private not-for-profit university is located in the city of Washington. The six-year graduation rate is 84%. There were roughly 152 computer science students who graduated with this degree at George Washington University in the most recent data year. Computer Science graduates of George Washington University earn a median of $104,200 early in their careers. Typical student debt for the program is $19,500. Get the full computer science details for George Washington University

15

University Of Illinois At Urbana Champaign ranked #15 on our 2026 list of the best computer science schools. This very large public university is located in the city of Champaign. University Of Illinois At Urbana Champaign graduates 85% of students within six years. University Of Illinois At Urbana Champaign awarded about 1,094 computer science degrees in the most recent data year. Students who receive their computer science degree from University Of Illinois At Urbana Champaign earn around $146,670 in the first couple years of their career. Typical student debt for the program is $20,500. See the full computer science program report for University Of Illinois At Urbana Champaign

16

Pennsylvania State University Main Campus earned the #16 position for computer science this year. Set in the city of University Park, Pennsylvania State University Main Campus is a very large public institution. About 86% of students finish within six years. About 59 computer science degrees were awarded at Pennsylvania State University Main Campus in the most recent year. See the full computer science program report for Pennsylvania State University Main Campus

17

University Of Southern California earned the #17 position for computer science this year. Located in the city of Los Angeles, University Of Southern California is a very large private not-for-profit university. About 92% of students finish within six years. There were roughly 1,119 computer science students who graduated with this degree at University Of Southern California in the most recent data year. Computer Science graduates of University Of Southern California earn a median of $134,544 early in their careers. University Of Southern California graduates carry a median of $20,178 in student loans. More information about a degree in computer science from University Of Southern California

18
Vanderbilt University crest
Vanderbilt University
Nashville, TN

Vanderbilt University placed #18 among the best computer science schools. Set in the city of Nashville, Vanderbilt University is a large private not-for-profit institution. Vanderbilt University graduates 94% of students within six years. There were roughly 87 computer science students who graduated with this degree at Vanderbilt University in the most recent data year. Soon after graduation, computer science degree recipients from Vanderbilt University generally make around $122,244. Students borrow a median of $14,500 to complete this degree. See the full computer science program report for Vanderbilt University

19
Tufts University crest
Tufts University
Medford, MA

Tufts University placed #19 among the best computer science schools. This large private not-for-profit university is located in the suburb of Medford. About 94% of students finish within six years. Tufts University awarded about 85 computer science degrees in the most recent data year. Soon after graduation, computer science degree recipients from Tufts University generally make around $105,659. Typical student debt for the program is $15,500. Read more about the computer science program at Tufts University

20

University Of Washington Seattle Campus ranked #20 on our 2026 list of the best computer science schools. Located in the city of Seattle, University Of Washington Seattle Campus is a very large public university. Roughly 85% of students complete a degree within six years here. There were roughly 62 computer science students who graduated with this degree at University Of Washington Seattle Campus in the most recent data year. Computer Science graduates of University Of Washington Seattle Campus earn a median of $155,261 early in their careers. Typical student debt for the program is $16,118. See the full computer science program report for University Of Washington Seattle Campus

21
Purdue University Main Campus crest
Purdue University Main Campus
West Lafayette, IN

Purdue University Main Campus placed #21 among the best computer science schools. Located in the city of West Lafayette, Purdue University Main Campus is a very large public university. Purdue University Main Campus graduates 83% of students within six years. About 119 computer science degrees were awarded at Purdue University Main Campus in the most recent year. Computer Science graduates of Purdue University Main Campus earn a median of $94,786 early in their careers. Students borrow a median of $19,375 to complete this degree. See the full computer science program report for Purdue University Main Campus

22

University Of Chicago landed the #22 spot for computer science this year. Located in the city of Chicago, University Of Chicago is a very large private not-for-profit university. About 96% of students finish within six years. There were roughly 168 computer science students who graduated with this degree at University Of Chicago in the most recent data year. Students who receive their computer science degree from University Of Chicago earn around $135,918 in the first couple years of their career. Typical student debt for the program is $15,854. More information about a degree in computer science from University Of Chicago

23
Harvard University crest
Harvard University
Cambridge, MA

Harvard University landed the #23 spot for computer science this year. This very large private not-for-profit university is located in the city of Cambridge. Harvard University graduates 98% of students within six years. There were roughly 59 computer science students who graduated with this degree at Harvard University in the most recent data year. Soon after graduation, computer science degree recipients from Harvard University generally make around $152,251. Harvard University graduates carry a median of $16,616 in student loans. Read more about the computer science program at Harvard University

24

University Of Maryland College Park landed the #24 spot for computer science this year. University Of Maryland College Park is a very large public school located in the suburb of College Park. About 89% of students finish within six years. There were roughly 79 computer science students who graduated with this degree at University Of Maryland College Park in the most recent data year. Graduates of the computer science program make about $99,756 in their early career. Students borrow a median of $20,000 to complete this degree. More information about a degree in computer science from University Of Maryland College Park

25
Stony Brook University crest
Stony Brook University
Stony Brook, NY

Stony Brook University ranked #25 on our 2026 list of the best computer science schools. Set in the suburb of Stony Brook, Stony Brook University is a very large public institution. Roughly 76% of students complete a degree within six years here. There were roughly 163 computer science students who graduated with this degree at Stony Brook University in the most recent data year. Computer Science graduates of Stony Brook University earn a median of $60,047 early in their careers. Stony Brook University graduates carry a median of $20,537 in student loans. See the full computer science program report for Stony Brook University

Rest of the Top 50 Computer Science Schools

These schools rounded out the top of this year’s computer science ranking:

26
Dartmouth College crest
Dartmouth College
Hanover, NH
27
28
Boston University crest
Boston University
Boston, MA
29
30
Villanova University crest
Villanova University
Villanova, PA
31
32
33
Princeton University crest
Princeton University
Princeton, NJ
34
35
36
37
38
Clark University crest
Clark University
Worcester, MA
39
40
41
Brown University crest
Brown University
Providence, RI
42
43
44
45
46
Rivier College crest
Rivier College
Nashua, NH
47
48
49
University Of San Francisco crest
University Of San Francisco
San Francisco, CA
50

Additional Computer Science Award Winners

These schools also stood out for computer science:

Rank School Location
#51 California Polytechnic State University San Luis Obispo San Luis Obispo, CA
#58 Lehigh University Bethlehem, PA
#59 North Carolina State University At Raleigh Raleigh, NC
#64 Emory University Atlanta, GA
#76 Stevens Institute Of Technology Hoboken, NJ
#85 Worcester Polytechnic Institute Worcester, MA
#94 Rensselaer Polytechnic Institute Troy, NY

Honorable Mentions

A few more computer science schools worth a look:

Other Computer Science Degree Levels

Explore the best computer science schools at other degree levels:

All Degree Levels in Computer Science
Associate's Degrees in Computer Science
Bachelor's Degrees in Computer Science
View All Computer Science Rankings >

Notes and References

This list is compiled by College Factual (MF_RANKING_2025), 2026 edition. Schools are scored on a blend of student outcomes (graduation rate, post-graduation earnings), affordability, and program focus, drawn primarily from the U.S. Department of Education (IPEDS and College Scorecard).

Ranking method: College Major Top Ranked · 1091 schools evaluated.

More about our data sources and methodologies.

Popular Reports

College Rankings
Best by Location
Degree Guides by Major
Graduate Programs

Compare Your School Options