Phone Secret Codes: Official Standard and Android Codes (2026)
Phone secret codes are short dial codes that start with * or #. Some come from the global GSM standard and work on almost any phone. Others are added by Android or by the phone maker.
Every code on this page is checked against its official source.
- *#06# shows your IMEI. It works on any phone, by standard.
- *#21# checks if your calls are forwarded. ##002# cancels all forwarding.
- *#*#4636#*#* opens Android’s Testing menu, if your phone maker kept it.

Four kinds of phone codes
Not every code works on every phone. It depends on who defined it.
| Kind | Defined by | Works on | Example |
|---|---|---|---|
| Standard | 3GPP TS 22.030 | Almost every mobile phone | *#06# |
| Android | Android source code | Android phones that keep the app | *#*#4636#*#* |
| Maker | Samsung, Apple and others | That brand only | *#0*# (Samsung) |
| Carrier | Your network | That network only | Balance and bundle codes |
Carrier codes differ by country and network. Check your carrier’s own website for them.
Codes that work on almost any phone
These come from 3GPP TS 22.030, the standard every GSM, 3G, 4G and 5G phone follows. Press Call after each one, except *#06#.
Phone info
| Code | What it does |
|---|---|
| *#06# | Shows the IMEI. The standard says it must work even with no SIM. |
| *#07# | Shows the e-label: regulatory marks. Only on phones that support it. |
Call forwarding
| Forward calls when | Turn on | Check | Turn off |
|---|---|---|---|
| Always | **21*number# | *#21# | ##21# |
| Busy | **67*number# | *#67# | ##67# |
| No answer | **61*number# | *#61# | ##61# |
| Unreachable | **62*number# | *#62# | ##62# |
| All forwarding | – | – | ##002# |
| All conditional | – | – | ##004# |
Think your calls are being forwarded?
Dial *#21# to check. Dial ##002# to cancel every type of forwarding at once.
Caller ID and call waiting
| Code | What it does |
|---|---|
| #31#number | Hides your number for one call |
| *31#number | Shows your number for one call |
| *#31# | Checks if your number is hidden |
| *#30# | Checks if you can see who is calling |
| *43# / #43# | Turns call waiting on / off |
| *#43# | Checks call waiting |
SIM PIN
| Code | What it does |
|---|---|
| **04*old PIN*new PIN*new PIN# | Changes the SIM PIN |
| **05*PUK*new PIN*new PIN# | Unblocks a locked SIM with the PUK |
The PUK comes from your carrier. Too many wrong PUK tries can lock the SIM for good.
How the code pattern works
The standard uses one pattern for every network service. Learn it once and you can read any code.

The number in the middle is the service. 21 is forwarding, 43 is call waiting and 33 is call barring.
Android secret codes
Android codes use the form *#*#code#*#*. The dialer passes the code to any app that listens for it.
| Code | Opens | Defined in |
|---|---|---|
| *#*#4636#*#* | Testing: Phone information, Usage statistics, Wi-Fi information | Android Settings app |
| *#*#225#*#* | Calendar info | Android Calendar provider |
Phone makers can remove these menus. If nothing opens, your phone does not include it.
Brand secret codes
Samsung
*#0*# opens the hardware test menu. See our full Samsung secret codes guide.
iPhone
iPhones support the standard codes above. See our iPhone secret codes guide.
What the official sources reveal: our analysis
We read the full standard and Android’s source code. Then we compared them with popular code lists.
The standard defines 31 service codes
Most are network services, not hidden menus. Call barring has the most codes.
Only two codes show phone info
The standard has just *#06# and *#07# for the phone itself. Every other info or test code was added by a maker.
Android ships very few codes
In Android’s own Settings and Calendar code, we found two codes: 4636 and 225. Long online lists mix in maker and old codes.
That is why many listed codes do nothing on your phone.
Phone codes not working?
Typed in the wrong place
Use the Phone app keypad. Search bars and calculators ignore codes.
Network code fails
Forwarding, barring and caller ID depend on your carrier. Ask them if the service is on your plan.
Maker code does nothing
The code is for another brand or an older model.
Be careful with reset codes
Some listed codes wipe the phone. Reset from Settings instead, where you get a warning.
Related guides
Read the standard yourself: 3GPP TS 22.030 on etsi.org. Android’s code is on source.android.com.
Phone secret codes: the full procedure
Frequently asked questions
What is the secret code to check if my phone is tapped?
No dial code can detect tapping. *#21# only shows if your calls are forwarded.
What does ##002# do?
It cancels all call forwarding on your line. It comes from the GSM standard.
How do I find my IMEI with a code?
Dial *#06#. It works on any mobile phone, even without a SIM.
Do secret codes work on every phone?
Standard codes do, if your carrier supports the service. Maker codes only work on that brand.
Are secret codes safe?
Info and check codes are safe. Avoid reset codes from unknown lists.
Axee Davies is the founder of AxeeTech, publishing gaming guides, codes, and Windows how-tos since March 2013. A tech enthusiast for 13+ years — starting with smartphones and Android rooting — he now runs a site that puts out a new guide every day for Roblox players, traders, and Windows users. More about AxeeTech
More Guides You May Like
The Ultimate Guide to TikTok Popularity: From Unknown to Unstoppable
How to Set Up a Network Printer in Windows 11/10: 6 Steps That Work
How to See Who’s Connected to Your WiFi: 5 Ways to Find Every Device
How to Back Up Files Over Network in Windows 11/10: 6 Reliable Ways
How to Set Up Screen Sharing at Home: 7 Easy Ways on Windows 11/10
Audio Troubleshooter Windows 11: How to Run It and What to Do When It Finds Nothing
mmsys.cpl: Open the Classic Sound Control Panel in Windows 11/10 (Every Command)