Skip to main content

How to pin a message on Twitch

Broadcasters can always pin. Moderators can pin only if the broadcaster allows it. Viewers and VIPs cannot pin.

Every rule and error message below comes from Twitch's help center, its developer documentation or the code twitch.tv sends to your browser. Where none of them says something, this guide says so.

By Marcus Chen Reviewed by Alex Morrison7 minUpdated Fact-checked · 7 sources

In one minute: To pin a new message, type /pin followed by your text in chat. To pin a message that is already in chat, click the pin icon on it.[1] The broadcaster can always pin. Moderators can pin only if the broadcaster allows it; otherwise /pin is not offered to them at all, and if a mod's pin still reaches Twitch, it is refused with "[channel] does not allow mods to pin chat messages."[4] One pin is shown at a time, and a new pin replaces the old one.[2] To remove it, open the settings icon on the pinned card and choose Unpin this Message. The twitch.tv chat has no /unpin command.[5]

  • /pinis the chat command. It posts your text as a new message and pins it.
  • 1pin at a time. A new pin automatically replaces the current one.
  • 30 s – 30 minis the range for a timed pin. The other choice is to keep it until you unpin it or the stream ends.
  • 0/unpin commands. You unpin from the settings icon on the pinned message.

# How to pin a message on Twitch

A pinned message stays in a card at the top of chat while the rest of chat scrolls past it. The card says who pinned it: "Pinned by" followed by that person's broadcaster or moderator badge and name.[5] There are two ways to pin, and they do different things.

Two ways to pin a message in Twitch chatSources: Twitch Help (Chat Commands), twitch.tv chat code, read 12 November 2026
MethodWhat it pinsUse it for
/pin your textA new message. Twitch posts your text in chat and pins it in the same stepRules, a giveaway code, a Discord link, today's schedule
Pin icon on a messageA message that is already in chat, from you or from a viewerA good viewer question, a correct answer, a useful link someone shared

With the /pin command

  1. Open your channel's chat while logged in as the broadcaster or as a moderator who is allowed to pin.
  2. Type /pin, a space, then the message, for example /pin Giveaway code: WINTER. The chat code's own help text reads: "Usage: "/pin <message>" - Pin a message you send into chat for the channel."[4]
  3. Press Enter. The message is posted under your name and appears in the pinned card above chat.

Typing /pin on its own does nothing useful. Twitch answers: "Invalid command - specify a message body after the command".[4] To pin something a viewer wrote, use the pin icon instead. /pin cannot point at an existing message.

With the pin icon

Twitch's help page says only: "You can also click the [pin] symbol directly in chat."[1] On twitch.tv in a browser, hover over the message you want to pin and click the pin icon. If you see no pin icon, read Section 2: you may not be allowed to pin in that channel.

# Who can pin messages on Twitch

Twitch's help center lists /pin under "Basic Commands for Broadcasters and all Moderators".[1] The chat code adds a condition that the help page does not mention. The broadcaster can always pin. A moderator gets the /pin command only if the channel's pinned chat settings allow mod access and the moderator has pin permission.[4] If mod access is off, /pin is simply not offered to moderators: the command disappears when they type it. The message "[channel] does not allow mods to pin chat messages." appears only when Twitch's server refuses a moderator's pin, for example when the setting was switched off after their chat loaded.[4]

Who can pin, unpin and change pinsSources: Twitch Help (Chat Commands), Twitch API reference, twitch.tv chat code, read 12 November 2026
RolePinUnpin or change the timerHide the pin for themselves
BroadcasterYesYesYes
ModeratorOnly if the broadcaster allows mods to pinOnly if the broadcaster allows itYes
VIP or viewerNoNoYes

So the fix for a moderator who cannot pin is on the broadcaster's side. First make sure the person really is a moderator; our Twitch roles guide shows how to add one. Then the broadcaster has to allow mods to pin. Twitch's help pages do not say where that switch is, and we could not see it without the channel owner's dashboard. In the twitch.tv code, turning pinned chat on and off is logged alongside chat settings such as chat delay and link blocking,[4] so look in the moderation settings of your Creator Dashboard first.

# How long a pin lasts, and how to unpin it

The broadcaster and moderators who can pin see a settings icon on the pinned card, labelled "Pinned message settings". It opens a menu with these options:[5]

  • Unpin this Message. Removes the pin at once. The message stays in chat.
  • Unpin After. Sets how long the pin stays. See below.
  • Hide for Yourself. Hides the card on your screen only.
  • Delete this Message. Unpins it and deletes the message. It is offered only when the pinned message was written by someone other than you and the broadcaster.

Unpin After has two choices. "Customized time" takes a number in seconds or minutes. "Manually unpinned or end of stream" keeps the pin until someone removes it or you go offline.[5] A custom time must fit Twitch's limit: "Timer must be between 30 seconds and 30 minutes".[5] If the pin has no timer yet, the field starts at 20 minutes.[5] Changing the time on a running pin starts the new countdown from the moment you change it, not from when the message was pinned. The menu says so: "Changing this resets the timer starting from your update."[5]

