Salary

Machine Learning Engineer Salary: Federal Pay Data, Top States, and What an Online AI Degree Costs

Machine learning engineer salary data from BLS: a $120,230 median, a $199,130 top tier, pay by state, and what online AI degrees cost against it.

Machine learning engineer coding at a laptop and two monitors in an open office

Machine learning engineer salary figures come from the closest federal group, data scientists, because BLS has no line for the title itself. Their May 2025 median wage was $120,230 and the mean was $126,800. Pay runs from $67,240 at the 10th percentile to $199,130 at the 90th, and your state can move it by tens of thousands of dollars.

What Does a Machine Learning Engineer Earn?

BLS counts machine learning engineers with data scientists, so these figures cover that wider group rather than machine learning engineers alone. It is the occupation whose duties overlap most: creating, validating, testing and updating models, then explaining the results.

Here are the national May 2025 wages.

  • 10th percentile: $67,240.

  • 25th percentile: $85,660.

  • Median: $120,230, or $57.80 an hour.

  • Mean: $126,800, or $60.96 an hour.

  • 75th percentile: $158,880.

  • 90th percentile: $199,130.

The middle half of the group earns between $85,660 and $158,880. That is a gap of $73,220 inside one occupation, and it is the most useful fact to hold in mind when you compare offers.

For the day-to-day work behind these numbers, see our page on machine learning engineer jobs.

How Do Percentiles Show Experience?

The federal wage survey does not break pay out by years of experience, and we will not invent bands. Percentiles are the honest stand-in, with a catch: they describe everyone in the group at once.

Think of it this way. The 10th percentile is what the lowest-paid tenth earn or less, and the 90th is what the highest-paid tenth earn or more. People early in a career tend to cluster lower in that range, and people with deep experience or scarce skills tend toward the top.

So use the range like this. If you are changing careers, plan around the 25th percentile, $85,660, until a real offer says otherwise. If you already work in software or analytics, the median, $120,230, is a fair first benchmark. The 75th percentile, $158,880, is where strong offers in competitive states start to show up.

Mean is higher than median because a few very high wages pull the average up. When a job post quotes a single number, ask which one it is.

Where Do Machine Learning Engineers Earn the Most?

State is the biggest lever you can see. Here are the states with the highest annual mean wages for the group, with their medians and job counts.

  • Washington: mean $158,040, median $163,350, 9,600 jobs.

  • California: mean $156,000, median $141,590, 39,310 jobs.

  • Maryland: mean $144,080, median $136,370, 3,340 jobs.

  • District of Columbia: mean $142,580, median $126,490, 2,680 jobs.

  • New Jersey: mean $138,590, median $135,280, 6,430 jobs.

  • New York: mean $137,690, median $130,460, 23,970 jobs.

  • Massachusetts: mean $136,460, median $131,750, 9,420 jobs.

  • Virginia: mean $134,590, median $126,430, 8,920 jobs.

Washington also has the highest median, $163,350. At the low end, Mississippi has a median of $69,490, North Dakota $81,900 and Louisiana $78,760.

Cost of living matters before you chase the top. Rent and taxes differ by state, and a higher wage in an expensive metro can feel smaller than a lower wage elsewhere. If you can work remotely for an employer in a high-pay state, ask whether your pay follows your location.

Where Are the Jobs?

Pay only helps if openings exist near you, or in a role you can do from home. BLS counted 262,440 jobs in the group nationally.

California has the most with 39,310. Texas follows with 25,860, New York with 23,970, Pennsylvania with 13,810 and North Carolina with 11,430.

Notice how the job list differs from the pay list. Texas has a median of $122,090, near the national figure, and Pennsylvania’s is $106,850. North Carolina’s is $119,090. Washington pays the most and has fewer jobs than any of them. California is the rare state that does both.

If you want the most openings, look at the job-heavy states. If you want the highest pay, look at the pay-heavy ones, and be prepared to compete for fewer seats.

What Else Moves Pay?

Some things we can show from the data, and some we cannot, so here is the split.

We can show the spread. Inside California, the 10th percentile is $77,480 and the 90th is $224,920. Inside Texas, they are $64,540 and $170,780. A top state raises the ceiling and the floor, but a wide gap remains.

We can show that the title is a family, not a single job. Employers may file model-building work under data scientist, software developer or research scientist. Pay differs by group, which is why the same skills can come with different offers. Our AI engineer salary page shows the other group.

