Universal codes that work on any phone
IMEI and handset
*#06#
Show the IMEI of the handset
etsi.org, read on December 5, 2026
These codes come from the GSM standard (3GPP TS 22.030), not from an operator, so they are the same on every network and in every country. Each one below is printed as it appears in the standard, and the line it comes from is quoted on this page. Your network still has to support the service: hiding your number, for example, can be refused on some lines.
IMEI and handset
The IMEI is the serial number of the handset. You need it to report a stolen phone, to have it blocked by your operator or to check a second-hand phone before buying it. *#06# shows it on screen without calling the network and costs nothing.
Caller ID
Type #31# just before the number you call to hide your number for that call only; *31# does the opposite when your line hides it by default. The standard calls this the temporary mode. Some networks refuse it on prepaid lines.
| Code | What it does |
|---|---|
| #31#NUMBER | Hide my number for one call (invoke CLIR)In temporary mode, to invoke CLIR for a single call enter: " # 31 # <called number> SEND " etsi.org, read on December 5, 2026 |
| *31#NUMBER | Show my number for one call (suppress CLIR)In temporary mode, to suppress CLIR for a single call, enter: " * 31 # <called number> SEND " etsi.org, read on December 5, 2026 |
Call barring
Call barring and a few other network services are protected by a password agreed with your operator. This code changes that password. If you never set one, ask customer care for the default first: wrong attempts can lock the service.
| Code | What it does |
|---|---|
| **03**OLD PASSWORD*NEW PASSWORD*NEW PASSWORD# | Change the common supplementary-services password** 03 ** OLD_PASSWORD * NEW_PASSWORD * NEW_PASSWORD # etsi.org, read on December 5, 2026 |
PIN and PUK
The PIN protects the SIM card when the phone starts; the PUK unblocks it after three wrong PINs. You type the old code once and the new code twice. Ten wrong PUK entries block the SIM for good, so ask your operator for the PUK instead of guessing. PIN2 and PUK2 protect a few settings such as fixed dialling numbers.
| Code | What it does |
|---|---|
| **04*OLD PIN*NEW PIN*NEW PIN# | Change the SIM PINPIN: **04*OLD_PIN*NEW_PIN*NEW_PIN# etsi.org, read on December 5, 2026 |
| **042*OLD PIN2*NEW PIN2*NEW PIN2# | Change the SIM PIN2PIN2: **042*OLD-PIN2*NEW_PIN2*NEW_PIN2# etsi.org, read on December 5, 2026 |
| **05*PUK*NEW PIN*NEW PIN# | Unblock the SIM PIN with the PUKPIN: **05*PIN_UNBLOCKING_KEY*NEW_PIN*NEW_PIN# etsi.org, read on December 5, 2026 |
| **052*PUK2*NEW PIN2*NEW PIN2# | Unblock the SIM PIN2 with the PUK2PIN2: **052*PIN2_UNBLOCKING_KEY*NEW_PIN2*NEW_PIN2# etsi.org, read on December 5, 2026 |
Other
The e-marking is an electronic label the manufacturer can store in the handset. Many phones answer *#07# with regulatory information instead, or with nothing at all.
How to read these codes
Codes that start with ** register a setting on your SIM or network; *# asks for information. Words in capitals are the parts you replace: the number you call, the old and new PIN, the PUK. Type the whole sequence in the dialler and press the call key. The phone answers with a short message such as “PIN changed”, “PIN blocked”, or the IMEI itself.
Why call forwarding codes are not listed here
The standard defines call forwarding, call waiting and call barring with a service number and a general syntax, but it never prints the finished codes. This site only publishes a code that is printed in full on an official page, so those codes appear on the pages of the operators that publish them, with their source. Look for your network by country.
Codes that are not universal
Lists found online often mix these standard codes with codes that only work on one brand of phone, such as test or service menus. Those depend on the manufacturer and on the software version, and some reset the phone. They are not listed here. Balance, data and recharge codes are not universal either: they belong to each operator. If a code from this page fails, the guide USSD code not working lists what to check.
Official source: 3GPP TS 22.030 · etsi.org, read on December 5, 2026
Questions
- What is the code to check the IMEI?
- *#06#. The phone shows its IMEI at once, without calling the network. A dual-SIM phone shows two IMEI numbers.
- How do I hide my number for one call?
- Type #31# followed by the number you are calling, then press call. Some operators do not allow it on prepaid lines.
- How do I change my SIM PIN?
- Dial **04*, the old PIN, *, the new PIN, *, the new PIN again, then #. In short: **04*OLD PIN*NEW PIN*NEW PIN#.
- My phone asks for a PUK. What do I do?
- Dial **05*PUK*NEW PIN*NEW PIN# with the PUK printed on your SIM holder or given by your operator. Do not guess: ten wrong PUK codes block the SIM for good.