# #787# on iPhone: Check Scam Block Status (T-Mobile)

URL: https://byshahid.com/blog/check-scam-block-status-t-mobile-hash-787-iphone/
App: Secret Codes: IMEI & Carrier (https://apps.apple.com/us/app/secret-codes-imei-carrier/id6807154322)
Author: Muhammad Shahid
Updated: 2026-11-04

> #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](https://apps.apple.com/us/app/secret-codes-imei-carrier/id6807154322).

## 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. |

_Screenshot: The Secret Codes detail screen shows the steps, the carriers and an Open in Phone button._

## Related caller id codes

- [#632#: Turn Off Scam Block (T-Mobile)](/blog/turn-off-scam-block-t-mobile-hash-632-iphone/)
- [Show My Caller ID Switch](/blog/hide-caller-id-iphone/)
- [#662#: Turn On Scam Block (T-Mobile)](/blog/turn-on-scam-block-t-mobile-hash-662-iphone/)
- [Silence Unknown Callers](/blog/silence-unknown-callers-iphone/)
- [*#77#: Check Connected Line Restriction](/blog/check-connected-line-restriction-star-hash-77-iphone/)
- [Manage Blocked Numbers](/blog/manage-blocked-numbers-iphone/)

See all [caller id codes](/blog/iphone-codes/caller-id/) or [every category of iPhone codes](/blog/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.

**Secret Codes: IMEI & Carrier** is free on the App Store: https://apps.apple.com/us/app/secret-codes-imei-carrier/id6807154322

## FAQ

### 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.

## Sources

- [3GPP TS 22.030: Man-Machine Interface of the phone](https://www.3gpp.org/dynareport/22030.htm)
- [Apple Support: iPhone User Guide](https://support.apple.com/guide/iphone/welcome/ios)

