Code of Ethics Examples

A good code will inspire employees to live up to company values.

Written by Jeff Rumage
Code of Ethics Examples
Image: Shutterstock
Matthew Urwin | May 24, 2024

A code of ethics outlines the ethical principles that govern employee behavior in the workplace. It often includes the company’s values, as well as the policies meant to guide employees in how they make decisions and conduct themselves at work.

What Is a Code of Ethics?

A code of ethics is a set of principles designed to shape employees’ behavior and decision-making processes. It aims to prevent unethical behavior that could damage the company and its reputation.

Code of Ethics Importance

The purpose of a code of ethics is to have “a comprehensive and formal way of telling employees and stakeholders what their expectations are around how people will behave in the workplace,” Pat Harned, CEO at Ethics & Compliance Initiative (ECI), told Built In.

A strong code of ethics will be memorable and inspire employees to live by its espoused values in their daily lives. This will hopefully prevent unethical behaviors that could hurt customer relations, scare away ethical employees and ultimately tarnish the reputation of your company.

In addition, a code of ethics offers an opportunity for an organization to communicate its mission and values to customers. Making formal commitments to principles like inclusivity and sustainability can earn the trust of customers and encourage them to keep buying from a business that aligns with their personal beliefs.  


Code of Ethics Examples 

There is no one right way to create a code of ethics. From brief statements to lengthy handbooks, here are a few code of ethics examples for inspiration. 

Costco’s Code of Ethics Statement

Costco, which has been hailed as a “testimony to ethical capitalism,” has a short code of ethics:

Here at Costco, we have a very straightforward, but important mission: to continually provide our members with quality goods and services at the lowest possible prices. In order to achieve our mission, we will conduct our business with the following Code of Ethics in mind:

  • Obey the law.
  • Take care of our members.
  • Take care of our employees.
  • Respect our suppliers.

If we do these four things throughout our organization, then we will achieve our ultimate goal, which is to reward our shareholders.

An impactful code of ethics doesn’t have to be pages of dense content. Listing a brief list of values may seem vague, but it actually creates room for flexibility. By keeping its values concise, Costco empowers employees to use their best judgment and adapt these principles to a variety of situations without overthinking them. 

Starbucks’ Code of Ethics Handbook  

Starbucks makes it clear that it prioritizes the safety and well-being of its workers by starting its code of ethics with workplace guidelines that cover topics like harassment, diversity and wage regulations. The section also provides a couple of sample Q&A interactions, including the following example: 

  • Q: Lately my store has been very busy and it has been hard to find time to do routine cleaning. At this morning’s store meeting, our manager told everyone that if they don’t complete their tasks before they punch out they will have to stay “off the clock” to do so. Is it okay for our manager to ask this of us?
  • A: No. Working off the clock is strictly prohibited by Starbucks. Starbucks is committed to ensuring that all partners are accurately compensated for all work performed. Any requests to work off the clock must be reported to Partner Resources or Ethics & Compliance.

Sharing concrete examples can make ideals and values easier to identify in everyday situations. Workers can then feel more confident in speaking up when they believe a code of ethics has been violated, increasing the code’s effectiveness. 

Mastercard’s Code of Conduct 

Mastercard makes it clear that employees are encouraged to speak up about potential conduct violations. The company’s code of conduct starts with a “culture of accountability” section that lists out scenarios where disciplinary action is needed: 

  • Violating or asking anyone else to violate the law, this Code or other Company policies
  • Failing to report a known or suspected violation
  • Retaliating against someone for reporting an ethics concern or suspected violation of the law, this Code or other Company policies
  • Failing to demonstrate leadership and diligence to ensure compliance with the law, this Code or other Company policies
  • Knowingly making a false allegation
  • Failing to cooperate fully in an investigation

These points reaffirm the responsibility of employees, management and company leaders to uphold the code. Mastercard follows this up with a page listing appropriate channels to report violations to and an anti-retaliation statement.

Microsoft’s Trust Code 

Microsoft foregoes the traditional handbook in favor of a digital “trust code” organized into several tabs. Under each tab, the company displays its values in short paragraphs and includes a “how to build trust” section at the bottom of each page with actionable bullets. For example, Microsoft’s “how to build trust” section under its ‘customers’ tab lists “honor privacy” with the following steps: 

  • By following local privacy and data protection laws.
  • By providing clear and accurate privacy notices when collecting or processing personal data, including employee personal data.
  • By honoring privacy choices by using customer data to provide the services customers have agreed to.
  • By protecting our customers’ data through building secure products and services.

Reinforcing values with specific actions further clarifies expectations surrounding employee conduct and how employees could apply these values in their daily work.

Apple’s Business Conduct Policy

Apple begins its business conduct policy with sections covering the broader rights of employees and international human rights the company respects. The human rights section is as follows: 

Apple is committed to respecting internationally recognized human rights. Apple’s approach to respecting human rights is based on the United Nations Guiding Principles on Business and Human Rights, the global standard on business and human rights. For more information, see the Human Rights Policy.

A code of ethics can go beyond discussing how individuals are expected to behave in an individual workplace and state more widely recognized ideals the company aims to emulate.

BP’s Code of Conduct

BP’s code of conduct immediately provides a “decision tool,” which presents a series of questions for employees to consider whether they’re following the code:

  • Is your decision consistent with the law, our code and ‘Who we are’?
  • What are the potential impacts of your decision?
  • What would happen if everyone made a similar decision?
  • Have you considered if there are biases or pressures that could be influencing you?
  • Have you considered past learnings?
  • Could you stand by your decision if it became public or headline news?

