Twilio error 21610: attempt to send to an unsubscribed recipient
Updated
21610 means the recipient opted out of your messages, usually by replying STOP, so Twilio won't send to them from that number, sender or Messaging Service. Remove the number from your list. Only the recipient can undo it, by texting START (or UNSTOP) back. It can also appear when a number was reassigned.
Causes
- The recipient replied STOP or another opt-out keyword to an earlier message.
- The number was recently reassigned to someone else, who opted out. Lookup's reassigned number package can check US numbers.
Twilio's error reference files 21610 as an APPLICATION error, not a CARRIER one: Twilio itself holds the opt-out, so no carrier is involved. That makes it different from carrier errors like 30007.
Opt-out and opt-in keywords
| Kind | Keywords (long codes, by default) | Effect |
|---|---|---|
| Opt-out | STOP, UNSUBSCRIBE, END, QUIT, STOPALL, REVOKE, OPTOUT, CANCEL | Number added to the block list; your sends get 21610 |
| Opt-in | START, UNSTOP (reserved), YES | Number removed from the block list |
| Help | HELP (reserved) | Sends your help reply; doesn't change the block list |
Matching ignores case. With Advanced Opt-Out on a Messaging Service you can add keywords, change the confirmation replies, add other languages and set per-country keyword lists; STOP, START, UNSTOP and HELP can't be removed. On US toll-free numbers sending to the US or Canada, STOP always unsubscribes and YES does not opt a user back in.
Turning on Advanced Opt-Out
- Open your Messaging Service in the Console and choose Opt-out management.
- Click Enable advanced opt-out, then set the opt-out, opt-in and help keywords and the reply for each.
- Check the setup before you enable it: Twilio says that once Advanced Opt-Out is on, you can turn it off only by contacting support.
What to do
- Remove the number from your sending list, or mark it opted out in your own database, so you stop trying.
- If the person wants your messages again, ask them to text START to the same number.
- Before sending to anyone, make sure they consented. Texting people who didn't opt in also leads to filtering (30007) and problems with your 10DLC campaign.
Keep your own opt-out list
Twilio enforces opt-outs but won't hand you the list: its docs say Advanced Opt-Out doesn't support changing or reporting on blocked numbers through the Console or the REST API. So record them as they happen:
- When an inbound message matches an opt-out keyword, Twilio adds an
OptOutTypeparameter to the request it sends to your Messaging Service's webhook. Store the sender's number as opted out. - Do the same for opt-in replies, so a START removes the flag in your database too.
- Treat any 21610 you get as a missed opt-out and flag the number.
Common mistakes
- Retrying a 21610. It will keep failing until the person texts START.
- Switching to another number to reach them. They asked you to stop. Sending from a different sender to get around it breaks consent rules and invites filtering.
- Expecting YES to work on toll-free. On US toll-free numbers, YES does not opt a user back in; ask for START.
- Confusing it with 21211 or 21614. 21211 is an invalid To number and 21614 a number that isn't a valid mobile; neither is about consent.
Switchmast builds an opt-out list from your log (STOP-type replies and 21610 failures, with START opting back in), shows STOP and START replies in the conversation and explains 21610 on the failed send, so you know why a contact went quiet.
Questions
What does Twilio error 21610 mean?
The number you're sending to has opted out of messages from your Twilio number, sender or Messaging Service, usually by replying STOP. Twilio refuses to send until they opt back in.
How does a user unsubscribe from my Twilio number?
By replying with an opt-out keyword. On long codes Twilio handles STOP, UNSUBSCRIBE, END, QUIT, STOPALL, REVOKE, OPTOUT and CANCEL by default. Matching ignores upper and lower case.
How can someone opt back in?
They text START (or UNSTOP, or another opt-in keyword you've set) to the same sender. You can't remove the block for them from your side.
Does an opt-out apply to all my numbers?
It applies to the sender the person opted out from: your Twilio phone number, Channels sender or Messaging Service. Their opt-out reached you through that sender, and they opt back in through the same one.
Can I download a list of opted-out numbers from Twilio?
No. Twilio's Advanced Opt-Out docs say it doesn't support changing or reporting on blocked numbers through the Console or the REST API. Record opt-outs yourself from your inbound webhook, which carries OptOutType when Advanced Opt-Out matched a keyword.
Sources
All read 27 November 2026.
- Twilio docs: Error 21610
- Twilio docs: Advanced Opt-Out (keywords, toll-free behaviour, OptOutType, no reporting API)
- Twilio docs: Error 21211 and 21614