The "message forwarding deactivate code" is the short USSD code you dial from the phone that receives forwarded messages to stop them arriving. The exact code depends on your carrier and which forwarding service is active, but the common ones are ##21# to cancel unconditional forwarding, ##002# to cancel every forwarding rule at once, and ##004# or #004# to cancel conditional forwarding such as busy, no answer or unreachable. Dial the code, press call, and you will usually see a confirmation message on screen. If the code is rejected, the forwarding is more likely set inside an app (a call-forwarding app, a VoIP number, a PBX or a messaging platform) and has to be switched off there instead.

The menu labels and even the codes below can differ slightly by carrier, region, phone model and OS version, so treat them as a starting point and confirm with your carrier's own help pages if one is refused.

What You'll Need

  • The phone that is currently receiving the forwarded messages, unlocked and with a working SIM
  • Your carrier's name, so you can check its support page for the exact code
  • The phone's dialer app (the one you use to make calls), not a contact card or a browser
  • A note of the number the messages are being forwarded to, in case you need to confirm the rule was removed
  • Access to any app or account that might be doing the forwarding (VoIP app, business phone system, carrier account login)

Step-by-Step

  1. Confirm the forwarding exists. Dial #21# and press call. Most networks reply with the current status of unconditional forwarding, showing the number messages are going to or saying it is not active. Dial #002# to list all forwarding rules at once where supported.
  2. Cancel everything first, then narrow down if you prefer. Dial ##002# and press call. This removes unconditional and conditional forwarding in one go on most GSM networks. If your carrier only allows individual cancels, use the next step.
  3. Cancel one rule at a time. Use ##21# for all-calls forwarding, ##61# for no-answer, ##62# for unreachable, ##67# for busy, and ##61#-style variants as your carrier documents them. Each should return a confirmation such as "forwarding cancelled" or "deactivated".
  4. Check the phone's own settings. On iPhone, open Settings > Phone > Call Forwarding and turn the switch off. On Android, open the Phone app, tap the three-dot menu, then Settings > Calls > Call forwarding (the path varies by manufacturer) and set each option to off or "disabled".
  5. Look for message-specific forwarding, which is separate. Call forwarding codes affect calls. SMS forwarding is usually handled by the carrier (some offer a forwarding feature in the account portal), by a third-party app with SMS permissions, or by a business phone system. Open your carrier account or app and check the messaging or add-on features list.
  6. Turn off app-based forwarding. If you use a VoIP or virtual-number app, open it, find the number's settings, and disable call or message forwarding there. Removing the app without cancelling the rule can leave the forwarding running on the network side.
  7. Verify. Dial #21# again and confirm the status now says not active or shows no number. Ask someone to call and text you and confirm both arrive on the handset.
  8. Restart the phone. A reboot forces the handset to re-read the network settings and clears a stale forwarding icon from the status bar.

Common Mistakes

  • Dialling the code as a normal number. The hashes and asterisks must be typed exactly; some dialers strip them if you paste from a message. Type them by hand in the dialer.
  • Cancelling forwarding on the wrong phone. The code works on the SIM currently holding the rule. If forwarding was set on another device or SIM, run the code there.
  • Assuming ##002# covers messages. These codes are call-forwarding controls. Text forwarding through a carrier add-on often needs to be turned off in the account portal or by contacting support.
  • Uninstalling the forwarding app only. The network rule may persist, so cancel in the app first, then uninstall.
  • Missing a conditional rule. Unconditional forwarding looks off but calls still divert when busy or unanswered. Check each condition, or use the catch-all code.
  • Ignoring a business or PBX setup. If the number belongs to an office phone system, the forwarding lives in that system, not in the phone's dialer.

Tips

  • Write the codes down before you experiment. #21# checks status, ##21# cancels, and ##002# clears everything.
  • Most phones show a small forwarding arrow icon near the signal bars while a rule is active. Its absence after cancelling is a quick visual confirmation.
  • If you want forwarding only while travelling, switch it on when you land and cancel it when you are home, rather than leaving it on permanently.
  • Screenshot the confirmation message the network returns. It is useful proof if a carrier later disputes the rule.
  • Save the catch-all cancel code as a contact named "Cancel forwarding" so you can reach it in a hurry.
  • Keep the app list tidy: check which apps have SMS or phone permissions and remove access from anything you no longer use.

Troubleshooting

The code is rejected or does nothing. Some carriers block USSD codes from certain plans, prepaid accounts or while roaming. Try again on the home network, then check the carrier's help page for the exact code it uses. As a last resort, call customer service and ask them to remove the forwarding rule from your line.

The confirmation appears but forwarding continues. A conditional rule is probably still active. Run ##002# or cancel each condition separately, then restart the phone. If it persists, the forwarding is coming from an app or PBX rather than the SIM.

The forwarding icon stays on screen. Restart the phone. If the icon remains, toggle airplane mode on and off to force the phone to re-register with the network.

Messages still arrive at the other number. This is usually a carrier messaging feature, an email-to-SMS gateway or a business system. Log in to the carrier account and look for forwarding or divert options in the messaging section, or ask support to check the line's provisioning.

You cannot remember what you set up. Dial #21# and #002# to see the current rules. If the phone will not report them, the setup is almost certainly outside the SIM.

Frequently Asked Questions

What is the universal code to stop call forwarding?

##002# is the closest thing to universal on GSM networks and cancels unconditional and conditional forwarding in one step. Not every carrier supports it, so keep ##21# as a fallback.

Do these codes stop text message forwarding too?

Not usually. The USSD codes control call forwarding. Text forwarding is typically a carrier add-on, an app with SMS access, or part of a business phone system and has to be disabled in that place.

Is it safe to dial USSD codes?

Yes. They are free service codes read by your network and do not install anything. Ignore links or messages from anyone telling you to dial a code to "unlock" or "verify" an account; those are scams.

Why does my phone still forward calls after I cancelled?

Either a conditional rule remains, the phone has cached the old setting, or an app such as a VoIP service is redirecting the number. Cancel in the app, restart the phone, and recheck with #21#.

Can I deactivate forwarding from another phone?

Only if you put your SIM in that phone, because the code acts on the SIM in the handset. Otherwise use your carrier account portal or customer service to change it remotely.

Will cancelling forwarding delete my messages?

No. Cancelling only changes where future calls or texts are routed. Messages already delivered to another number stay where they were sent.