ML engineer salary
ML engineer salary in Mexico City
Percentile salary data for ml engineer roles in Mexico City, MX, by seniority. Senior-level figures include total compensation where regionally applicable. Figures are shown in USD by default, with the local MXN amount alongside; use the currency switcher to change the display.
Mexico City carries a cost-of-living index of 43 on the Numbeo and Mercer blended scale where New York City equals 100, a very low cost of living that is far below New York City. The figures below are nominal pay in MXN; read them alongside that index when comparing Mexico City with other markets.
Median pay by seniority
Median pay by seniority
Junior
$23,606 (local: MX$407,000)
Base p50
Mid
$36,308 (local: MX$626,000)
Base p50
Senior
$52,664 (local: MX$908,000)
Base p50
Staff
$145,116 (local: MX$2,502,000)
Total comp p50
Distribution
Percentile distribution
10th, 25th, 50th, 75th, and 90th percentile by seniority, shown in the local currency (MXN). The detailed table below defaults to USD.
Salary percentiles by seniority, in MXN. Junior: 10th percentile MX$264,000, 25th MX$334,000, median MX$407,000, 75th MX$509,000, 90th percentile MX$631,000. Mid: 10th percentile MX$407,000, 25th MX$513,000, median MX$626,000, 75th MX$782,000, 90th percentile MX$970,000. Senior: 10th percentile MX$590,000, 25th MX$744,000, median MX$908,000, 75th MX$1,134,000, 90th percentile MX$1,407,000. Staff: 10th percentile MX$1,801,000, 25th MX$2,152,000, median MX$2,502,000, 75th MX$3,378,000, 90th percentile MX$4,503,000.
Detailed figures
| Seniority | 10th | 25th | Median | 75th | 90th | Comp | Sample |
|---|---|---|---|---|---|---|---|
| junior | $15,312 | $19,372 | $23,606 | $29,522 | $36,598 | Base | 280 |
| mid | $23,606 | $29,754 | $36,308 | $45,356 | $56,260 | Base | 420 |
| senior | $34,220 | $43,152 | $52,664 | $65,772 | $81,606 | Base | 180 |
| staff | $104,458 | $124,816 | $145,116 | $195,924 | $261,174 | Total comp | Not reported |
Source: Levels.fyi 2025 + US BLS OES May 2024 (SOC 15-1299.09) (2025) https://www.levels.fyi/t/software-engineer/focus/ml-ai, cost-of-living index 43 (NYC=100)
How pay grows with seniority
Each step compares the median (50th percentile) of one tier with the next, using the figures in the table above for ml engineer roles in Mexico City.
- Moving from senior to staff, the median rises roughly 176% in Mexico City.
- Across the full ladder, the highest tier median is about 6.1x the entry tier for ml engineer roles here, before negotiation and individual level calibration.
Take-home
After-tax pay and per-month take-home
Headline salaries are gross. What lands in your account after income tax and mandatory contributions is what actually pays the rent, so here is the estimated split on the Mexico City senior median.
Gross / year
MX$908,000
Senior median (50th pct)
Take-home / year
MX$679,296
75% of gross
Take-home / month
MX$56,608
from MX$75,667 gross
Effective rate
25%
tax + contributions
On a senior median of MX$908,000 in Mexico City, an estimated MX$228,704 goes to income tax and mandatory contributions, leaving roughly MX$679,296 take-home, or about 75% of gross.
That deduction breaks down as roughly MX$206,004 in income tax and MX$22,700 in social contributions at this income level in Mexico.
In monthly terms that is about MX$56,608 net from MX$75,667 gross a month, the figure that actually lands in a ml engineer's account before pension or benefit elections.
Affordability
Is this a good salary in Mexico City?
"Good" depends on what the city costs. Type your own figure below to see the estimated take-home and how far it goes against Mexico City's single-person cost of living, or read the verdict on the senior median first.
Enter an annual gross figure to see the estimated take-home and how it compares with Mexico City's single-person cost of living. Estimate based on Mexican SAT 2025 (ISR) + IMSS.
Take-home / year
MX$679,296
75% of gross
Take-home / month
MX$56,608
from MX$75,667 gross
Est. monthly living cost
MX$42,259
incl. ~MX$31,138 rent
Left over / month
MX$14,349
25% of take-home
manageable in Mexico City
On MX$908,000 gross, your estimated take-home covers typical single-person living costs with a modest margin left, with rent taking a larger share of take-home than the 30% guideline. Rent is about 55% of monthly take-home here.
Reference estimate for a single filer with no dependants, using published 2025/2026 statutory bands and a cost-of-living index where New York City equals 100. It is not tax advice or a personalised calculation. Real take-home and living costs vary with filing status, pension elections, allowances, and where exactly you live.
Against Mexico City's single-person cost base, a senior ml engineer on this median is manageable: the estimated take-home of MX$56,608 a month covers typical single-person living costs with a modest margin left, with rent taking a larger share of take-home than the 30% guideline.
Typical single-person monthly costs in Mexico City, including roughly MX$31,138 for a one-bedroom rental, come to about MX$42,259, which would leave around MX$14,349 discretionary each month at the median.
Rent works out at about 55% of monthly take-home here, against the conventional 30% guideline often used as a reference point.
The verdict is descriptive, not advice: it compares one number against a modelled cost base. Living costs and tax both vary with circumstances this page cannot see.
What drives the range
Why the same job title in Mexico City can span the spread shown above. These are descriptions of the data, not guidance on what to ask for.
- Base versus total compensation
- Senior and staff figures here are reported as total compensation, so they fold in bonus and equity rather than base salary alone. The mid and junior rows are base only, which is part of why the step up between mid and senior looks larger than the raw seniority multiplier.
- Cost of living
- Mexico City carries a cost-of-living index of 43 on a scale where New York City is 100. Local pay levels track local market rates and tech employer presence, not the cost-of-living index directly, so a lower index does not translate one-for-one into lower real pay.
- Role premium
- ML engineer pay is anchored to occupation-specific medians from the underlying labour statistics, then adjusted for the local tech market. Specialisation, scarcity of the skill set, and the mix of employers hiring for it in Mexico City all feed the published range.
Cost-of-living-adjusted pay
Mexico City has a cost of living about 57% lower than New York City. Because the two report in different currencies, compare the percentile tables directly rather than the headline numbers.
Real-terms figures divide the nominal median by the city cost-of-living index (New York City = 100). They are a rough purchasing-power comparison, not a take-home or after-tax calculation.
Methodology and sources
The mid-level median anchors to occupation medians from the sources below, then scales by the documented seniority multipliers (junior 0.65x, mid 1.00x, senior 1.45x, staff 2.05x) and the local tech-pay level for Mexico City. The 10th, 25th, 75th, and 90th percentiles are fitted from the median using the cross-sectional dispersion that the US Bureau of Labor Statistics reports for software occupations. Cost-of-living indices blend Numbeo 2025 and Mercer 2025.
Primary source for this slice: Levels.fyi 2025 + US BLS OES May 2024 (SOC 15-1299.09) (2025). https://www.levels.fyi/t/software-engineer/focus/ml-ai
Reference data only. Reported medians describe a market; individual pay varies by employer, level calibration, and negotiation. Nothing here is financial advice.
More ML engineer salary in other cities
Other roles in Mexico City
Compare ml engineer pay with adjacent roles in the same market.