Secret Codes guide
#787# on iPhone: Check Scam Block Status (T-Mobile)
By Muhammad Shahid · · 3 min read
Quick answer
#787#: Find out whether Scam Block is currently on. Reports whether Scam Block is active on your line without changing the setting. T-Mobile lines.
| Code | #787# |
|---|---|
| What it does | Find out whether Scam Block is currently on. |
| Published for | T-Mobile |
| Type | Carrier specific |
Find out whether Scam Block is currently on. This page explains what #787# does, how to use it on an iPhone and which carriers it applies to.
I build Secret Codes: IMEI & Carrier, a free iPhone app with 317 checked codes and guides, including this one. If you would rather tap than memorise, get Secret Codes on the App Store.
What does #787# do?
Reports whether Scam Block is active on your line without changing the setting.
How do I use #787#?
- Open the Phone app and tap Keypad.
- Type #787# exactly as written.
- Press the green Call button and wait for the result.
Which carriers does this apply to?
| Published for | T-Mobile |
|---|---|
| Type | Carrier specific |
| Good to know | T-Mobile lines. |

Related caller id codes
- #632#: Turn Off Scam Block (T-Mobile)
- Show My Caller ID Switch
- #662#: Turn On Scam Block (T-Mobile)
- Silence Unknown Callers
- *#77#: Check Connected Line Restriction
- Manage Blocked Numbers
See all caller id codes or every category of iPhone codes.
How Secret Codes helps
Secret Codes keeps this and every other entry a search away. Pick your carrier once and each entry says whether it is published for your line. You can save favourites, add a private note, and record whether a code worked on your line.
Frequently asked questions
What does #787# do on iPhone?
Find out whether Scam Block is currently on. Reports whether Scam Block is active on your line without changing the setting.
What are the steps for #787#?
1. Open the Phone app and tap Keypad. 2. Type #787# exactly as written. 3. Press the green Call button and wait for the result.
Where do I use #787#?
On the keypad of the Phone app.
Do I need to press Call after typing #787#?
Yes. Type it on the Phone keypad, then press the green Call button.
Is #787# a hidden or secret code?
No. It is a published service, not a hidden menu. iPhones do not have Android-style engineering menus.
Which carriers does #787# work on?
It is published for T-Mobile. T-Mobile lines.
Does #787# work on Android phones too?
It is handled by the carrier or service rather than the iPhone, so it is not tied to one phone brand. Check with your carrier.
Will #787# work outside the US?
It is published for US carriers and services, so do not count on it abroad. Ask your carrier before you travel.
What if #787# does not work on my iPhone?
Check that it applies to your carrier first, because carriers decide which services they offer and can change them. If it should apply to your line, contact your carrier.
What is related to #787#?
#632#: Turn Off Scam Block (T-Mobile). Let flagged calls through again.
What else is in this category?
Show My Caller ID Switch. The permanent caller ID toggle built into iOS.
Can I find #787# in an app?
Yes. Secret Codes, a free iPhone app, includes it with its steps and carrier details.