How long a Twitch pin can lastSources: twitch.tv chat code, Twitch API reference, read 12 November 2026
SettingHow long the pin stays
Customized timeFrom 30 seconds to 30 minutes, then it unpins itself
Manually unpinned or end of streamUntil the broadcaster or a moderator unpins it, or the stream ends
A new pinThe old pin is replaced at once. Only one pin is shown at a time

The one-at-a-time rule is in Twitch's API reference: "Only one mod-pinned message can be active per channel at a time. If a mod-pinned message already exists, it is automatically replaced."[2] If you want rules and a giveaway code both visible, put them in one pinned message, or pin one and post the other with /announce.

Pinned your rules? Want more people reading them live?

Streamrise sells Twitch live viewers. Pick the count and window in the dashboard, from 30 minutes to a month, and paste your channel link: no password, no OAuth, no 2FA token.

  • Starts within minutes
  • No password, no OAuth, no 2FA token
  • Per-minute delivery log
See Twitch viewer plans →

# Why you cannot pin a message on Twitch

Every message in this table is copied from the twitch.tv chat code or from Twitch's help center. Find the one you saw.

Twitch pin errors and what to doSources: twitch.tv chat code, Twitch Help (Chat Commands), read 12 November 2026
What you seeWhat it meansFix
"[channel] does not allow mods to pin chat messages."Twitch's server refused a moderator's pin because the broadcaster has not allowed mods to pin (usually /pin is not offered at all in that case)Ask the broadcaster to allow mod pinning, or to pin it themselves
"[channel] does not allow mods to update chat messages."Same block, shown when a moderator tries to change a pin's timerSame as above
"Messages were pinned or unpinned too quickly. Please try again in a few seconds."Twitch's rate limit on pinning and unpinningWait a few seconds. If two mods are pinning at once, agree who does it
"Invalid command - specify a message body after the command"You typed /pin with no textType the text after /pin, or use the pin icon on an existing message
/pin disappears when you type itYou do not have permission. Twitch: "Commands you do not have permission to use will not appear when you try to enter them."Check that you are a moderator. If you are, the broadcaster has not allowed mods to pin
"Something went wrong. Please try again."A general failure with no specific causeReload chat and try again

Every message except the disappearing-command line is in the twitch.tv chat code.[4][5] The line about commands disappearing is from Twitch's own troubleshooting note.[1] If you cannot type in chat at all, the cause is different; our guide to why you can't chat on Twitch covers it.

# Pinning with a bot or the Twitch API

Bots and tools pin through Twitch's API. Twitch's changelog for 29 May 2026 says: "All Pinned Chat API endpoints are now considered generally available."[3] There are four, all at https://api.twitch.tv/helix/chat/pins:[2]

Twitch's Pinned Chat APISource: Twitch Developers, API Reference (Chat), read 12 November 2026
RequestWhat it does
GETGets the current pin, who sent it, who pinned it, and when it expires (no end time if it is pinned until the stream ends)
PUTPins a message by its ID. duration_seconds is 30 to 1800; without it, the pin lasts until the stream ends
PATCHChanges how long the current pin stays, counted from now
DELETEUnpins the message

Pinning, changing and unpinning need a token with the moderator:manage:chat_messages scope; reading the current pin also works with moderator:read:chat_messages. The account must be the broadcaster or someone with permission to moderate the channel.[2] The error codes match what you see in chat: 403 if the user has no permission to pin, 409 if the message is already pinned, and 429 when "The rate limit for pinning messages has been exceeded."[2]

You do not need to write code to use this. Streamer.bot has a pin action whose duration is "null for the pin to last till the end of the stream" or "between 30 and 1800 - duration in seconds".[6] If a bot stops pinning, reconnect it to Twitch so it gets a fresh token with the pin scope.

# What we could not confirm

These points are not answered by Twitch's help center, its API reference or the twitch.tv code we read on 12 November 2026. Treat any exact answer you see elsewhere as unconfirmed.

  • Pinning in the Twitch mobile app. We read the website's code, not the iPhone or Android app. If you cannot find a pin button on your phone, try typing /pin and your text in chat. If that does not work either, pin from a computer or ask a moderator who is at one.
  • The default length of a fresh pin. The Unpin After field starts at 20 minutes, and an API pin with no duration lasts until the stream ends.[5][2] What a pin made from chat does before anyone opens that menu is not published. Open Unpin After right after pinning and set the time yourself.
  • Exactly where the mod pinning switch is. The code shows the setting exists; the help center does not describe it.
  • The exact rate limit. Twitch says only "a few seconds".

# The bottom line

