iPhone: Secret Codes, Hardware Tests and Battery Health (2026 Guide)
Share
Unlike old Nokia phones, iPhones have no true "secret codes" to hack the system. However, there are USSD codes (Unstructured Supplementary Service Data) that are very useful for diagnostics, call management, and checking a used phone. This guide collects all verified codes with safety warnings.
⚠️ Warning: Codes marked with ✅ are safe and do not modify your phone. Codes with 🟡 require a SIM PIN or change settings. Never enter codes you do not understand.
1. Universal Codes (Work on all iPhones)
| Code | Function | Safety |
|---|---|---|
*#06# |
Shows the IMEI number (and EID if you have an eSIM) | ✅ Safe |
*3001#12345#* |
Field Test Mode: opens a technical menu with signal strength (dBm) and network details | ✅ Safe (read-only) |
*#43# |
Checks Call Waiting status | ✅ Safe |
*#21# |
Checks Call Forwarding status | ✅ Safe |
##002# |
Cancels all call forwarding | ✅ Safe |
2. Call Management Codes
| Code | Function | Notes |
|---|---|---|
#31# + number |
Makes an anonymous call (hides your number) | ✅ Safe (for that call only) |
*#31# |
Checks if your number is hidden | ✅ Safe |
*33*PIN# |
Bars all outgoing calls | 🟡 Requires SIM PIN |
#33*PIN# |
Unbars outgoing calls | 🟡 Requires SIM PIN |
3. The Field Test Mode Trick (for advanced users)
The code *3001#12345#* is the most interesting for checking signal quality. Once activated, look for the RSRP (Reference Signal Received Power) value:
| RSRP Value | Signal Quality |
|---|---|
| -50 to -80 dBm | Excellent |
| -80 to -90 dBm | Good |
| -90 to -100 dBm | Medium/weak |
| -100 to -110 dBm | Poor |
| Below -110 dBm | Very poor (coverage issue, not the phone) |
This helps you understand if a reception issue is due to the phone, the area, or the carrier.
4. Battery Health (NOT a secret code)
Warning: There is no USSD code to check iPhone battery health. This is one of the most common searches, but the check is done exclusively from:
Settings > Battery > Battery Health
Here you will see:
-
Maximum Capacity: battery health percentage (below 80% needs replacement).
-
Peak Performance Capability: indicates if the battery supports maximum load.
-
Cycle Count (iPhone 15 and later only): the number of complete charge cycles.
5. What is NOT a Secret Code (Beware of Scams)
-
Unlocking a locked iPhone (Carrier/iCloud): There is no code. If carrier-locked, only the carrier can unlock it. If iCloud-locked, you need the original account password or proof of purchase for Apple Support. Beware of sites promising "magic codes": they are scams.
-
Factory Reset: There is no USSD code to reset an iPhone. Restore must be done from Settings or a computer (iTunes/Finder).