A code of conduct is the constitution of your community. It's what lets members feel safe, and it's what makes moderation fair instead of arbitrary โ you're enforcing published rules, not personal whim. Yet most communities either skip it or write something so vague ("be nice") that it's useless. Here's how to write a community code of conduct that actually works in 2026.
Why you need one
- It keeps members safe. Clear rules signal that this is a well-run space, which attracts good members and deters bad actors.
- It makes enforcement fair. When you act, you point to a published rule โ so decisions feel consistent, not personal.
- It sets the culture. A code of conduct tells people what this community values before they ever post.
- It protects you. If you ever need to remove someone, having documented, agreed rules removes the ambiguity.
What to include
A complete code of conduct answers six questions. Use this as your template:
- 1. Purpose โ what the community is for and who it's for. One or two sentences.
- 2. Expected behavior โ the norms you want, stated positively ("assume good intent," "give constructive feedback," "keep discussions on-topic").
- 3. Prohibited behavior โ the specifics that get content removed or a member banned. Be concrete: harassment, hate speech, spam and self-promotion, unsolicited DMs to sell, doxxing, off-topic flooding.
- 4. Consequences โ what happens when a rule is broken (see the ladder below).
- 5. How to report โ exactly how a member flags a problem, and that reports are handled discreetly.
- 6. Scope โ where the rules apply (all spaces, DMs, events, and any linked off-platform channels).
A tiered consequence ladder
Spell out consequences so enforcement is proportionate and predictable:
| Level | When | Action |
|---|---|---|
| 1. Nudge | Minor, likely honest mistake | Friendly public or private reminder |
| 2. Warning | Clear or repeated violation | Formal, logged notice |
| 3. Mute / restriction | Heated or disruptive behavior | Temporary cooling-off period |
| 4. Content removal | Post breaks the rules | Delete with a brief reason |
| 5. Ban | Serious or repeated harm; bad faith | Remove from the community |
Writing tips
- Be specific, not vague. "No unsolicited DMs to sell products" beats "be respectful." Specific rules are enforceable; vague ones aren't.
- Lead with the positive. Describe the culture you want first, then the lines not to cross. People respond to "here's who we are" better than a wall of "don'ts."
- Keep it short. A code of conduct nobody reads protects no one. Aim for something scannable in a minute.
- Use plain language. Skip legalese โ write it the way you'd explain the rules to a new member.
- Pin it where it's seen. Put it in your welcome space and reference it during onboarding, so agreeing to it is part of joining.
Keep it living
Your first code of conduct won't be your last. As new situations come up โ a kind of spam you didn't anticipate, a gray-area conflict โ update the rules and tell members what changed. A code of conduct that evolves with the community stays relevant; one written once and forgotten slowly stops matching reality.
The bottom line
Write a code of conduct that's specific, positive, and short: state the purpose, the expected and prohibited behavior, a clear consequence ladder, how to report, and where it applies. Then enforce it consistently. Pair it with MateFlow's moderation tooling โ auto-mod rules, a report queue, and an audit log โ to make the rules real. New to this? Start with how to build a community from scratch, or start a free trial.