To pin a message on Twitch, type /pin and your text, or click the pin icon on a message already in chat.[1] The broadcaster can always pin; moderators only if the broadcaster allows it.[4] Set the length in Unpin After, between 30 seconds and 30 minutes or until the stream ends, and remember that each new pin replaces the last one.[5][2]

# FAQ

How do you pin a message on Twitch?

Type /pin followed by your text in chat to post and pin a new message. To pin a message already in chat, hover over it on twitch.tv and click the pin icon. Only the broadcaster, and moderators the broadcaster allows, can pin.

How do I pin a message on Twitch as a mod?

The same way: /pin and your text, or the pin icon. It works only if the broadcaster allows mods to pin. If not, /pin is not offered to you, and a pin that still reaches Twitch is refused with "[channel] does not allow mods to pin chat messages." Only the broadcaster can change that.

How do I unpin a message on Twitch?

Click the settings icon on the pinned card and choose Unpin this Message. There is no /unpin command in the twitch.tv chat. Pinning a new message also replaces the old one.

How long do pinned messages last on Twitch?

As long as you set in Unpin After: a custom time from 30 seconds to 30 minutes, or until it is unpinned by hand or the stream ends.

Can you pin more than one message on Twitch?

No. Twitch shows one pin at a time, and a new pin automatically replaces the current one. Combine the information in one message, or use /announce for the second.

Can viewers pin messages on Twitch?

No. Viewers and VIPs cannot pin. They can only hide a pin for themselves, which does not affect anyone else.

Why can't I pin messages on Twitch?

Usually because you are not the broadcaster or a moderator, or because the broadcaster has not allowed mods to pin. Other causes are pinning too quickly, which Twitch rate-limits, and typing /pin without any text.

Marcus Chen

Technical Editor, API & Integrations

Previously reseller-API developer for streaming-services tooling. Writes Streamrise /apidoc, reseller integration, and broadcast-software technical content.

More from Marcus →

Sources & further reading

  1. Twitch Help — Chat Commands
    Official Twitch help article. Source for the /pin DESCRIPTION entry, the pin symbol in chat, the heading Basic Commands for Broadcasters and all Moderators, and the troubleshooting note that commands you lack permission for do not appear. Read 12 November 2026.
    https://help.twitch.tv/s/article/chat-commands?language=en_US
  2. Twitch Developers — API Reference, Chat: Get, Pin, Update and Unpin Chat Message
    Official Twitch API reference. Source for one mod-pinned message per channel and automatic replacement, the helix/chat/pins endpoints, duration_seconds from 30 to 1800, pins without a duration lasting until the stream ends, required scopes, and the 403, 409 and 429 responses. Read 12 November 2026.
    https://dev.twitch.tv/docs/api/reference/chat#pin-chat-message
  3. Twitch Developers — Change Log
    Official Twitch developer change log. Source for the 29 May 2026 entry making all Pinned Chat API endpoints generally available. Read 12 November 2026.
    https://dev.twitch.tv/docs/change-log/
  4. twitch.tv chat JavaScript — chat command handlers
    Part of the code twitch.tv loads in the browser. Source for the /pin usage text, the rule that a moderator gets /pin only when the channel's pinned chat settings allow mod access, the error messages for blocked mods, rate limits and an empty /pin, the full list of chat commands (which has /pin and no /unpin), and the pinned chat on and off events logged with other chat settings. The file name changes when Twitch updates its site. Read 12 November 2026.
    https://assets.twitch.tv/assets/features.chat.components.chat-command-handlers.component-1d29641d292e88cd37ac.js
  5. twitch.tv chat JavaScript — pinned chat card and menus
    Part of the code twitch.tv loads in the browser. Source for the Pinned by label, the Pinned message settings menu (Unpin this Message, Unpin After, Hide for Yourself, Delete this Message and when it appears), the Customized time and Manually unpinned or end of stream options, the 30-second to 30-minute limit, the 20-minute starting value, the timer reset message, Hide for yourself for viewers, and the mod update error. The file name changes when Twitch updates its site. Read 12 November 2026.
    https://assets.twitch.tv/assets/78292-568435f41122ea09f801.js
  6. Streamer.bot Docs — Twitch: Pin Chat Message
    Official Streamer.bot documentation. Source for the pin action's duration values: null for the end of the stream, or 30 to 1800 seconds. Read 12 November 2026.
    https://docs.streamer.bot/api/csharp/methods/twitch/chat/twitch-pin-chat-message
  7. Twitch Help — How to Handle Viewership Botting and Fake Engagement
    Official Twitch help article. Source for the policy statement used in the disclosure. Read 12 November 2026.
    https://help.twitch.tv/s/article/how-to-handle-view-follow-bots?language=en_US
Streamrise · Twitch viewers

Your rules are pinned. You pick the count and window for your Twitch viewers.

Pick the count and window in the dashboard, from 30 minutes to a month. No password, no OAuth, no 2FA token.