iPhones have far fewer secret codes than Android phones, and a lot of the lists online are full of codes that stopped working years ago. I’ve kept this list to the codes that still do something on current iPhones running iOS 18 and iOS 26, and explained what each one is actually useful for.
iPhone Codes That Work
| Code | What it does |
|---|---|
| *3001#12345#* | Opens Field Test Mode with detailed signal and network info
Note: Press call button after dialling the code |
| *#06# | Shows IMEI, MEID and EID numbers |
| *#07# | Shows legal and regulatory information |
| *#21# | Checks if call forwarding is on |
| ##002# | Turns off all call forwarding |
| *#31# | Checks if your number is hidden on outgoing calls |
| #31#number | Hides your number for one call (carrier dependent) |
| *#43# | Checks if call waiting is on |
| *43# / #43# | Turns call waiting on / off |
| *#33# | Checks call barring status |
Open the Phone app, tap Keypad, type the code and press the green call button. Unlike Android, most iPhone codes need you to press call.
*3001#12345#*: Field Test Mode
This is the closest thing an iPhone has to an engineering menu, and the most useful code on this list. It shows your real signal strength as a number, which is far more accurate than the signal bars.
- Turn off Wi-Fi so the iPhone reports its mobile connection.
- Dial *3001#12345#* and press call.
- Look for RSRP, usually under LTE or NR (5G) and the serving cell section. That’s your signal strength in dBm.
[ADD SCREENSHOT: Field Test Mode on an iPhone showing RSRP]
Here’s how to read the number. It’s always negative, and closer to zero is better:
| RSRP | Signal quality |
|---|---|
| -80 or higher | Excellent |
| -80 to -90 | Good |
| -90 to -100 | Fair, may be slower indoors |
| Below -100 | Poor, expect dropped calls and slow data |
This is really handy when you’re choosing which room to work in, testing a new network before switching, or finding the best spot for a phone on a call. Walk around with Field Test open and watch the number change.
The old trick of keeping the dBm number in the status bar instead of bars no longer works on modern iOS. You have to open Field Test each time.
*#06#: Your IMEI
Shows your IMEI, plus the EID if your iPhone supports eSIM. You’ll need the IMEI to report a stolen phone, check if a phone is blacklisted before buying it, or register it with your network. You can also find it in Settings > General > About.
Call Forwarding Codes: Check If Your Calls Are Being Diverted
If people say your phone goes straight to voicemail, or you’re worried someone has set up forwarding on your number, dial *#21#. It shows whether calls are being forwarded and to which number. To cancel every kind of forwarding at once, dial ##002#.
These are network codes, so they work the same on any phone and depend on your carrier.
Caller ID and Call Waiting
Dial *#31# to see whether your number is shown or hidden when you call people. To hide your number for a single call, dial #31# followed by the number. Not every carrier supports this, so you can also go to Settings > Apps > Phone > Show My Caller ID.
Call waiting codes work the same way: *#43# to check, *43# to turn it on and #43# to turn it off.
Carrier Balance Codes
Many carriers have their own codes for checking your balance or data. In the US, for example, AT&T uses *225#, Verizon uses #225 and T-Mobile uses #225#. If you’re elsewhere, check your carrier’s website.
Codes That No Longer Work
You’ll see codes like *#0*# (hardware test), *3370# (call quality) and *#5005*7672# (SMS centre) on older lists. On current iPhones these either do nothing or depend entirely on your carrier. Apple has removed hidden hardware tests from iOS, and hardware diagnostics now run through Apple Support instead.
Bonus: Useful Hidden Info Without Codes
- Battery health: Settings > Battery > Battery Health & Charging shows maximum capacity.
- Battery cycle count: on iPhone 15 and newer, it’s in Settings > General > About.
- Parts history: Settings > General > About > Parts and Service History shows if the battery, screen or camera has been replaced, which is great for checking used iPhones.
Frequently Asked Questions
Is there a secret code to test iPhone hardware?
Not anymore. Apple doesn’t include a hardware test code. For diagnostics, contact Apple Support, who can run a remote test on your iPhone.
Can these codes damage my iPhone?
No. They only show information or change call settings, which you can always switch back.
Why does a code show an error?
Call related codes depend on your carrier. If your carrier doesn’t support a feature, you’ll see a “Setting Activation Failed” message.
Android user? See our list of Android secret codes.