Secret Codes guide
#664# on iPhone: Turn On T-Mobile Scam ID
By Muhammad Shahid · · 3 min read
Quick answer
#664#: #ONI# — label suspected scam calls without blocking them. 664 spells ONI. Scam ID is the lighter half of T-Mobile Scam Shield: suspected scam calls still ring, but arrive labelled as Scam Likely so you can decide for yourself. It is the sensible setting if you take calls from numbers you do not recognise for work, because nothing is silently discarded.
| Code | #664# |
|---|---|
| What it does | #ONI# — label suspected scam calls without blocking them. |
| Published for | T-Mobile |
| Type | Carrier specific |
#ONI# — label suspected scam calls without blocking them. This page explains what #664# 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 #664# do?
664 spells ONI. Scam ID is the lighter half of T-Mobile Scam Shield: suspected scam calls still ring, but arrive labelled as Scam Likely so you can decide for yourself.
It is the sensible setting if you take calls from numbers you do not recognise for work, because nothing is silently discarded. Scam Block, the stronger option, refuses the calls outright.
Scam ID is free and included on T-Mobile consumer lines. It works at the network level, so it applies before the call reaches the iPhone.
How do I use #664#?
- Open the Phone app and tap Keypad.
- Type #664# 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 consumer lines. Business and some wholesale lines are provisioned differently. |

Related more carrier and n11 codes
- #999#: T-Mobile Prepaid Account Balance
- #634#: Turn Off T-Mobile Scam ID
- #2535#: T-Mobile Bill Ready Notification
- #436#: T-Mobile Inbound Caller ID Name
- #763#: Turn Off T-Mobile International Data Roaming
- +1-505-998-3793: T-Mobile Support From Overseas
See all more carrier and n11 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 #664# do on iPhone?
#ONI# — label suspected scam calls without blocking them. 664 spells ONI. Scam ID is the lighter half of T-Mobile Scam Shield: suspected scam calls still ring, but arrive labelled as Scam Likely so you can decide for yourself.
What else should I know about #664#?
It is the sensible setting if you take calls from numbers you do not recognise for work, because nothing is silently discarded. Scam Block, the stronger option, refuses the calls outright. Scam ID is free and included on T-Mobile consumer lines. It works at the network level, so it applies before the call reaches the iPhone.
What are the steps for #664#?
1. Open the Phone app and tap Keypad. 2. Type #664# exactly as written. 3. Press the green Call button and wait for the result.
Where do I use #664#?
On the keypad of the Phone app.
Do I need to press Call after typing #664#?
Yes. Type it on the Phone keypad, then press the green Call button.
Is #664# 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 #664# work on?
It is published for T-Mobile. T-Mobile consumer lines. Business and some wholesale lines are provisioned differently.
Does #664# 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 #664# 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 #664# 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 #664#?
#999#: T-Mobile Prepaid Account Balance. The prepaid balance code, distinct from postpaid #BAL#.
What else is in this category?
#634#: Turn Off T-Mobile Scam ID. Stop labelling calls as Scam Likely.