# 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.
| Method | What it pins | Use it for |
|---|---|---|
| /pin your text | A new message. Twitch posts your text in chat and pins it in the same step | Rules, a giveaway code, a Discord link, today's schedule |
| Pin icon on a message | A message that is already in chat, from you or from a viewer | A good viewer question, a correct answer, a useful link someone shared |
With the /pin command
- Open your channel's chat while logged in as the broadcaster or as a moderator who is allowed to pin.
- 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] - 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]
| Role | Pin | Unpin or change the timer | Hide the pin for themselves |
|---|---|---|---|
| Broadcaster | Да | Да | Да |
| Moderator | Only if the broadcaster allows mods to pin | Only if the broadcaster allows it | Да |
| VIP or viewer | Нет | Нет | Да |
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]
| Setting | How long the pin stays |
|---|---|
| Customized time | From 30 seconds to 30 minutes, then it unpins itself |
| Manually unpinned or end of stream | Until the broadcaster or a moderator unpins it, or the stream ends |
| A new pin | The 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
- Журнал выполнения по минутам
# 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.
| What you see | What it means | Fix |
|---|---|---|
| "[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 timer | Same as above |
| "Messages were pinned or unpinned too quickly. Please try again in a few seconds." | Twitch's rate limit on pinning and unpinning | Wait 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 text | Type the text after /pin, or use the pin icon on an existing message |
| /pin disappears when you type it | You 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 cause | Reload 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]
| Запрос | What it does |
|---|---|
| GET | Gets the current pin, who sent it, who pinned it, and when it expires (no end time if it is pinned until the stream ends) |
| PUT | Pins a message by its ID. duration_seconds is 30 to 1800; without it, the pin lasts until the stream ends |
| PATCH | Changes how long the current pin stays, counted from now |
| DELETE | Unpins 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]
# Частые вопросы
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.