Racism at work & code-switching
You deserve to be judged on your work, not your race, and to bring more of yourself to the job. Your rights and your wellbeing both matter.
By the numbers
What surveys and federal data tell us.
Workers
EEOC charges
Science & tech jobs
What racism at work can look like
From hiring and pay to comments, rules and being overlooked.
Racism at work is not only slurs or open hostility. The U.S. Equal Employment Opportunity Commission (EEOC) says race discrimination can affect any part of a job, including hiring, firing, pay, job assignments, promotions and layoffs.
Read more
Being treated unfavorably in any part of employment because of race or color is illegal for covered employers. This includes decisions about hiring, pay, assignments and promotions.
In a 2023 survey, 41% of Black workers said they had faced this kind of unfair treatment.
Read more
The EEOC gives racial slurs, offensive remarks about race or color, and racially offensive symbols as examples of harassment. The harasser can be a supervisor, a coworker, or even a client or customer.
Read more
The EEOC says a policy that applies to everyone can still be illegal if it harms people of a certain race or color and is not job-related and necessary for the business. Its example is a “no-beard” rule.
Read more
The EEOC says race discrimination includes unfair treatment because of personal characteristics linked to race, such as hair texture, skin color or certain facial features. Color discrimination, based on skin complexion, is covered too, even between people of the same race.
Read more
Many experiences are quieter: being confused with another coworker of color, having your ideas credited to someone else, or being described as “aggressive” for the same things others are praised for.
Code-switching: what it is and why people do it
Changing how you talk, look and act to fit in.
Researchers describe code-switching as adjusting your speech, appearance, behavior and expression to make others comfortable, in exchange for fair treatment and job opportunities. It shows up at school, at work and in many public places.
Many people code-switch without thinking about it. It can be a skill and a survival tool at the same time.
Read more
Researchers found that downplaying membership in a stereotyped group can raise how professional others see you, and the chance of being hired.
Read more
Avoiding behavior linked to negative stereotypes can help people be seen as leaders, but it takes constant effort and attention.
Read more
Showing shared interests with coworkers from the majority group can build closeness with powerful colleagues, which may help with promotion.
Read more
- Avoiding certain topics, foods or music at work
- Changing hairstyle or clothing
- Changing your accent, slang or tone of voice
- Using a different name or nickname
- Staying quiet about experiences of racism
The hidden cost of code-switching
It can help a career and still drain you.
Researchers found that code-switching can bring real career benefits. They also found it can be exhausting: hiding parts of yourself and constantly watching for stereotypes uses up mental energy and can lead to burnout.
Read more
In a survey of about 300 Black, college-educated workers, those who worked hard to “fit” felt more career success but were also more likely to burn out.
Read more
Pretending to share interests, or hiding your culture, reduces chances to be yourself at work. Over time, that can feel lonely.
Read more
In an experiment, White participants rated a Black job candidate who code-switched (in name, speech or hair) as more professional. Black participants rated the same changes as less professional and as an unnecessary change to identity.
Some people who code-switch also face criticism from their own community.
Read more
The researchers suggest thinking about code-switching strategically, based on your setting and your values. They stress that individuals should not have to solve this alone: workplaces need to change too.
Questions to ask yourself
- Is it costing me more than it gives me?
- What do I switch, and why?
- What parts of me do I never want to hide?
- Where can I fully be myself each week?
Being “the only one”
Standing out, speaking for everyone, and feeling alone.
Being the only person of your race on a team or in a meeting can mean feeling watched, judged as a stand-in for your whole group, and having no one who shares your experience. In a 2017 survey, 29% of Black workers in STEM jobs said they had felt isolated at work because of their race or ethnicity.
Read more
Being asked to explain your whole community, or being the go-to person for every diversity task, is a heavy load. It is okay to say, “I can only speak for myself.”
Read more
Workers of color are often asked to do this kind of work on top of their job. If you want to do it, ask for it to be recognized in your goals or reviews. If you don’t, it is okay to say no.
Read more
Feeling out of place when you are one of few is a normal response to the situation, not proof that you don’t belong.
Read more
Places to look
- Employee resource or affinity groups
- Mentors in other teams or companies
- Online communities for your field
- Professional associations for people of color in your field
Protecting your energy and wellbeing
Small daily habits and boundaries that help.
Dealing with bias at work, on top of the job itself, takes extra energy. Mental Health America describes boundaries as deciding what you will and will not allow for yourself, and reminds people that self-care is what helps you keep going.
Read more
- Change clothes when you get home
- Listen to music on the way home
- Take a short walk before going inside
- Write down the day, then close the notebook
Read more
Save thank-you emails, results and praise in one place. It helps on hard days, and it is useful for reviews and promotions.
Read more
Mental Health America suggests connecting with your culture and community, and with people who have had similar experiences.
Family, friends, faith, music and culture can be a place to put down the effort of fitting in.
Read more
If Sunday nights fill you with dread, or you feel numb or snappy most days, it may be time to make a change or get support.
Your rights: the basics (U.S.)
What federal law covers and what it doesn’t.
This is general information, not legal advice. State and local laws can go further than federal law. For your situation, contact the EEOC, your state’s fair employment agency, a lawyer, legal aid or your union.
Read more
Federal law against race and color discrimination at work covers employers with 15 or more employees. It protects both job applicants and employees.
If your workplace is smaller, your state or city may still protect you. A state or local fair employment agency can tell you.
Read more
Simple teasing, offhand comments and isolated incidents are usually not illegal. Racial harassment becomes illegal when it is so frequent or severe that it creates a hostile or offensive work environment, or when it leads to a decision like firing or demotion.
Read more
It is illegal for an employer to punish you for complaining about discrimination, taking part in an investigation, or being a witness.
Read more
The EEOC says it is also discrimination to treat someone unfairly because they are married to, or associated with, a person of a certain race or color.
Documenting what happens
Simple notes now can protect you later.
Even if you are not sure you will ever report it, writing things down helps you see patterns and remember details. If you do file a charge, the EEOC asks for a short description of what happened, when it happened and why you believe it was discrimination.
For each incident, note
- The date, time and place
- Who was involved, and anyone who saw or heard it
- Exactly what was said or done, word for word if you can
- How it affected you or your work
- Who you told, and what they did
Read more
Keep your notes somewhere only you can reach, so you can still find them if you lose access to work systems. Follow your employer’s rules about confidential company information.
Read more
Performance reviews, praise, emails and changes to your schedule or duties can all help show what happened over time.
Read more
You usually have 180 calendar days to file a charge with the EEOC, or 300 days if a state or local agency enforces a similar law. Federal employees have 45 days to contact an EEO counselor.
Reporting: inside work and to the EEOC
Your options, step by step.
Read more
Ways to raise it
- A grievance through your union, if you have one
- A written complaint to HR, keeping a copy
- An ethics or reporting hotline, if your employer has one
- Talking with a manager you trust
Putting a complaint in writing creates a clear record of when you raised it.
Read more
Ways to start
- Online through the EEOC Public Portal (publicportal.eeoc.gov)
- By calling 1-800-669-4000 to get the process started (the charge itself can’t be filed by phone)
- In person at one of the EEOC’s 53 offices
- By mail, with a signed letter
If your deadline is close, the EEOC says to call and ask for an immediate interview.
Read more
You can also file with a state or local fair employment practices agency. Under “dual filing”, a charge filed with one agency is also filed with the other.
Read more
The EEOC’s filing steps can be done by yourself, without a lawyer. Many people still find it helpful to talk with an employment lawyer, a legal aid office or a union representative first.
How managers and coworkers can help
Building a workplace where people don’t have to hide.
The researchers who studied code-switching suggest that organizations look at whether their culture pushes employees of color to blend in, address underrepresentation at every level, and treat inclusion as more than headcounts.
Read more
- Act quickly when someone reports a problem
- Check pay, reviews and promotions for patterns
- Give credit clearly and publicly
- Make sure extra diversity work is recognized
- Notice who gets interrupted in meetings
Read more
- Check in privately after a hard moment
- Learn and say names correctly
- Offer to be a witness if someone reports
- Repeat and credit a colleague’s idea when it is ignored
- Speak up when you hear a “joke” that isn’t funny
Read more
The researchers encourage leaders and coworkers to question the biases behind comments about how people talk, dress or wear their hair.
When and where to get help
Signs it’s time to reach out, and where to go.
Reach out to a clinical provider or therapist if…
- Work stress is affecting your sleep, health or relationships
- You dread work most days or feel numb or hopeless
- You are using alcohol or substances to get through
- You have thoughts of hurting yourself
Many employers offer an Employee Assistance Program (EAP) with free, confidential counseling. Your rights at work explains how to find yours. Finding culturally responsive care can help you find a therapist who understands racism at work.
Free, confidential support (U.S.)
- 988 Suicide & Crisis Lifeline: call or text 988, or chat at 988lifeline.org
- Crisis Text Line: text HOME to 741741
- EEOC, for questions about workplace discrimination: 1-800-669-4000
- If a life is in danger, call 911
📝 Worksheets for this guide
Fill these in privately in the app. Your answers stay on your phone.
Sources
- U.S. Equal Employment Opportunity Commission (EEOC). Race/Color Discrimination
- U.S. Equal Employment Opportunity Commission (EEOC). How to File a Charge of Employment Discrimination
- U.S. Equal Employment Opportunity Commission (EEOC). Time Limits For Filing A Charge
- U.S. Equal Employment Opportunity Commission (EEOC). Retaliation
- U.S. Equal Employment Opportunity Commission (EEOC) (2026). Table E1a: Charge Receipts by Basis or Statute (All Statutes), FY 1997–FY 2025 (Enforcement and Litigation Statistics)
- USA.gov. Equal Employment Opportunity Commission (EEOC)
- Pew Research Center (2023). Black workers’ views and experiences in the U.S. labor force stand out in key ways
- Pew Research Center (2018). Black STEM employees perceive a range of race-related slights and inequities at work
- Harvard Business Review (2019). The costs of code-switching (McCluney, Robotham, Lee, Smith & Durkee)
- Journal of Experimental Social Psychology (peer-reviewed) (2021). To be, or not to be…Black: the effects of racial codeswitching on perceived professionalism in the workplace (McCluney et al., Journal of Experimental Social Psychology 97: 104199)
- Mental Health America. Racial trauma
- 988 Suicide & Crisis Lifeline. 988 Suicide & Crisis Lifeline
- Substance Abuse and Mental Health Services Administration (SAMHSA). 988 Frequently Asked Questions
- Crisis Text Line. Crisis Text Line
- Substance Abuse and Mental Health Services Administration (SAMHSA). Crisis Text Line
- ThroughLine. Find A Helpline
This guide is for education and self-care. It is not a diagnosis or a substitute for professional care. Please talk to a counselor or clinical provider about your health. Reviewed October 2026.

