Switchmast

Twilio error 21610: attempt to send to an unsubscribed recipient

Updated

Short answer

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

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

KindKeywords (long codes, by default)Effect
Opt-outSTOP, UNSUBSCRIBE, END, QUIT, STOPALL, REVOKE, OPTOUT, CANCELNumber added to the block list; your sends get 21610
Opt-inSTART, UNSTOP (reserved), YESNumber removed from the block list
HelpHELP (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

  1. Open your Messaging Service in the Console and choose Opt-out management.
  2. Click Enable advanced opt-out, then set the opt-out, opt-in and help keywords and the reply for each.
  3. 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

  1. Remove the number from your sending list, or mark it opted out in your own database, so you stop trying.
  2. If the person wants your messages again, ask them to text START to the same number.
  3. 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:

Common mistakes

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.