Drop one level below the 38 broad majors and the pay spread sharpens. The federal data tracks earnings not just for fields like Engineering or Health, but for the specific programs inside them, each tied to a four-digit course code. Rank all 314 programs that report earnings by what graduates make four years out, and one field stands apart: Law graduates post a median of $142,745, more than double the typical program and the only field to clear $130,000. Below it, the list turns narrow and technical fast, with engineering subfields taking 7 of the top 15 spots and only a handful of other fields breaking in.
Which Degree Program Pays the Most
Law, and it is not close. Graduates of law programs earn a median of $142,745 four years after completion, more than $20,000 ahead of the next field and more than double the $62,122 median across all programs. After Law, the top of the list is almost entirely engineering and quantitative fields, where measurable technical skills feed directly into well-paid roles.
The Highest-Paying Programs, Ranked
Each program below is ranked by median earnings four years after completion, the national figure from the federal College Scorecard. Programs sit one level below the 38 broad majors, defined by a four-digit course code, so each row is a specific discipline rather than a whole field.
| Rank | Program | Field | Median earnings (4yr) |
|---|---|---|---|
| 1 | Law | Legal | $142,745 |
| 2 | Operations Research | Engineering | $122,531 |
| 3 | Nuclear Engineering Tech | Eng. tech | $120,399 |
| 4 | Mathematics and Computer Science | Interdisciplinary | $118,943 |
| 5 | Marine Transportation | Transportation | $117,011 |
| 6 | Pharmacy | Health | $116,539 |
| 7 | Naval and Marine Engineering | Engineering | $114,055 |
| 8 | Computer Engineering | Engineering | $109,015 |
| 9 | Computer Science | Computing | $107,009 |
| 10 | Real Estate Development | Architecture | $106,061 |
| 11 | Systems Engineering | Engineering | $105,185 |
| 12 | Computational Science | Interdisciplinary | $104,864 |
| 13 | Petroleum Engineering | Engineering | $104,823 |
| 14 | Mechatronics and Robotics | Engineering | $101,649 |
| 15 | Mining Engineering | Engineering | $101,390 |
Law leads, then a tight engineering pack
Median earnings four years after completion, top eight programs
Read past the top row and a pattern sets in. Law sits alone above $130,000, then a dense engineering and quantitative pack runs from $122,531 down to $101,390 across the next 14 rows. The list rewards narrow technical fields with clear professional pipelines, and it does so consistently: from rank two onward, every program but a few is either an engineering discipline or a quantitative field built on the same skills.
What the Top of the List Has in Common
The top is not a random set of high-paying fields. It is one professional degree at the very top and then engineering nearly all the way down. Of the top 15 programs, 7 are engineering subfields and one more is engineering technology, leaving only four seats for everything else: Law, Marine Transportation, Pharmacy, and Real Estate Development. The pattern is that pay concentrates in fields with licensed credentials or hard technical skills, not in broad popular majors.
This is why the program view matters more than the major view. The broad Engineering major averages around $93,000, but inside it the programs range from operations research at $122,531 down past the $80,000 mark. Averaging them into one major number erases the spread that actually decides a graduate's pay. The same is true the other way: a field like computer science, sometimes folded into a larger STEM bucket, stands on its own at $107,009 with over 1,000 colleges offering it, by far the most accessible program near the top.
How We Measured This
Each program is a four-digit federal course-code grouping, one level below the 38 broad majors. The earnings figure is the national median earnings four years after completion from the federal College Scorecard, pooled across every college that offers the program. We ranked all 314 programs that report a non-zero earnings figure and took the top 15. No weighting by enrollment is applied, so a small program counts the same as a large one in the ranking. Full method and source vintages are on the methodology and data sources pages.
What the Numbers Do Not Say
A median is a midpoint, not a promise, and the spread inside a program can be enormous. Law is the clearest case: its median is $142,745, but graduates at the 25th percentile earn $74,367 while those at the 75th earn $296,764, a fourfold range inside a single field. A program ranking also says nothing about how many seats exist or how hard they are to win. Nuclear engineering tech ranks third, yet only 15 colleges offer it and barely 261 graduates complete it nationally, so the high median reflects a tiny, selective pipeline rather than a broad opportunity. The earnings also reflect who enrolls and where they work, not the teaching alone.
What This Means for Students
Pick the program, not just the major. The broad-major averages that fill most college guides hide ranges this wide, so a student choosing inside engineering or computing should look at the specific program's pay rather than the field average. The four-year earnings on this list are a starting signal, not a guarantee, and they pair best with a look at where the field actually leads. Run a top program through the Career Path Explorer to see the roles and growth behind the pay before committing, and weigh it against the broader ranking of all 38 majors by earnings to see how much the program view adds.
What This Means for Career-Changers
A high program median is only useful next to its cost and its access. Law leads the list, but it requires a professional degree most career-changers reach through years and substantial expense, while computer science sits ninth at $107,009 and is offered by more than 1,000 colleges, a far shorter path to comparable pay. Before treating a top-of-list field as a goal, run the cost against the expected earnings in the ROI Calculator to see whether the premium survives the price of getting in. The fields that pay the most are rarely the easiest to enter, and for someone retraining, access and time often matter more than the last $10,000 of median pay.