Listing self-reflection questions can help employees internalize a code of ethics and connect to guidelines on a more personal level.

NVIDIA’s Code of Conduct 

NVIDIA’s code of conduct lays out the process for reporting code violations and what happens after a report is submitted in its “What happens when you speak up?” section. For example, the company’s “investigate” stage includes the following steps:

  • Review documentation.
  • Interview witnesses, who are equally protected. 
  • Finalize report, including conclusion and recommendations.

While many codes of ethics may say it’s OK to report violations, the best way to alleviate any fears employees may have is to describe exactly what the process looks like. Even the brief steps NVIDIA lists for each stage give employees a general idea of what they can expect, removing some of the uncertainty around reporting code violations.

Related Toxic Work Culture: 18 Examples and How to Improve It


How to Write a Code of Ethics

A code of ethics often begins with the company’s CEO stating the company’s values and emphasizing the importance of maintaining quality standards, ethical principles and a healthy workplace. The rest of the code elaborates on these themes in more detail, along with more specific policies about conflicts of interest, accepting gifts, workplace harassment and the mechanisms for reporting unethical behavior.

Here are a few best practices to keep in mind when writing a code of ethics:  

1. Reflect on Your Company’s Values

Begin your code of ethics with a statement about the company’s values, such as treating people with respect, acting with integrity or being accountable for one’s actions. These values will serve as the ethical foundation for the code of ethics, and all of the policies referenced in the document should tie back to these values.

“People want to align their expectations of conduct in the workplace with the company’s direction and objectives and believe that it’s contributing to the overall culture and performance of the organization,” Asha Palmer, senior vice president of compliance solutions at Skillsoft, told Built In. 

2. Think About the Risks Your Organization Faces

Take into account the ethical and legal risks your organization is likely to encounter. The code of ethics may be a place for you to educate employees about potential risks and conflicts, like accepting gifts or mishandling customer information, and advise them on what they should do to mitigate and manage those risks. 

But don’t feel like you have to address every potential ethics issue. Those topics might be better addressed through additional employee training. In fact, companies should make ethics training a routine practice, even if their code is fairly comprehensive. 

3. Spell Out Consequences for Noncompliance

Make it clear that employees will be held accountable for not complying with a code of ethics. Disciplinary actions should be tiered, depending on the severity and scope of infractions. An employee might receive a written warning after the first violation, for example, and face termination on the second or third violation. This information could also be included in a supporting piece of compliance documentation, like an investigation protocol. 

Either way, stick to the disciplinary actions outlined in the ethics code to prevent employees from thinking that some people, especially those in leadership positions, are above the law.

“If there are similar breaches to the code of ethics that are being handled dramatically differently, you’re going to see huge problems within your workforce,” said Allison Mairena, vice president of people at NewGlobe. “Following true to what you have written down and being consistent and constant about talking about it and how you implement it is very important.” 

4. Keep It Short and Accessible

The real work of an effective ethics policy is the ability to make it accessible and relevant to a company’s workforce. Otherwise, they are just words on a piece of paper.

“The reality is you want people to live those words,” Palmer said, “and see how those words apply to the jobs they perform.”

While some codes of ethics can exceed 40 or 50 pages, others are more engaging and interactive, incorporating videosvisual aids and colorful text boxes. Some companies have created chatbots to answer employees’ ethical questions, which reduces the hassle of looking through a long legal document. 

5. Solicit Input and Feedback From Stakeholders

Don’t write a code of ethics in a silo. Let it be informed by input from leaders, employees and other stakeholders. Once a first draft has been written, have department leaders from across the organization review it and advise whether it will resonate with their team. 

6. Encourage Whistleblowers to Speak Out

A code of ethics should also inform employees how to report wrongdoing when they see it. Many companies set up an ethics and compliance hotline, which offers employees anonymity and the opportunity to bypass managers who may be involved in unethical behavior. Harned said companies should also tell employees what to expect when they report an ethics breach. 

“That is one of the leading reasons why people don’t report,” she added. “It’s because they don’t have any clue what’s going to happen and they’re afraid.”


Code of Ethics vs. Code of Conduct

Traditionally, a code of conduct is more specific than a code of ethics. While a code of ethics may talk about company values and ethical principles, a code of conduct will be more prescriptive, posing hypothetical situations and specifying which behaviors are allowed and not allowed.

That said, the two terms are often used interchangeably, and it’s rare for a company to have both. The code of ethics — if it exists at all — is typically folded into the beginning of the code of conduct. Palmer said there has been a trend in the ethics and compliance profession to simplify these codes with the goal of making them more memorable.

“You want a sentiment or an ethical principle or value to resonate with people in a way where they think about whether and how it applies to what they’re doing,” she said.

Frequently Asked Questions

A code of ethics is a set of ethical principles that guide employee conduct in the workplace. Employees should refer back to this document to determine if their actions are in alignment with the organization’s values.

A code of ethics will set clear expectations about what is acceptable and unacceptable behavior in the workplace. By aligning employees on a set of shared values and ethical principles, an organization can hopefully prevent unethical behavior that will hurt employees and the organization.

Hiring Now
Cloud • Fintech • Other • Payments • Software • Data Privacy