Dial codes
Codes that work on every phone: IMEI, call forwarding, hidden number
Short version
*#06#shows your phone's IMEI — it works on absolutely any phone and appears by itself, without the call key.- Display-only codes (
*#21#,*#61#,*#67#,*#62#,*#43#) are safe: they ask the network a question and change nothing. - Forwarding is set with
*21*number#and its family;##002#cancels every active divert at once. - Call waiting:
*43#turns it on,#43#turns it off. Hidden number for one call:#31#before the number. - No code shows "who is tapping your phone" — that's a myth. The
*#21#answer only talks about forwarding.
What these codes actually are
They are network codes — technically, codes for the GSM supplementary services. You type them into the Phone app like a normal number, press the call key and they go straight to your carrier's network, which answers with a small pop-up on screen. It's the network that executes them, not the phone — which is why they work identically on any make, from Samsung and iPhone to Xiaomi or a keypad phone.
The codes are standardised: the same digits mean the same thing at Orange, Vodafone or Digi. What differs between carriers is whether the service is active on your plan and how the answer is worded. They need signal — with no coverage they go nowhere.
- Display-only codes — shaped
*#…#— ask the network a question: a service's status or your IMEI. Type them freely, they change nothing. - Codes that change something — those starting with
*or**, like**21*number#— switch, stop or erase a network setting. Check what each does before dialling it.
Note
*#06#, which shows the IMEI by itself the moment you type the last hash.*#06#: the code that shows your IMEI
The IMEI is your phone's unique number — 15 digits that identify it on the network, like a registration plate. Repair shops ask for it, the police need it for a theft report, you check it for warranty, and it's the first thing to look at when buying a used phone.
Open the Phone app's keypad
The same keypad you'd use to dial a number.
Type
*#06#After the last hash, the IMEI screen appears by itself — nothing else to press.
IMEIIMEI 1: 35 678910 234567 8IMEI 2: 86 123456 789012 3Phone keypad. Dial the code *#06#. After dialling you see: IMEI. IMEI 1: 35 678910 234567 8. IMEI 2: 86 123456 789012 3
Write it down and keep it away from the phone
A screenshot emailed to yourself or saved to the cloud is enough. If the phone is stolen, the IMEI is the only way to identify it.
On dual-SIM phones you see one IMEI per slot — IMEI 1 and IMEI 2 — and on eSIM models an EID may appear too, the number of the embedded SIM. The same IMEI also lives in settings (on iPhone: Settings → General → About), on the SIM tray on many models and on the phone's box. What you can learn from it — the exact model, warranty, whether it's carrier-locked — is covered in the IMEI check guide.
Tip
*#06# needs a working phone.The codes that only ask the network
The safe family: every code shaped *#…# asks the network for a service's status and shows it in a pop-up. It changes nothing, so you can type them out of curiosity or when you suspect a setting is wrong.
*#30#DialChecks whether the network sends you the caller's number
Works on: All GSM networksSome networks don't answer it.*#31#DialChecks whether your number is hidden on outgoing calls
Works on: All GSM networksSome networks don't answer it.| Code | What it does | Works on | Actions |
|---|---|---|---|
*#06# | Shows the phone's IMEI — and the EID on eSIM models | All phones | Dial |
*#21# | Checks whether all incoming calls are forwarded, and where to | All GSM networks | Dial |
*#61# | Checks where calls you don't answer are sent | All GSM networks | Dial |
*#67# | Checks where calls go when you're busy | All GSM networks | Dial |
*#62# | Checks where calls go when you're off or out of signal | All GSM networks | Dial |
*#43# | Checks whether call waiting is on or off | All GSM networks | Dial |
*#30# | Checks whether the network sends you the caller's numberSome networks don't answer it. | All GSM networks | Dial |
*#31# | Checks whether your number is hidden on outgoing callsSome networks don't answer it. | All GSM networks | Dial |
Phone keypad. Dial the code *#21#. After dialling you see: Call forwarding. Voice: not forwarded. Video: not forwarded. SMS: not forwarded
*#21#: one line per call type. "Not forwarded" means nothing is active — the normal result.The answer arrives within seconds, in a small pop-up. The wording differs by carrier and phone — on many it's in English whatever the system language, and that's normal. The meaning is the same: "forwarded to" followed by a number means forwarding is on, "not forwarded" means it isn't.
Call forwarding: check, set, cancel
Forwarding sends incoming calls to another number or to voicemail — useful when you don't want to be disturbed, when the battery dies or when you're away. The GSM standard defines four situations: all calls, when you don't answer, when you're busy and when the phone is off or out of signal.
Check what's active first
Dial
*#21#for all calls, then*#61#,*#67#and*#62#for the conditional ones. Note what it says before you change anything.Type the code with the full number
At the end of the code goes the destination number, best written in international format with
+40— the leading-zero form is refused by some networks. For example*21*+40XXXXXXXXX#.Press the call key and read the answer
The network confirms in a pop-up within seconds. You need coverage when setting it — with no signal the change doesn't register.
Cancel with
##…#when you no longer need it##21#stops forwarding of all calls,##61#,##67#,##62#stop the conditional ones, and##002#erases them all at once.Call forwardingErasure was successful.
OKPhone screen: Call forwarding. Erasure was successful. [OK]
Check again with
*#21#The last step is verification: the check codes above tell you whether the setting registered the way you wanted.
On carriers' help pages the same codes are often written with ** at the start — **21*number# is the standard's "registration" form, *21*number# the "activation" one, both defined by the GSM standard. In practice the network treats them the same: both switch forwarding on to the number given. +40XXXXXXXXX in the table is the destination number, written in international format:
*21*+40XXXXXXXXX#Forwards all incoming calls to the destination number
The phone won't ring at all until you cancel; calls leave straight away.##21#Cancels forwarding of all calls
*61*+40XXXXXXXXX#Forwards calls you don't answer
It can replace the default divert to voicemail — check afterwards.**61*+40XXXXXXXXX**20#Same, but the call leaves only after ~20 seconds
The time can be 5 to 30 seconds, in steps of 5; leave it out for the network's default.##61#Cancels the no-answer divert
*67*+40XXXXXXXXX#Forwards calls that arrive while you're busy
##67#Cancels the busy divert
*62*+40XXXXXXXXX#Forwards calls when you're off or out of signal
##62#Cancels the unreachable divert
##002#Cancels every forwarding setting at once
Erases all diverts, including the one to voicemail — check that voicemail still answers afterwards.| Code | What it does | Works on | Actions |
|---|---|---|---|
*21*+40XXXXXXXXX# | Forwards all incoming calls to the destination numberThe phone won't ring at all until you cancel; calls leave straight away. | — | |
##21# | Cancels forwarding of all calls | — | |
*61*+40XXXXXXXXX# | Forwards calls you don't answerIt can replace the default divert to voicemail — check afterwards. | — | |
**61*+40XXXXXXXXX**20# | Same, but the call leaves only after ~20 secondsThe time can be 5 to 30 seconds, in steps of 5; leave it out for the network's default. | — | |
##61# | Cancels the no-answer divert | — | |
*67*+40XXXXXXXXX# | Forwards calls that arrive while you're busy | — | |
##67# | Cancels the busy divert | — | |
*62*+40XXXXXXXXX# | Forwards calls when you're off or out of signal | — | |
##62# | Cancels the unreachable divert | — | |
##002# | Cancels every forwarding setting at onceErases all diverts, including the one to voicemail — check that voicemail still answers afterwards. | — |
Warning· Forwarding isn't free everywhere
Note
The same setting exists without codes. On iPhone it's under Settings → Apps → Phone → Call Forwarding (on older iOS versions, directly under Settings → Phone); on Android, the path is the Phone app → Settings → the SIM's calling settings, called Calling accounts or Supplementary services on some models.
Menu path, screen by screen: 1. Settings: Airplane Mode (off); Wi-Fi — HomeNet; Bluetooth — On; Cellular; Personal Hotspot; Apps ←. 2. Apps: Passwords; Phone ←; Photos; Podcasts; Reminders; Safari. 3. Phone: [Calls] Call Forwarding ←; Call Waiting; Show My Caller ID. 4. Call Forwarding: Call Forwarding (off); Forward To ←
Call waiting and the hidden number
Call waiting alerts you with a short beep that someone is calling while you're already talking — you can answer, decline or ignore without losing the ongoing call. Orange confirms the codes in the table; with the option off, calls that arrive during a call go straight to voicemail.
*43#Turns call waiting on
On dual-SIM phones it applies to the SIM you dial it from.#43#Turns call waiting off
With it off, calls arriving during a call go straight to voicemail.#31#+40XXXXXXXXXHides your number only for the call dialled after the code
Works only if your carrier allows a hidden identity — at Orange it isn't available on prepaid.*31#+40XXXXXXXXXShows your number for one call, if your plan hides it by default
Only on plans where the number is normally hidden.| Code | What it does | Works on | Actions |
|---|---|---|---|
*43# | Turns call waiting onOn dual-SIM phones it applies to the SIM you dial it from. | — | |
#43# | Turns call waiting offWith it off, calls arriving during a call go straight to voicemail. | — | |
#31#+40XXXXXXXXX | Hides your number only for the call dialled after the codeWorks only if your carrier allows a hidden identity — at Orange it isn't available on prepaid. | — | |
*31#+40XXXXXXXXX | Shows your number for one call, if your plan hides it by defaultOnly on plans where the number is normally hidden. | — |
Phone keypad. Dial the code #31#0722123456.
#31# straight before the number you want to call — you're hidden only for that call.For a permanently hidden number you don't need any code: it's a phone setting. On iPhone it lives under Settings → Apps → Phone → Show My Caller ID — and if the option is missing or greyed out, Apple says to ask your carrier, because the service depends on them. On Android you'll find it in the call settings too, usually under Supplementary services.
Phone screen: Hidden number
Note
The tapped-call myth and common mistakes
The myth has been going around for years: "dial *#21# to see if you're being tapped." There's no such thing — the code only shows where your calls would be forwarded, an ordinary service that voicemail itself uses daily. If the answer is "not forwarded", that's perfectly normal. If it shows a number you don't recognise, cancel it with ##002# and call your carrier.
Warning· Never forward calls to a number dictated by a stranger
Typed the code correctly and nothing happens, or you get an error? The usual causes:
- No signal — the codes reach the network, they don't stay inside the phone.
- Your carrier doesn't support the service on your plan — prepaid plans usually have limits.
- Dual SIM — the code applies to the SIM you dial it from; check which line is set for calls.
- A typing mistake — a missing
*or#and the code is treated like a normal number.
There's no code that "tells you if you're being tracked" — the real signs are different: a battery draining for no reason, unknown apps, suspicious data traffic. They're detailed in the guide about spied-on phones. And each maker's test codes are separate: Samsung, iPhone, Android's hidden info menu, plus the useful codes of Romanian carriers.
Frequently asked questions
How do I find my phone's IMEI?
*#06# in the phone app — the IMEI screen appears by itself, on any make. Otherwise it's in settings (on iPhone: Settings → General → About), on the SIM tray on many models and on the phone's box.What does the code *#21# do?
How do I cancel all forwarding at once?
##002# followed by the call key — that's what Orange recommends too. It erases every active divert, including the ones to voicemail; afterwards, check that voicemail still picks up missed calls.Is there a code that shows if my phone is tapped?
*#21# myth misreads the result; the real signs of spying are different.How do I call with a hidden number just once?
#31# right before the number you dial, then press call — your number is hidden only for that call, and only if your carrier allows the service. For a permanently hidden number there's a phone setting.Why does a code answer with an error, or not at all?
Do these codes work on iPhone too?
Does your phone look different, or is something missing here?
Menus and buttons differ from model to model and change with updates. If these steps do not match your phone or you cannot find what you need, tell us your model and what you see on the screen: we will answer you and update the guide.
Checked against
- Orange România — Opțiuni de apel
- Apple — Configurarea redirecționării apelurilor pe iPhone
- Apple — Configurarea apelurilor în așteptare pe iPhone
- Apple — Cum să-ți ascunzi numărul propriu pe iPhone
- Apple — Găsirea numărului de serie sau numărului IMEI pe iPhone
- Vodafone — How do I manage call diverts?
- GSMA — Device Check: întrebări frecvente
- 3GPP TS 22.030 — Man-Machine Interface of the User Equipment
Related guides
IMEI check: what it tells you and where to find it
Where to find your IMEI, what it reveals and how a stolen phone gets blocked — plus the format checker on this page.
10 min · Anyone can do it
Samsung test codes: *#0*# and the rest, explained
Samsung's hidden test menu: *#0*#, the safe information codes and the ones best left to a repair shop.
15 min · Needs care
iPhone codes and Field Test mode
No hidden test menu on iPhone — what actually works: Field Test for signal, network codes and Apple's own diagnostics.
10 min · Anyone can do it
Useful operator codes in Romania: credit, data left, options
Credit, data left and your own number, without an app and without internet — the short codes from Orange, Vodafone and Digi.
10 min · Anyone can do it
Signs someone is spying on your phone, and what to check
Someone reading your messages or seeing your location? The checks that actually matter, on Android and iPhone.
20 min · Needs care
Android's hidden info menu *#*#4636#*#*: signal, network and forcing 4G or 5G
The *#*#4636#*#* code opens Android's testing menu: real signal numbers, network type and how to force 4G/5G — plus the risks.
10 min · Needs care
Did a test flag a problem?
Tell us what you found and we'll quote the repair.