We cannot show pay by employer type or degree. The federal data we use does not break it out, so we do not guess. If an employer type matters to you, check postings for it.

Does Pay Differ by Degree?

BLS does not report pay by degree for this group. What we can say is what the degrees ask of you and what they cost.

BLS lists a bachelor’s degree as the typical entry education for the data scientist group, and says graduate school is not required. Online master’s programs teach machine learning in more depth, and many working engineers choose one to move into model work.

A degree is not a salary ticket. It is one input, next to experience, projects and where you live. Price it like an investment with an uncertain return, and keep the cost low enough that a middling outcome is still fine.

What Does an Online AI Degree Cost?

Prices vary more than pay does. These are totals from our program data for online AI master’s programs, tuition only unless noted.

  • The University of Texas at Austin: $9,990.

  • University of Colorado Boulder: $15,750, with performance-based admission.

  • Florida Atlantic University: $24,000.

  • West Virginia University: $24,150 for 30 credits at $805 each, before fees.

  • Saint Louis University: $24,300.

  • Boston University: $25,000 for several master’s options.

  • Purdue University: $28,500 for 30 credits at $950 each.

  • University of Illinois Chicago: $32,256 for 36 credit hours.

  • George Washington University: $37,500.

  • Drexel University: $63,000 for 45 quarter credits at $1,400 each, before fees.

  • Columbia University: $81,000.

To compare prices on one page, use our cheapest online AI degrees list. For master’s programs only, see the online master’s in AI ranking, and for programs that teach machine learning, the machine learning degrees ranking.

Capitol Technology University’s online PhD in Machine Learning costs $58,800 and is built for working professionals. Bachelor’s options include Dakota State University at $44,856 total.

How Does Degree Cost Compare With Pay?

Put a price next to a wage and the question gets concrete. The University of Texas at Austin’s total of $9,990 is less than a year at the 10th percentile, $67,240. Drexel’s $63,000 is close to that whole year of pay. Columbia’s $81,000 is more than the annual wage at the 10th percentile, and below the median wage of $120,230.

None of that is a payback period, because you do not know your own wage yet. But it tells you how much risk each price carries.

A lower price gives you more room. If you reach the median, even a modest degree pays for itself in a short time. If you land at the 25th percentile, a program like Texas at $9,990 or Purdue at $28,500 is easier to carry than Columbia at $81,000.

Two more costs sit outside the sticker. Many schools list per-credit tuition before fees, so the bill can be higher. And if you do not have the math or programming a program expects, you may need extra courses first. West Virginia University, Purdue and Drexel all list prerequisites, and Colorado Boulder uses performance-based admission with no bachelor’s required.

For programs that do not ask for the GRE, see the no-GRE master’s list.

What Do Wage Levels Look Like by the Hour?

Hourly figures help if you are comparing a contract role or a part-time schedule against a salary. The group’s median is $57.80 an hour and its mean is $60.96. In California the median is $68.07 an hour, in Texas $58.70 and in Pennsylvania $51.37.

Those are straight conversions of annual wages, so they do not include bonuses, equity or benefits. Federal wage data counts pay, not total compensation. If an offer includes stock or a bonus, ask for the dollar amounts in writing before you compare.

Why Do Offers for the Same Title Differ So Much?

Two postings with the same title can sit at opposite ends of the range, because the title says little about the work. One employer may want someone to maintain a single model in production, while another wants a person who designs new ones. Pay follows scope, location and what the team can afford.

When an offer comes in, ask what the first year of work looks like, who you report to and whether the role is on a research team, a product team or a data team. Then place the base pay against your state’s percentiles above.

How Fast Is the Field Growing?

BLS projects data scientist employment to grow 35 percent from 2025 to 2035, which it calls much faster than average. That is about 95,400 more jobs on a base of 275,600, with about 24,800 openings a year.

Growth is direction, not a guarantee. Projections are estimates built on assumptions, and BLS revises them. They also do not say who gets hired, and a posting can ask for a degree or experience you do not yet have.

Still, a growing group is easier to enter than a shrinking one, and that is the best reason to look at it.

What Does a Salary Number Not Tell You?

One figure hides a lot, so keep these in mind.

It does not tell you how long it takes to reach a given level. BLS reports medians for everyone in the group, not for new hires or for people two years in.

It does not tell you about the work. A machine learning role can mean tuning models, building pipelines, cleaning data or presenting results. Employers weight those differently.

