There is no single federal law that bans employers from asking about your salary history. Whether the question is legal depends entirely on where you live and work: dozens of states, cities, and counties have passed "salary history bans" that make it illegal for an employer to ask about, or rely on, your past pay when setting a job offer. If you're not covered by one of those laws, an employer can generally ask - but you can still decline to answer or redirect the conversation, and you have more leverage than most applicants realize.
Why This Is a Patchwork, Not One National Rule
Federal employment law - primarily Title VII of the Civil Rights Act of 1964, enforced by the Equal Employment Opportunity Commission (EEOC) - prohibits discrimination in pay and hiring based on race, color, religion, sex, and national origin. Title VII also requires employers to reasonably accommodate an employee's sincerely held religious beliefs unless doing so would cause undue hardship, and the Supreme Court's 2020 decision in Bostock v. Clayton County confirmed that Title VII's ban on sex discrimination covers discrimination based on sexual orientation and gender identity. But none of this federal framework directly addresses whether an employer can ask what you currently earn or previously earned. Congress has never passed a nationwide salary-history ban, so the question of whether asking is legal is left almost entirely to state and local lawmakers.
That gap matters because salary history questions can perpetuate pay gaps. If a worker was underpaid at a prior job - often because of discrimination - and a new employer anchors the next offer to that old number, the underpayment follows the worker from job to job. Lawmakers in many states saw this as a mechanism that locks in historical pay disparities along lines of sex and race, which is why the wave of salary-history bans emerged over the past decade as a policy response, separate from (and in addition to) Title VII's discrimination protections.
What Salary History Bans Actually Do
Salary history bans generally do two things, though the exact scope varies by jurisdiction:
Prohibit the employer from asking. In many covered jurisdictions, an employer (or its recruiter, staffing agency, or background-check vendor) legally cannot ask you, your current employer, or a former employer what you make or made.
Prohibit relying on salary history even if it's volunteered. Some laws go further: even if you offer up your salary history unprompted, the employer generally cannot use it to set your pay for the new role. A few jurisdictions allow employers to verify a number you volunteer, but still bar using it to justify a lower offer than the employer would otherwise make.
These laws typically apply to job applicants (and sometimes current employees seeking promotions or transfers) and generally do not prevent you from discussing your salary expectations, desired range, or your own compensation history if you choose to share it voluntarily and the local law permits that. The distinction between "employer asks" and "applicant volunteers" is one of the most important - and most inconsistent - details across different laws, so what's allowed in one city may not be allowed in the next one over.
Where These Bans Exist - It Varies by State
This is the part that trips people up: salary-history bans are not uniform, and this varies by state (and sometimes by city or county within a state). Since roughly 2017, a growing number of states and major cities have adopted some form of ban, generally covering public employers, private employers, or both. Some states ban the question outright for all employers; others limit the ban to state or municipal government employers only; some apply only within certain cities (for example, a state might have no statewide ban, but its largest city has its own local ordinance). Coverage, exceptions, and enforcement mechanisms differ from one law to the next, and legislatures continue to add or amend these statutes, so a rule that applied last year in a given city may have changed.
Because the legal landscape shifts and is genuinely jurisdiction-specific, the single most reliable way to know your rights is to check your own state labor department or state legislature's website, and your city or county government website, for the current status of any salary-history or pay-transparency law where the job is actually located (not necessarily where the company is headquartered - many of these laws apply based on where the position is or where the applicant resides). Do not assume a rule you read about for one state or city applies where you are.
Pay Transparency Laws Are a Related but Separate Trend
Alongside salary-history bans, many states and cities have separately adopted pay-transparency laws. These typically require employers to disclose a salary range in job postings, or to provide the pay range to an applicant upon request or after an initial interview. Pay-transparency laws address a different problem than salary-history bans - they're aimed at giving applicants more information up front, rather than preventing employers from asking about the past - but the two categories often travel together in the same legislative packages, and some jurisdictions have adopted both. Again, whether a posting near you must include a pay range, and what triggers that requirement, depends entirely on the specific state or city law in effect where the job is located.
What About Noncompete Agreements?
Salary history questions often come up around the same stage of hiring as noncompete agreements, so it's worth understanding that landscape too, since it's similarly state-by-state. Noncompete agreements - contracts that restrict where or for whom you can work after leaving a job - are treated very differently depending on the state. Some states ban or sharply limit noncompetes for most workers (particularly lower-wage workers), while others enforce them fairly broadly as long as the restriction is reasonable in scope, geography, and duration. The Federal Trade Commission attempted to adopt a nationwide rule banning most noncompetes for workers, but that rule has faced legal challenges and its status has been in flux rather than settled, uniform law across the country. Until there is a final, enforceable, nationwide rule, whether your noncompete is valid continues to depend primarily on your state's law. If you're asked to sign a noncompete, read it carefully, and understand that its enforceability is genuinely a state-by-state question - do not assume it is either automatically valid or automatically void.
At-Will Employment: Why This Matters for How You Respond
Most U.S. workers are "at-will" employees, meaning either the employer or the employee can end the employment relationship at any time, for almost any reason, or no reason - with important exceptions. An employer cannot fire you (and, by extension, generally cannot refuse to hire you) for a reason that violates anti-discrimination law, for reporting illegal conduct, for exercising a legally protected right, or for other reasons state law recognizes as "wrongful termination" exceptions to at-will status. Practically, this means that if a salary-history ban applies in your jurisdiction and an interviewer asks the illegal question anyway, you are protected from being penalized simply for declining to answer or for pointing out that the question isn't permitted - refusing to answer an unlawful question is not a legitimate, non-discriminatory reason to reject you. That said, proving that a rejection was caused by your refusal to answer (as opposed to some other, legitimate reason) can be difficult in practice, which is part of why documentation matters, discussed below.
How to Respond If You're Asked
Whether or not a ban applies where you're interviewing, you generally have options beyond simply providing a number:
Redirect to your target range. A calm, professional response is often the most effective: "I'd rather focus on the value I'd bring to this role. Based on my research into this position and market, I'm looking for a range of [X to Y]." This keeps the conversation forward-looking rather than anchored to a past (possibly underpaid) number.
Ask about the budgeted range for the role instead. Turning the question around - "What's the budgeted salary range for this position?" - is a reasonable and increasingly normalized response, especially in jurisdictions with pay-transparency requirements.
Know your jurisdiction before the interview. If you've confirmed that a salary-history ban applies where the job is located, you can simply and politely note that: "I understand that questions about salary history aren't something employers ask here - I'm happy to talk about my expectations for this role instead." You don't need to be confrontational; most trained recruiters are already aware of the law.
Decide in advance whether you'll volunteer the number. Even where asking is banned, you're generally free to volunteer your history if you choose to (though as noted above, some jurisdictions still restrict how the employer can use a number you volunteer). There's no obligation to share it, and declining is not a red flag.
Document what happened. If you believe you were asked an unlawful question, or that you were rejected or treated differently after declining to answer or after pointing out the law, write down the date, who asked, the exact wording if you can recall it, and any follow-up communications (emails, text messages, rejection notices). Save job postings, offer letters, and any pay-range disclosures. This kind of contemporaneous record is often what makes or breaks a later complaint.
If You Think Your Rights Were Violated
If you believe a salary-history question, a pay-transparency violation, or a related hiring decision crossed into illegal territory, your first stop is usually your state labor department or state civil rights/human rights agency, many of which are the designated enforcement body for these state-specific laws and can tell you the applicable deadline for filing a complaint (deadlines vary and can be short, so don't wait). If the issue also involves discrimination based on a protected characteristic like sex, race, religion, or national origin, the EEOC is the federal agency that handles Title VII complaints, and there are strict time limits (often a matter of months) for filing an EEOC charge, so acting promptly is important. Because enforcement mechanisms differ so much by law and by state, checking with the relevant state agency early - even just to ask what the process looks like - costs nothing and preserves your options.
When It's Worth Talking to a Lawyer
Most people navigate a single awkward interview question without ever needing legal help - and for a one-off question, the practical responses above are usually enough. It's worth a consultation with an employment lawyer if you were rejected shortly after declining to answer or after asserting your rights, if a recruiter or employer pushed back aggressively or retaliated, if you're unsure whether a noncompete you were asked to sign is enforceable in your state, or if you're dealing with a pattern that looks like it targeted you based on a protected characteristic. Many employment lawyers offer free or low-cost initial consultations, and getting a quick read on your specific facts and your specific state's law is often worth far more than trying to guess from general information - because, as this whole topic illustrates, the actual answer really does depend on where you are.
The law behind your rights at work
Background checks are governed by the federal Fair Credit Reporting Act, plus anti-discrimination law and state ban-the-box rules.
Your state and city matter. Federal law is the floor — many states and cities require higher pay, more leave, and broader protections. Always check your state’s rules (and any local ordinances) in addition to the federal laws above. This is general legal information, not legal advice.
Frequently asked questions
Can an employer ask about my salary history?
It depends on where the job is located. There is no federal law banning the question, but a growing number of states, cities, and counties have passed laws that make it illegal for an employer to ask about your current or past pay, or to rely on it in setting an offer. Where no such law applies, an employer can generally ask, though you're free to decline to answer.
Is it legal to ask about salary history?
Whether it's legal is a state-by-state (and sometimes city-by-city) question, not a national rule. Many jurisdictions ban the question outright for at least some employers, often public employers or all employers within that city or state. Check your state labor department or city government website for the current law where the job is located, since these laws have expanded and changed over time.
What is a salary history ban?
A salary history ban is a state or local law that prohibits employers from asking job applicants what they currently earn or previously earned, and often also restricts employers from using that information - even if volunteered - to set a lower job offer. The goal is to stop past pay, which may reflect discrimination, from following a worker into future jobs.
What should I say if an employer asks my salary history and I don't want to answer?
You can politely redirect to your desired salary range for the new role, ask what the budgeted range for the position is, or - if you know a ban applies in your jurisdiction - note that you understand that question isn't typically asked there. Declining to answer is not a red flag, and where a ban applies, it's a protected choice.
Can I be rejected for refusing to share my salary history?
If a salary-history ban applies where you're interviewing, being penalized for declining to answer generally isn't a legitimate reason for rejection. Proving that a rejection was actually caused by your refusal can be difficult, so document the timeline, the exact question asked, and any related communications, and consider contacting your state labor agency or an employment lawyer if the pattern looks retaliatory.
This article is general legal information, not legal advice, and may not reflect the most current law or the law in your jurisdiction. Laws vary by state and change over time. For advice about your specific situation, consult a licensed attorney.
Knowing your rights is the first step
Join thousands committing to calmly and consistently exercise their constitutional rights.