Tech & GadgetsOctober 20, 2026

Android secret codes are short star-and-hash combinations you type into your phone dialler to unlock hidden menus, run hardware diagnostics, and pull up device information you will not find in Settings. Type a code like *#06# and hit call, and your phone instantly shows its IMEI number — no app required.

Most of these codes have existed since the early days of Android, and dozens of them still work in 2026. This guide covers the most useful codes, grouped by what they do: device information, network and call settings, and hardware tests. You will also learn which dangerous codes to avoid, why some codes do nothing on your phone, and the difference between universal Android codes and manufacturer-specific ones.

What Are Android Secret Codes?

Android secret codes — sometimes called USSD or MMI codes — are special character sequences that trigger hidden functions when dialled. They were originally built for engineers and technicians to test phones on the factory line, but they were never removed from the consumer software. That is why anyone can open them today with nothing but the built-in Phone app.

Codes come in two flavours. Universal codes work on most Android phones regardless of brand: examples include the IMEI lookup and the phone-information menu. Manufacturer codes only work on specific brands — Samsung’s *#0*# diagnostic menu, for instance, does nothing on a Pixel or Motorola. Carrier-specific codes, like call-forwarding queries, depend on your mobile network rather than your phone model. That distinction explains most of the “this code didn’t work for me” comments you see online.

How to Use Android Secret Codes on Any Phone

Using a code takes about five seconds. Open your Phone app, switch to the dialler keypad, type the full code exactly as written — asterisks, hashes, and all — and tap the call button. Most codes run instantly; a few show the result the moment you finish typing the last character, without needing to press call at all.

  • Type the code exactly. One wrong digit or a missing # usually means nothing happens. Copy-paste from a trusted list rather than typing from memory.
  • Some codes show a menu, others just show data. Codes ending in *#*# tend to open menus; shorter codes like *#06# display information immediately.
  • If nothing happens, the code is blocked on your phone. Carriers and manufacturers disable certain codes. A silent dialler is not a malfunction — the code simply is not supported.
  • You cannot break your phone by viewing info. Codes that only display data are completely safe. The dangerous ones are those that reset or wipe the phone, which we flag clearly below.

The Most Useful Android Secret Codes for Device Information

These are the codes people reach for most often — checking an IMEI before buying a used phone, confirming firmware versions, or pulling Wi-Fi details for troubleshooting.

  • *#06# — Show IMEI number. The single most useful code. Your IMEI identifies your phone on mobile networks; you need it for warranty claims, insurance, and checking whether a used phone is blacklisted.
  • *#*#4636#*#* — Phone information and battery stats. Opens a hidden menu with battery history, usage statistics, and Wi-Fi information. On many phones it also shows a “Phone information” panel with signal strength and network type.
  • *#*#225#*#* — Calendar storage info. Shows how much storage your calendar data and events are using — handy when the Calendar app starts acting up.
  • *#*#426#*#* — Google Play services diagnostics. Opens the Firebase Cloud Messaging diagnostics page, useful when push notifications stop arriving.
  • *#*#34971539#*#* — Camera firmware details. Displays information about your camera hardware and firmware version.
  • *#*#232338#*#* — Show Wi-Fi MAC address. Displays your phone’s Wi-Fi MAC address, which some routers need for MAC filtering.
  • *#*#1234#*#* — Firmware and software versions. Shows the PDA, phone, CSC, and build time of your current software.
  • *#*#1111#*#* — FTA software version. Displays the software version of your device’s firmware test build.

Android phone showing IMEI and device information from Android secret codes

Secret Codes for Network and Call Settings

This group controls how calls behave on your network. They are short, easy to remember, and genuinely useful — hiding your caller ID on a single call, or checking where your calls are being forwarded.

  • *#31# — Check caller ID status. Shows whether your number is hidden when you call others.
  • #31# plus a number — Hide caller ID for one call. Dial #31# before the phone number to make a single call with your number hidden.
  • *43# — Activate call waiting. Turns on the call-waiting beep for incoming calls while you are on another call.
  • #43# — Deactivate call waiting. Switches call waiting back off.
  • *#67# — Check call forwarding when busy. Shows the number your calls forward to when your line is busy.
  • *#62# — Check forwarding when unreachable. Shows where calls go when your phone is off or out of coverage — usually your voicemail.
  • *#21# — Check all call forwarding. Displays the full status of unconditional and conditional call forwarding.
  • ##002# — Cancel all call forwarding. Clears every forwarding rule at once — useful after travelling or switching carriers.
  • **05*# — Unblock with PUK code. Opens the screen for entering your SIM’s PUK code after too many wrong PIN attempts. Only use this if you know your PUK; your carrier can provide it.

