In a growing number of US states you cannot ask an engineering candidate what they earn today, and in many of the rest it is still a weak question. Ask what they need to make the move instead, publish your range up front, and set the offer from the value of the role, not from their last employer's pay decisions. If the candidate volunteers their current number, you can usually hear it, but it should not be the anchor.
Founders ask me this in almost every first-engineer search. The instinct is understandable. You have a small budget, you do not want to overpay, and the current salary feels like the cheapest piece of market data you can get. It is cheap. It is also often illegal to request, and even where it is legal it tends to give you the wrong number.
This is not legal advice. Employment law varies by state and city, and it changes often. Check with an employment lawyer or your payroll provider before you change your interview script.
What the law generally says now
Salary history bans began appearing at the state level in the late 2010s and have kept spreading. California's version sits in Labor Code section 432.3: an employer may not seek a candidate's salary history, may not rely on it to decide whether to hire or what to pay, and must give the pay scale for the role when a candidate asks. New York, Massachusetts, Colorado, Washington and many others have their own versions, and several cities add rules on top of the state ones. In 2026 Virginia and Maine joined the list, according to Foley and Lardner's roundup of new pay laws. SHRM keeps a list of jurisdictions banning salary history questions that is a reasonable starting point.
Three details catch founders out.
The rule follows the candidate, not your office
If you are a Delaware company with no office, hiring a remote engineer who lives in California, the California rules are the ones to plan around. Remote hiring means you inherit the strictest state in your pipeline. Most early teams simplify by applying the strictest rule to everyone.
Your recruiter and your application form count
A recruiter asking on your behalf is still you asking. So is an application form with a "current salary" field, or a screening tool that collects it by default. I have seen founders with a clean interview script and a job board form that asked the banned question on every application. Audit the forms, not just the people.
Volunteered information is usually treated differently
In several states, if a candidate offers their current pay without being prompted, you may consider it. That is not the same as nudging them with "and roughly where are you today?" The safe habit is simple: do not prompt, and if they share it, do not make it the anchor of the offer.
Why the question gives you a bad number anyway
Even in a state with no ban, current salary is a poor input for a startup engineering offer.
It measures someone else's budget. A senior engineer at a bank and a senior engineer at a ten-person agency can have similar skills and very different pay. Their last salary tells you about their last employer, not about what the role on your team is worth.
It ignores the full package. Base salary at a large company often leaves out annual bonus and stock that vests every quarter. A candidate who says "I make 160" may be walking away from 220 in total pay. If you anchor on 160, you will lose them at the offer stage and not know why.
It punishes the people you most want. Engineers who were underpaid at their last job, often because they joined early somewhere or negotiated less, get carried forward at the same discount. That is the pattern these laws exist to stop, and it is also how you end up with a team whose pay makes no sense a year later when they compare notes.
What to ask instead
You still need to know early whether you can afford someone. These questions get you there without the legal risk and with a more useful answer.
- "What would you need to make this move?" This asks for their expectation, which is generally allowed and is the number that actually matters for closing.
- "Our range for this role is X to Y. Does that work for you?" If you have already published a pay range in the job post, you can confirm fit in the first call and avoid three interview rounds that end in a declined offer.
- "What are you giving up by leaving now?" This surfaces unvested stock or a bonus due soon, which you can address with a one-time payment instead of a permanent salary bump. I covered how to size that in sign-on bonuses and clawbacks.
- "How do you weigh cash against equity at this stage?" The answer tells you more about fit with an early company than any salary figure.
How to set the number without their history
Decide the range before the first interview. My method for a first senior hire is three data points: one compensation tool or survey, one conversation with a founder who hired the same level in the last six months, and the expectations you have heard from finalists in your own pipeline. If they disagree, take the middle. I go through the full calculation in what to pay your first engineer.
Then write down why the offer is what it is: level, scope, location policy, and the range it falls in. That note protects you if a candidate or a later employee asks how pay was set, and it keeps your second and third engineering offers consistent with the first.
What I see go wrong
The most common mistake is not the illegal question itself. It is the founder who skips setting a range, asks for current pay to "get a feel", and then builds every offer on whatever the candidate said. Six months later the two engineers doing the same job are 30 percent apart in pay, and the gap traces back to two different former employers. That conversation is expensive, and it usually happens right after one of them gets a recruiter call.
The second is assuming the rule does not apply because the company is small. Some state rules have size thresholds; many do not. Assume it applies until a lawyer tells you otherwise.
If you are hiring your first senior engineer and want a second opinion on the range, the script and the offer, book a call and we can walk through it.
FAQ
Can I ask an engineering candidate their salary expectations?
In most places, yes. Asking what someone wants to earn is generally treated differently from asking what they earn now. Check the rules for the candidate's state, and keep the question about the future, not the past.
What if the candidate tells me their current salary anyway?
In several states you may consider information a candidate volunteers without prompting. Do not treat it as the anchor. Base the offer on your range and the role, and note that you did.
Do salary history bans apply to contractors?
It depends on the jurisdiction. Some laws cover applicants for employment only. If you are hiring a contractor who may convert, ask the same expectation-based questions and you avoid the issue entirely.
Does a small startup have to follow these rules?
Often yes. Some laws apply only above a headcount threshold, but many apply to all employers. Confirm with counsel for each state where your candidates live.