Hiring
5 min read
min read

The San Francisco Pay Premium by Engineering Role (2026)

2026-08-12T23:58:36.389Z
The San Francisco pay premium is not one number. It ranges from 15.1% to 0.8% depending on which engineering role you are hiring — and it is smallest for the most senior individual contributors.

A Security Engineer costs 15.1% more in San Francisco than in New York. A Staff Engineer costs 0.8% more, which is to say the same. If you run one geographic adjustment across your whole engineering org, it is wrong in both directions at once.

The premium by role

RoleSF medianNYC medianSF premiumPostings
Security Engineer$235,000$204,250+15.1%283
Machine Learning Engineer$250,000$220,000+13.6%160
Engineering Manager$262,500$240,000+9.4%362
Fullstack Engineer$209,500$192,275+9.0%122
Frontend Engineer$200,000$186,625+7.2%71
Backend Engineer$215,000$201,150+6.9%166
Data Engineer$205,000$193,150+6.1%181
Platform Engineer$215,000$203,000+5.9%172
Senior Software Engineer$215,750$205,000+5.2%803
Staff Engineer$250,000$248,050+0.8%531
2,851 active US postings with a disclosed annual base salary, August 2026.

Security and ML are the outliers

Security Engineers carry the widest gap of any role we measure. The likely reason is supply rather than demand: security engineering has a smaller candidate pool everywhere, and San Francisco's concentration of infrastructure and AI companies competing for that pool bids the number up faster than New York's financial-sector demand does.

Machine Learning Engineers are second at 13.6%, and that one is straightforwardly about who is hiring. The frontier labs are in the Bay Area, they set the top of the market, and everyone else in that market has to price against them.

If you are hiring either role in San Francisco on a New York band, you will lose candidates and you will not know why.

The premium shrinks as IC seniority rises

This is the part most comp models get wrong:

SF premium
Frontend Engineer+7.2%
Backend Engineer+6.9%
Senior Software Engineer+5.2%
Staff Engineer+0.8%

The more senior the individual contributor, the less the city matters. At Staff level the two markets have converged almost completely.

Looking for technical talent?

RFS specializes in technical recruiting — placing software engineers, ML engineers, and product leaders at high-growth startups.

Work with us →  Browse open roles

The reason is that senior IC comp is increasingly set against a national — sometimes global — market rather than a local one. A Staff engineer in New York is being recruited by the same companies as a Staff engineer in San Francisco, and remote-era banding removed most of the geographic adjustment at that level.

But converged medians do not mean converged markets. San Francisco's 90th percentile for Staff Engineers is $361,250 against New York's $300,000 — a 20% gap at the top even while the middle is level. The median tells you what a normal offer looks like; it tells you nothing about what it takes to win a contested candidate.

What this means for your bands

Do not apply one geographic multiplier. A flat 8% SF adjustment overpays Staff engineers by roughly 7 points and underpays Security engineers by roughly 7. Band by role, not by office. Where New York is genuinely cheaper: Security (+15.1%), ML (+13.6%) and Engineering Manager (+9.4%) are the roles where a New York hire meaningfully reduces cost. Where the saving is illusory: at Staff level there is no saving. If you are opening a Staff role and choosing a market on cost, choose on talent density instead — the money is the same.

Where Recruiting from Scratch fits

We place across both markets and every role in this table. Senior Software Engineer is the role we place most often — 55 placements, 14 of them in the last twelve months, at a median base of $186,000. At Staff and Principal level we have placed 21 engineers, 8 in the last twelve months, at a median of $220,000 and up to $325,000.

Across the firm: 300+ placements, 150+ companies, and a candidate database of 2M+ engineers.

Hiring in San Francisco or New York? Tell us the band you are working with and we will tell you where it sits against the live market for that specific role. Talk to Recruiting from Scratch →

Go deeper by role

Frequently asked questions

How much more do engineers cost in San Francisco than New York? Between 0.8% and 15.1% depending on role. Security Engineers carry the widest gap; Staff Engineers are effectively at parity. Which engineering role has the biggest San Francisco premium? Security Engineer, at 15.1% — $235,000 median in San Francisco against $204,250 in New York. Should I use a single geographic pay adjustment? No. A flat multiplier is wrong in both directions — it overpays senior ICs and underpays security and ML engineers. Is Staff Engineer pay really the same in both cities? At the median, yes — 0.8% apart. At the 90th percentile it is not: $361,250 in San Francisco against $300,000 in New York.

Methodology

Figures come from active US job postings with a disclosed annual base salary between $80,000 and $700,000, denominated in USD, deduplicated across job boards, measured on 12 August 2026. Roles are matched on job title and require at least 30 postings in each metro to be included.

Base salary only — equity, bonus and on-target earnings are excluded, which is why these figures read lower than total-compensation numbers on aggregator sites. When you are setting a band, base is the part you are negotiating.

Ready to hire?

Tell us about your open roles and we'll start sourcing within 48 hours.

Learn more from our blog

Visit our blog