Hidden Codes for Testing Your Hardware

Before buying a used phone — or when something feels broken — these diagnostic codes test individual components without installing any app. Run them in a shop before you hand over money, and a dead sensor or speaker shows up in seconds instead of days later.

  • *#0*# — Samsung diagnostic menu. The famous one: opens a grid of tests for the display, touch, sensors, speakers, camera, and vibration. Samsung phones only.
  • *#*#0588#*#* — Proximity sensor test. Checks the sensor that turns your screen off during calls.
  • *#*#0842#*#* — Vibration and backlight test. Runs the vibration motor and screen backlight through a test cycle.
  • *#*#0289#*#* — Audio melody test. Plays test tones through the speaker to check audio output.
  • *#*#0283#*#* — Packet loopback test. Tests data packet transmission, useful for diagnosing connectivity quirks.
  • *#*#2663#*#* — Touchscreen version info. Displays the touchscreen firmware version on supported devices.
  • *#*#3264#*#* — RAM version info. Shows the RAM hardware version on supported devices.
  • *#*#232339#*#* — Wi-Fi test. Runs a quick test of the Wi-Fi radio.

Hand typing an Android secret code into the phone dialler keypad

Dangerous Codes You Should Never Dial

Not every code is harmless. A small number perform a factory reset — wiping all your apps, photos, and accounts — the instant they are dialled, with no confirmation screen in some cases. Memorise these so you never type them by accident:

  • *2767*3855# — Full factory reset. Wipes the phone completely and reinstalls firmware. There is no undo.
  • *#*#7780#*#* — Factory data reset. Erases all apps, settings, and accounts, restoring the phone to its out-of-box state.
  • *#*#7594#*#* — Change power button behaviour. Not destructive, but it silently changes what a long-press of the power button does, which can be confusing.

If you are following a code list from a random website, cross-check anything that looks like a reset code before dialling it. Legitimate testing and information codes never delete your data.

Android phone showing battery and diagnostics details from a secret code

A Simple Routine for Checking a Used Android Phone

The codes above are most valuable in a shop or at a kitchen table, with a second-hand phone in your hand and five minutes to spare. Run the identity checks first and the hardware tests second so you spot a blocked phone before you spend time on its screen.

Start with identity and software checks

Dial *#06# and note the IMEI, then compare it with the box or the receipt if the seller has either. It helps with warranty claims, and it is the number you need for how to find a lost Android phone with Find My Device if the handset ever goes missing. Follow it with *#*#1234#*#* to see the software versions, and if the build looks old, read our guide on how to check for an Android update before you pay.

Then test the parts you can feel

On a Samsung, *#0*# opens the full test grid for the display, touch, sensors, speakers, camera, and vibration. On other brands, use the speaker, vibration, and proximity tests from the hardware list above, then open *#*#4636#*#* for battery history and phone information. If the phone still behaves oddly after a seller reset, our guide on how to remove malware from Android is a sensible next step.

Conclusion

Android secret codes turn your dialer into a pocket diagnostic lab. Start with the safe, practical ones — *#06# for your IMEI, *#*#4636#*#* for battery and phone info, and the call-forwarding queries — and keep the reset codes firmly in the “know about, never touch” category. Used wisely, they save you from installing sketchy third-party diagnostic apps and give you real answers about your hardware in seconds.

Frequently Asked Questions

Do Android secret codes work on every phone?

No. Universal codes like *#06# work almost everywhere, but many codes are disabled by specific manufacturers or carriers. Samsung, Xiaomi, and OnePlus each support a different subset. If a code does nothing on your phone, it is blocked — try another from the same category.

Can secret codes damage my Android phone?

Information and test codes are completely safe. Only the reset codes listed above are dangerous, and they are clearly marked. As a rule, never dial a code you have not looked up first, and never share reset codes as pranks.

Why does nothing happen when I dial a code?

Three common reasons: the code is disabled on your device, your carrier blocks it, or you typed it wrong. Double-check the exact sequence, including every asterisk and hash. Some codes also require you to press the call button while others execute on the final character.

Do secret codes work on iPhones?

iPhones support a smaller set of field-test and carrier codes (like *3001#12345#* for field test mode), but the Android-specific diagnostic menus do not exist on iOS. The two systems use different hidden-code systems entirely.

Written by Emily Ross

Emily reviews gadgets and writes simple tech how-tos. She believes every tech problem has an easy fix.

Similar Posts