It does not tell you about stability. A single company can hire or lay off regardless of national growth.

It does not tell you what your degree adds. We do not guess that either.

What it does tell you is the market’s range. If offers you see sit at the low end of it, you can ask why. If they sit well above, you can ask what the employer expects in return.

How Do You Use These Numbers?

Plan around the range, not the midpoint. If you are early in your career, plan for the lower half. If you have experience, plan for the upper half.

Check your state against the table above, then read three real postings in your area for the title you want and see which federal group they resemble.

Last, price your education against that range. Our guide on how to become an AI engineer lays out the degree paths, and the machine learning engineer jobs page covers what the work involves and how to get hired.

Data Scientists Pay by State

In May 2025, the Bureau of Labor Statistics reported a median annual wage of $120,230 for data scientists nationwide, with the middle half earning between $85,660 and $158,880. About 262,440 people held these jobs.

Washington had the highest published state median at $163,350, and Mississippi the lowest at $69,490. The table lists every state where BLS publishes a median for this occupation.

Data Scientists, United States $120,230median/yr ($57.80/hr)
$67,240 $199,130
Box shows the 25th to 75th percentile. Line spans the 10th to 90th percentile. BLS OEWS, May 2025
Highest Median Annual Wage by State: Data Scientists

BLS OEWS, May 2025

Data Scientists: Annual Wages by State
StateMedian10th Percentile90th PercentileJobs
Washington$163,350$79,930$220,0409,600
California$141,590$77,480$224,92039,310
Maryland$136,370$77,930$213,2703,340
New Jersey$135,280$80,720$203,9506,430
Massachusetts$131,750$81,030$206,2209,420
New York$130,460$73,330$214,08023,970
Minnesota$128,800$65,730$179,6404,020
Vermont$127,070$76,570$160,430200
District of Columbia$126,490$89,750$209,7302,680
Virginia$126,430$76,420$207,8908,920
Connecticut$126,340$75,700$204,6801,760
Oregon$125,990$78,110$206,5502,140
Texas$122,090$64,540$170,78025,860
North Carolina$119,090$65,970$172,83011,430
Colorado$117,400$74,470$189,6306,280
Florida$115,820$63,080$174,14010,240
Arkansas$109,390$67,090$169,110530
Utah$108,090$60,680$167,8904,360
Arizona$107,240$65,200$161,7304,560
Pennsylvania$106,850$63,340$162,29013,810
Wisconsin$106,680$76,300$168,8104,370
Illinois$106,560$68,810$168,88010,520
Georgia$104,340$67,750$170,0109,260
Alabama$103,120$59,130$161,5901,740
Ohio$102,630$61,710$160,6506,100
Rhode Island$102,440$75,310$158,8201,160
Hawaii$102,130$77,270$172,870300
New Hampshire$100,620$73,480$155,0201,100
Michigan$100,590$60,830$162,6707,360
Montana$100,490$67,120$167,150220
Tennessee$100,330$60,200$156,1602,790
Nevada$98,540$57,150$164,1101,680
Nebraska$98,230$66,230$133,1401,980
Kansas$98,130$60,520$154,990490
Missouri$97,090$58,960$151,3804,730
South Dakota$96,150$67,510$145,510220
New Mexico$95,850$49,990$133,660560
Iowa$95,830$56,070$146,7002,300
South Carolina$91,990$61,600$156,0003,750
Kentucky$91,760$61,990$156,4801,540
Indiana$91,470$58,750$141,2503,580
Maine$90,880$60,280$138,5301,210
Idaho$89,380$63,980$169,0101,350
Oklahoma$86,310$58,690$145,5801,900
West Virginia$85,090$57,500$125,100390
Alaska$84,110$51,550$138,400230
North Dakota$81,900$59,030$126,710210
Louisiana$78,760$53,050$128,2101,300
Mississippi$69,490$43,940$125,990440
BLS OEWS, May 2025

Frequently Asked Questions

How Much Does a Machine Learning Engineer Make?

What Is the Starting Salary for a Machine Learning Engineer?

Which State Pays Machine Learning Engineers the Most?

Do Machine Learning Engineers Make More Than Software Developers?

Is an Online AI Master's Worth the Cost for Machine Learning Pay?

How Many Machine Learning Jobs Are There?

Sources

All sources retrieved .

Next Step

See the Best Machine Learning Degrees

Compare the programs we ranked on cost, outcomes, online flexibility, program depth, and track record.