HappyTools

USSD & MMI codes

Phone Secret Codes

Handy codes you can type in your phone's dialer to show your IMEI, manage call forwarding and caller ID, or open hidden test menus.

Use with care

Codes depend on your phone model and carrier, and some carriers charge for forwarded calls. Never dial codes sent to you by strangers. This list leaves out codes that reset or wipe a phone.

Filter by platform

Device information

  • *#06#

    Shows your phone's IMEI number (and the second IMEI on dual-SIM phones). Works on every phone.

    All phones
  • *#1234#

    Shows the firmware (software) version on Samsung phones.

    Samsung
  • *#0228#

    Shows battery status and voltage on Samsung phones.

    Samsung
  • *#07#

    Shows the phone's SAR (radio frequency exposure) values on Samsung and some other phones.

    Samsung
  • *#5005*7672#

    Shows the SMS service center number used to send text messages.

    iPhone

Call forwarding

  • *#21#

    Checks whether all incoming calls are forwarded to another number.

    All phones
  • *#62#

    Shows where calls go when your phone is off or out of coverage.

    All phones
  • *#67#

    Shows where calls go when you're already on a call.

    All phones
  • *#61#

    Shows where calls go when you don't answer.

    All phones
  • ##002#

    Cancels every kind of call forwarding. Useful if calls are going somewhere you didn't set up.

    All phones

Call waiting & caller ID

  • *#43#

    Checks whether call waiting is turned on.

    All phones
  • *43#

    Turns call waiting on.

    All phones
  • #43#

    Turns call waiting off.

    All phones
  • #31#<number>

    Type #31# before a number to hide your caller ID for that one call.

    All phones
  • *#31#

    Checks whether your number is shown or hidden when you call.

    All phones

SIM card

  • **04*<old PIN>*<new PIN>*<new PIN>#

    Changes the PIN code of your SIM card.

    All phones
  • **05*<PUK>*<new PIN>*<new PIN>#

    Unblocks a SIM card after too many wrong PINs, using the PUK code from your carrier.

    All phones

Diagnostic menus

  • *#*#4636#*#*

    Opens the Android testing menu with phone, network and Wi-Fi information. Not available on every Android phone.

    Android
  • *#*#426#*#*

    Opens Firebase Cloud Messaging diagnostics, useful when notifications arrive late.

    Android
  • *#0*#

    Opens Samsung's hardware test menu to check the screen, touch, speakers and sensors.

    Samsung
  • *3001#12345#*

    Opens Field Test Mode with detailed signal strength and cell tower information.

    iPhone

Codes in angle brackets need your own values, e.g. #31#5551234 hides your number when calling 5551234. Standard codes come from the GSM (3GPP) specification and work on most networks.

Related tools