
Sometimes, but not just because it was unfair. California law doesn't require a boss to be fair, kind or consistent. Unfair treatment becomes illegal when it is tied to something the law protects: who you are (such as your race, sex, age or disability), something you did (such as complaining or reporting a violation), protected leave, your pay rights, or a contract. If one of those links exists, you may be able to file with a state agency and later sue.
Key takeaways
- "Unfair" and "illegal" are not the same. Most California jobs are at will (Labor Code § 2922), so a boss can make many unfair decisions without breaking the law.
- Treating you worse because of a protected characteristic is illegal under the Fair Employment and Housing Act (FEHA) for employers with 5 or more employees. Harassment rules apply even if your employer has only 1 employee.
- Punishing you for complaining about discrimination, unpaid wages or a violation of law is illegal retaliation, even if your original complaint turns out to be wrong, as long as you reasonably believed it was a violation.
- California has no general anti-bullying law. Employers with 5 or more employees must include "abusive conduct" prevention in harassment training (Gov. Code § 12950.1), but that rule doesn't give you a lawsuit on its own.
- Deadlines matter: generally 3 years to file a discrimination complaint with the Civil Rights Department (CRD) and 1 year to file most retaliation complaints with the Labor Commissioner.
Is unfair treatment at work illegal in California?
Not by itself. Under Labor Code § 2922, most jobs are "at will." California's civil jury instructions say an at-will job can be ended "for any [lawful] reason, or for no reason at all" (CACI No. 2400). If your employer can fire you for no reason, it can usually also give the best shifts to someone else, turn down your idea, or promote a coworker you think is less qualified.
What the law bans is treating you badly for an illegal reason, or breaking a specific rule such as a wage law. So the useful question is not "was this unfair?" but "why did it happen, and what rule did it break?"
Courts also look at how serious the treatment was. According to the jury instructions, "minor or trivial actions" that are not reasonably likely to do more than anger or upset an employee don't count as an adverse employment action (CACI No. 2509). Losing pay, hours, a promotion or your job usually does count.
Unfair but usually legal vs. illegal
This comparison shows where the line usually falls. Every case depends on its facts, but it is a good starting point.
Unfair, but usually legal
- A manager who plays favorites with friends
- A rude or moody boss who is rude to everyone
- Being passed over for a promotion you deserved
- A personality clash with a supervisor
- Being fired with no warning or no reason (in an at-will job)
- A schedule change you don't like, made for business reasons
May be illegal
- Worse treatment because of race, sex, age (40+), disability, religion or another protected trait
- Harassment based on a protected trait that is severe or pervasive
- Cut hours or write-ups right after you complained or reported a violation
- Punishment for taking protected leave or asking for an accommodation
- Unpaid wages, overtime or breaks, or lower pay than coworkers of another sex, race or ethnicity for similar work
- Breaking a written contract or a promise to fire only for good cause
When unfair treatment becomes illegal
1. It is based on a protected characteristic (discrimination)
FEHA makes it illegal to refuse to hire, fire, demote, pay less, or give worse terms and conditions because of a protected characteristic (Gov. Code § 12940(a)). Protected traits include race, color, national origin, religion, disability, medical condition, sex, pregnancy, gender identity, sexual orientation, age (40 and over), marital status, and military or veteran status. Our guide to FEHA in California has the full list.
The clue is often a comparison: are workers of a different race, sex or age treated better in the same situation? Comments about your trait, even from someone who did not make the decision, can also be evidence (Gov. Code § 12923(c)).
2. It is punishment for something you did (retaliation)
Many laws protect you when you speak up. FEHA bans retaliation for opposing discrimination or harassment or filing a complaint (§ 12940(h)). The Labor Code bans retaliation for complaining that you are owed unpaid wages (§ 98.6) and for reporting what you reasonably believe is a violation of law to a government agency or to someone at work with authority to fix it (§ 1102.5(b)). Under the jury instructions, you can win a FEHA retaliation claim even if you lose the discrimination claim you complained about, as long as you reasonably believed the conduct was unlawful (CACI No. 2505).
If you are still employed and worried about this, read can you sue your employer while still working for them?
3. It is linked to protected leave or an accommodation
Being punished for asking for a disability or religious accommodation is illegal, even if the request was denied (Gov. Code § 12940(l)(4) and (m)(2)). Taking job-protected family or medical leave is also protected; see our CFRA leave guide.
4. It breaks a wage or pay law
Some "unfair" treatment is really a wage problem: unpaid overtime, missed breaks, or pay that is lower than coworkers'. California's Equal Pay Act bans paying you less than employees of another sex, race or ethnicity for substantially similar work, unless the employer proves a valid reason such as seniority or merit (Labor Code § 1197.5). Your employer also can't stop you from discussing your own wages (§ 1197.5(k); § 232) or your working conditions (§ 232.5).
5. It breaks a contract or promise
A written contract, a union agreement, or a clear promise that you would be fired only for good cause can give you rights that at-will employees don't have. Our article Is California an at-will state? explains how these exceptions work.
Is favoritism at work illegal?
Usually not. Giving the best shifts or projects to a friend is unfair, but no California law requires an employer to treat every worker the same in general. Favoritism becomes a legal problem when it lines up with a protected characteristic. For example, a manager who consistently favors younger workers over workers 40 and older, or men over women, may be discriminating under FEHA.
Romantic favoritism has its own rules. According to the cases quoted in California's jury instructions (CACI No. 2521C):
- A romantic relationship between a supervisor and an employee does not, on its own, give coworkers a sexual harassment or discrimination claim.
- But the California Supreme Court has held that widespread sexual favoritism can be harassment if it is severe or pervasive enough to create a hostile work environment, for example when employees are led to believe they can get ahead by becoming romantically involved with a manager.
Can you sue for bullying or a toxic boss?
California does not have a general workplace anti-bullying law. A boss who yells, insults people or undermines your work is not automatically breaking the law if the behavior isn't connected to a protected characteristic or protected activity.
What the law says about "abusive conduct"
Employers with 5 or more employees must include prevention of abusive conduct in the harassment training they give every two years (Gov. Code § 12950.1(a)(2)). The law defines abusive conduct as conduct, done with malice, that a reasonable person would find hostile, offensive and unrelated to the employer's legitimate business interests, such as repeated insults or the gratuitous sabotage of someone's work. A single act usually doesn't count unless it is especially severe. The remedy written into this section is that the CRD can seek an order requiring the employer to comply with the training rules (§ 12950.1(d)); it does not create a separate right to sue over bullying.
Bullying can still be part of a legal claim when:
- It is based on a protected trait. Insults, exclusion or sabotage aimed at you because of your sex, race, disability or another protected characteristic can be harassment. Our guide to hostile work environment law in California explains when it is serious enough to be illegal.
- It started after you complained. A pattern of hostile treatment can be retaliation, even if each act alone seems small (CACI No. 2509).
- It involves threats or violence. Since July 1, 2024, many California employers must have a written Workplace Violence Prevention Plan under Labor Code § 6401.9. Cal/OSHA explains that the law covers acts and threats of violence at work (Cal/OSHA workplace violence page).
Even when bullying is legal, using your company's complaint process creates a record and may push the employer to act.
Check whether your situation may be illegal
Answer six quick questions. The checker points to the laws that may apply, or to your options if none seem to fit.
Treated worse after you complained, or because of who you are? An employment attorney can tell you whether your facts fit a legal claim. The consultation is free.
Free consultationHow to document unfair treatment
Good notes often decide whether a case can be proven. Start now, even if you are not sure you have a claim.
- Keep a dated logWrite down each incident the same day: date, time, place, who was there, and exactly what was said or done. Short, factual notes are more believable than angry ones.
- Note comparisonsIf coworkers are treated differently, write down how, and whether they differ from you in race, sex, age or another trait.
- Save what you already haveKeep your own pay stubs, schedules, performance reviews, and messages sent to you. Store copies outside work systems if you are allowed to. Don't take confidential company files or other people's private information; ask an attorney first.
- Write down the timeline of complaintsRecord when you complained, to whom, and what changed afterward. Timing is often key evidence of retaliation.
- List witnessesNote coworkers who saw what happened, even if they are afraid to speak up now.
Should you complain internally first?
Often, yes. A written complaint to HR or a manager does three things: it gives the employer a chance to fix the problem, it creates proof that the employer knew, and it usually triggers protection against retaliation. FEHA protects you for opposing discrimination or harassment (§ 12940(h)), and Labor Code § 1102.5 protects reports to "a person with authority over the employee." An oral or written complaint that you are owed unpaid wages is protected under § 98.6.
Tips for an internal complaint:
- Put it in writing (email is fine) and keep a copy.
- If you believe the treatment is linked to a protected trait or to an earlier complaint, say so. "My manager is unfair" is harder to connect to a law than "I believe I am being scheduled fewer hours because of my age."
- Stick to facts and dates. Ask what the next step will be.
- Follow your handbook's complaint procedure, but you don't have to wait for it to finish before contacting a government agency.
When to go to the CRD or the Labor Commissioner
Which agency you use depends on the kind of problem. You can file without a lawyer, but deadlines apply.
| Problem | Agency | General deadline |
|---|---|---|
| Discrimination, harassment or FEHA retaliation | Civil Rights Department (CRD) | 3 years from the last harmful act (Gov. Code § 12960); you need a right-to-sue notice before filing a FEHA lawsuit |
| Retaliation for wage, whistleblower, safety and other Labor Code rights | Labor Commissioner | 1 year from the retaliation (Labor Code § 98.7); Equal Pay Act pay claims generally 3 years (Labor Code § 1197.5(i)) |
| Unpaid wages, overtime or missed breaks | Labor Commissioner wage claim | Generally 3 years for minimum wage, overtime and break violations; 4 years for a written contract |
The CRD requires an intake form within three years of the date you were last harmed in employment cases, and the signed complaint is sent to the employer (CRD complaint process). After a right-to-sue notice, you generally have one year from the date of the notice to file a lawsuit (Gov. Code § 12965). For wage problems, see our guide to filing a wage claim in California.
In San Diego County, a free consultation can help you decide which path fits before a deadline runs. Our workplace discrimination and retaliation pages explain how we help employees. For a broader list of possible claims, see what can you sue your employer for?
Frequently asked questions
Can you sue your employer for unfair treatment in California?
Only if the unfair treatment is tied to something the law protects, such as a protected characteristic, a complaint you made, protected leave, a wage law, or a contract. Unfair treatment by itself is usually legal because most California jobs are at will.
Is favoritism at work illegal in California?
Usually not. Favoring friends is unfair but generally legal. It may be illegal if the favoritism is based on a protected trait such as sex, race or age, or if sexual favoritism is so widespread that it creates a hostile work environment.
Is workplace bullying illegal in California?
California has no general anti-bullying law. Employers with 5 or more employees must train workers on preventing abusive conduct, but that rule doesn't create a separate lawsuit. Bullying can be illegal when it is based on a protected trait, is retaliation, or involves threats of violence.
Can I be punished for complaining about unfair treatment?
Not if your complaint is protected. California law bans retaliation for opposing discrimination or harassment, for complaining about unpaid wages, and for reporting a suspected violation of law to a supervisor or government agency. A general complaint that a boss is rude may not be protected unless it connects to one of these.
How long do I have to file a complaint?
Generally 3 years from the last harmful act to file a discrimination or harassment complaint with the Civil Rights Department, and 1 year to file most retaliation complaints with the Labor Commissioner. Wage claims generally have 3 years for minimum wage, overtime and break violations.
Official sources
- Labor Code § 2922: at-will employment
- Gov. Code § 12940: FEHA unlawful employment practices
- Gov. Code § 12923: harassment standards
- Gov. Code § 12950.1: harassment and abusive conduct training
- Gov. Code § 12960: CRD complaint deadline
- Gov. Code § 12965: right-to-sue notice
- Labor Code § 98.6: retaliation for asserting Labor Code rights
- Labor Code § 98.7: Labor Commissioner retaliation complaints
- Labor Code § 1102.5: whistleblower protection
- Labor Code § 1197.5: California Equal Pay Act
- Labor Code § 232: disclosing your wages
- Labor Code § 232.5: disclosing working conditions
- Labor Code § 6401.9: workplace violence prevention plans
- Judicial Council of California Civil Jury Instructions (CACI), 2026 edition, Nos. 2400, 2505, 2509, 2521C
- California Civil Rights Department: Complaint process
- Labor Commissioner: How to file a retaliation complaint
- Labor Commissioner: How to file a wage claim
- Cal/OSHA: Workplace violence prevention in general industry
Last reviewed December 2026.

