2027 Best Computer Science Master’s Degree Schools
Computer Science programs are offered at a focused set of schools across the country. While the number of schools offering the program varies, there are still top-quality ones to be found.
For its 2027 ranking, College Factual looked at 226 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
See the highest-ranked computer science schools offering a master’s degree below.
Top Schools in Computer Science
Our analysis ranked Massachusetts Institute Of Technology the best school in the country for a degree in 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. Massachusetts Institute Of Technology awarded about 267 computer science degrees in the most recent data year. Soon after graduation, computer science degree recipients from Massachusetts Institute Of Technology generally make around $154,492. Typical student debt for the program is $12,000.
Get the full computer science details for Massachusetts Institute Of Technology
Cornell University is a great choice for students pursuing a degree in computer science, landing the #2 spot this year. This very large private not-for-profit university is located in the city of Ithaca. The six-year graduation rate is 95%. Cornell University awarded about 350 computer science degrees in the most recent data year. Soon after graduation, computer science degree recipients from Cornell University generally make around $153,588. Typical student debt for the program is $14,698.
More information about a degree in computer science from Cornell University
Students looking for a strong computer science program will find one at Northwestern University, which ranked #3. Northwestern University is a very large private not-for-profit school located in the city of Evanston. Roughly 95% of students complete a degree within six years here. Northwestern University awarded about 187 computer science degrees in the most recent data year. Soon after graduation, computer science degree recipients from Northwestern University generally make around $99,981. Typical student debt for the program is $14,600.
Get the full computer science details for Northwestern University
University Of California San Diego is a great choice for students pursuing a degree in computer science, landing the #4 spot this year. Set in the city of La Jolla, University Of California San Diego is a very large public institution. About 86% of students finish within six years. There were roughly 337 computer science students who graduated with this degree at University Of California San Diego in the most recent data 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.
Read more about the computer science program at University Of California San Diego
Students looking for a strong computer science program will find one at University Of California Berkeley, which ranked #5. University Of California Berkeley is a very large public school located in the city of Berkeley. Roughly 93% of students complete a degree within six years here. About 16 computer science degrees were awarded at University Of California Berkeley in the most recent year. Graduates of the computer science program make about $149,866 in their early career. Students borrow a median of $13,900 to complete this degree.
More information about a degree in computer science from University Of California Berkeley
University Of California Los Angeles placed #6 among the best computer science schools. Set in the city of Los Angeles, University Of California Los Angeles is a very large public institution. University Of California Los Angeles graduates 93% of students within six years. About 172 computer science degrees were awarded at University Of California Los Angeles in the most recent year. Graduates of the computer science program make about $63,833 in their early career. Students borrow a median of $16,097 to complete this degree.
See the full computer science program report for University Of California Los Angeles
Duke University landed the #7 spot for computer science this year. This large private not-for-profit university is located in the city of Durham. Roughly 97% of students complete a degree within six years here. Duke University awarded about 63 computer science degrees in the most recent data year. Students who receive their computer science degree from Duke University earn around $133,356 in the first couple years of their career. Students borrow a median of $13,500 to complete this degree.
Get the full computer science details for Duke University
Columbia University In The City Of New York placed #8 among the best computer science schools. This very large private not-for-profit university is located in the city of New York. Columbia University In The City Of New York graduates 96% of students within six years. There were roughly 427 computer science students who graduated with this degree at Columbia University In The City Of New York in the most recent data year. Soon after graduation, computer science degree recipients from Columbia University In The City Of New York generally make around $161,851. Students borrow a median of $20,397 to complete this degree.
Get the full computer science details for Columbia University In The City Of New York
Stanford University came in at #9 for computer science this year. Located in the suburb of Stanford, Stanford University is a very large private not-for-profit university. The six-year graduation rate is 92%. About 506 computer science degrees were awarded at Stanford University in the most recent year. Graduates of the computer science program make about $199,761 in their early career. Typical student debt for the program is $10,399.
Read more about the computer science program at Stanford University
University Of Pennsylvania ranked #10 on our 2027 list of the best computer science schools. Set in the city of Philadelphia, University Of Pennsylvania is a very large private not-for-profit institution. University Of Pennsylvania graduates 96% of students within six years. There were roughly 196 computer science students who graduated with this degree at University Of Pennsylvania in the most recent data year. Graduates of the computer science program make about $120,693 in their early career. Typical student debt for the program is $13,500.
More information about a degree in computer science from University Of Pennsylvania
George Washington University landed the #11 spot for computer science this year. George Washington University is a very large private not-for-profit school located in the city of Washington. About 84% of students finish within six years. George Washington University awarded about 204 computer science degrees in the most recent data year. Soon after graduation, computer science degree recipients from George Washington University generally make around $104,200. Typical student debt for the program is $19,500.
Get the full computer science details for George Washington University
University Of California Davis ranked #12 on our 2027 list of the best computer science schools. Located in the suburb of Davis, University Of California Davis is a very large public university. About 86% of students finish within six years. University Of California Davis awarded about 84 computer science degrees in the most recent data year. Graduates of the computer science program make about $53,749 in their early career. University Of California Davis graduates carry a median of $14,404 in student loans.
Read more about the computer science program at University Of California Davis
Carnegie Mellon University came in at #13 for computer science this year. Carnegie Mellon University is a large private not-for-profit school located in the city of Pittsburgh. Carnegie Mellon University graduates 94% of students within six years. Carnegie Mellon University awarded about 83 computer science degrees in the most recent data year. Graduates of the computer science program make about $171,264 in their early career. Typical student debt for the program is $21,442.
More information about a degree in computer science from Carnegie Mellon University
Georgetown University placed #14 among the best computer science schools. Set in the city of Washington, Georgetown University is a very large private not-for-profit institution. Roughly 95% of students complete a degree within six years here. About 28 computer science degrees were awarded at Georgetown University in the most recent year. Graduates of the computer science program make about $92,974 in their early career. Students borrow a median of $16,007 to complete this degree.
Get the full computer science details for Georgetown University
University Of Southern California landed the #15 spot for computer science this year. This very large private not-for-profit university is located in the city of Los Angeles. The six-year graduation rate is 92%. There were roughly 1,126 computer science students who graduated with this degree at University Of Southern California in the most recent data year. Students who receive their computer science degree from University Of Southern California earn around $134,544 in the first couple years of their career. Students borrow a median of $20,178 to complete this degree.
See the full computer science program report for University Of Southern California
University Of Illinois At Urbana Champaign ranked #16 on our 2027 list of the best computer science schools. This very large public university is located in the city of Champaign. The six-year graduation rate is 85%. About 1,131 computer science degrees were awarded at University Of Illinois At Urbana Champaign in the most recent 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. Students borrow a median of $20,500 to complete this degree.
Read more about the computer science program at University Of Illinois At Urbana Champaign
Stony Brook University landed the #17 spot for computer science this year. This very large public university is located in the suburb of Stony Brook. Stony Brook University graduates 76% of students within six years. Stony Brook University awarded about 252 computer science degrees in the most recent data year. Graduates of the computer science program make about $60,047 in their early career. Students borrow a median of $20,537 to complete this degree.
More information about a degree in computer science from Stony Brook University
University Of Washington Seattle Campus came in at #18 for computer science this year. Located in the city of Seattle, University Of Washington Seattle Campus is a very large public university. About 85% of students finish within six years. About 70 computer science degrees were awarded at University Of Washington Seattle Campus in the most recent year. Computer Science graduates of University Of Washington Seattle Campus earn a median of $155,261 early in their careers. University Of Washington Seattle Campus graduates carry a median of $16,118 in student loans.
More information about a degree in computer science from University Of Washington Seattle Campus
Tufts University placed #19 among the best computer science schools. Located in the suburb of Medford, Tufts University is a large private not-for-profit university. Roughly 94% of students complete a degree within six years here. There were roughly 83 computer science students who graduated with this degree at Tufts University in the most recent data year. Soon after graduation, computer science degree recipients from Tufts University generally make around $105,659. Students borrow a median of $15,500 to complete this degree.
More information about a degree in computer science from Tufts University
Harvard University landed the #20 spot for computer science this year. Set in the city of Cambridge, Harvard University is a very large private not-for-profit institution. The six-year graduation rate is 98%. About 71 computer science degrees were awarded at Harvard University in the most recent year. Graduates of the computer science program make about $152,251 in their early career. Typical student debt for the program is $16,616.
More information about a degree in computer science from Harvard University
University Of Chicago placed #21 among the best computer science schools. University Of Chicago is a very large private not-for-profit school located in the city of Chicago. The six-year graduation rate is 96%. About 243 computer science degrees were awarded at University Of Chicago in the most recent year. Graduates of the computer science program make about $135,918 in their early career. Typical student debt for the program is $15,854.
More information about a degree in computer science from University Of Chicago
Vanderbilt University placed #22 among the best computer science schools. Located in the city of Nashville, Vanderbilt University is a large private not-for-profit university. The six-year graduation rate is 94%. About 91 computer science degrees were awarded at Vanderbilt University in the most recent year. Graduates of the computer science program make about $122,244 in their early career. Students borrow a median of $14,500 to complete this degree.
More information about a degree in computer science from Vanderbilt University
University Of Maryland College Park placed #23 among the best computer science schools. This very large public university is located in the suburb of College Park. University Of Maryland College Park graduates 89% of students within six years. There were roughly 93 computer science students who graduated with this degree at University Of Maryland College Park in the most recent data year. Computer Science graduates of University Of Maryland College Park earn a median of $99,756 early in their careers. Typical student debt for the program is $20,000.
Read more about the computer science program at University Of Maryland College Park
University Of Rochester earned the #24 position for computer science this year. Located in the city of Rochester, University Of Rochester is a large private not-for-profit university. About 85% of students finish within six years. University Of Rochester awarded about 52 computer science degrees in the most recent data year. Soon after graduation, computer science degree recipients from University Of Rochester generally make around $99,878. Students borrow a median of $19,000 to complete this degree.
Read more about the computer science program at University Of Rochester
Purdue University Main Campus came in at #25 for computer science this year. Purdue University Main Campus is a very large public school located in the city of West Lafayette. Purdue University Main Campus graduates 83% of students within six years. About 114 computer science degrees were awarded at Purdue University Main Campus in the most recent year. Soon after graduation, computer science degree recipients from Purdue University Main Campus generally make around $94,786. Typical student debt for the program is $19,375.
More information about a degree in computer science from Purdue University Main Campus
Rest of the Top 50 Computer Science Schools
Not far behind, these schools also delivered a strong computer science education:
Honorable Mentions
Also worth considering for computer science:
- #51 — Southern Methodist University · Dallas, TX
- #52 — University Of California Santa Cruz · Santa Cruz, CA
- #53 — Clark University · Worcester, MA
- #54 — University Of Dayton · Dayton, OH
- #55 — University Of New Haven · West Haven, CT
- #56 — University Of Washington Bothell Campus · Bothell, WA
- #57 — North Carolina State University At Raleigh · Raleigh, NC
- #58 — Stevens Institute Of Technology · Hoboken, NJ
- #59 — Case Western Reserve University · Cleveland, OH
- #60 — University Of Colorado Boulder · Boulder, CO
Other Computer Science Degree Levels
Explore the best computer science schools at other degree levels:
View All Computer Science Rankings >
Notes and References
The ranking above is published by College Factual (MF_RANKING_2025), 2027 edition. The methodology weighs graduation rate, post-graduation earnings, cost, and program quality, drawn primarily from the U.S. Department of Education (IPEDS and College Scorecard).
Ranking method: College Major Top Ranked · 226 schools evaluated.
- The Integrated Postsecondary Education Data System (IPEDS) from the National Center for Education Statistics (NCES), a branch of the U.S. Department of Education (DOE), serves as the core of our data about colleges.
- Some other college data, including much of the graduate earnings data, comes from the U.S. Department of Education’s (College Scorecard).
More about our data sources and methodologies.