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.

Quick answer
  1. *#06# shows your IMEI. It works on any phone, by standard.
  2. *#21# checks if your calls are forwarded. ##002# cancels all forwarding.
  3. *#*#4636#*#* opens Android’s Testing menu, if your phone maker kept it.
Sources: 3GPP TS 22.030, Android source code, Samsung supportUpdated December 2026
Phone secret codes: hand dialing a code on a smartphone keypad
Dial codes in the Phone app, on the keypad.

Four kinds of phone codes

Not every code works on every phone. It depends on who defined it.

KindDefined byWorks onExample
Standard3GPP TS 22.030Almost every mobile phone*#06#
AndroidAndroid source codeAndroid phones that keep the app*#*#4636#*#*
MakerSamsung, Apple and othersThat brand only*#0*# (Samsung)
CarrierYour networkThat network onlyBalance 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

CodeWhat 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 whenTurn onCheckTurn 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

CodeWhat it does
#31#numberHides your number for one call
*31#numberShows 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

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

How a GSM phone code is built: *21# activate, #21# deactivate, *#21# check status, **21*number# register, ##21# erase
The five prefixes from 3GPP TS 22.030.

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.

CodeOpensDefined in
*#*#4636#*#*Testing: Phone information, Usage statistics, Wi-Fi informationAndroid Settings app
*#*#225#*#*Calendar infoAndroid 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

Phone secret codes infographic: open Phone app, dial *#06# for IMEI, *#21# to check forwarding, ##002# to cancel, #31# to hide number, *#*#4636#*#* test menu
The most useful standard codes on one page.

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.

More Guides You May Like

Leave a Reply

Your email address will not be published. Required fields are marked *