Three codes work on almost every phone sold in the US. *#06# shows your IMEI. *#21# tells you whether your calls are being forwarded somewhere. ##004# clears call forwarding and sends calls back to your own voicemail. Everything past that depends on who built your phone and who your carrier is.
Most “secret code” lists online were copied from a forum post a decade ago and never retested. Plenty of those codes were removed by Google, Samsung and Apple years ago. This page marks what still works in September 2026, what got taken away, and what will erase your phone without asking.
How to enter a dial code
Open the phone dialer as if you were placing a call and type the code exactly, including every star and pound sign. Codes that start and end with # or * usually run the moment you finish typing. Codes that are plain digits need the call button.
Three things stop codes from working: a replacement dialer app, a locked-down work phone, and carrier restrictions on the SIM. If a code does nothing at all, that is almost always why, not a typo.
Codes that work on any phone
These are standard GSM codes, not manufacturer tricks, so they behave the same on an iPhone and on an Android as long as your carrier runs on a GSM-based network. T-Mobile publishes most of them in its own support documentation.
| Code | What it does |
|---|---|
*#06# |
Shows your IMEI. This is the number a carrier asks for to check whether your phone is allowed on its network, and the number you give a buyer to prove a phone is not blacklisted. It works with no SIM installed. |
*#21# |
Shows whether all your calls are being forwarded, and to what number. Worth checking if people say your phone never rings. |
*#61# |
Shows where unanswered calls go. |
*#62# |
Shows where calls go when your phone has no service. |
*#67# |
Shows where calls go when you are already on a call. |
##004# |
Resets every forwarding rule back to your own voicemail. This is the fix when a code above shows a number you do not recognize. |
##21# |
Turns off forwarding for all calls only. |
*43# / #43# |
Turns call waiting on, then off. |
#31# then the number |
Hides your caller ID for that one call. |
If *#21# returns a number you did not set, your calls are being routed to someone else. Dial ##004# to clear it, then change your carrier account password. Call forwarding set without your knowledge is a common step in an account takeover.
Carrier codes: balance, minutes and data
These come from the carriers’ own published support pages, not from a forum. They text the answer back to you instead of opening a menu.
T-Mobile
| Code | What it does |
|---|---|
#BAL# (#225#) |
Account balance and last payment |
#999# |
Prepaid balance |
#MIN# (#646#) |
Minutes used |
#WEB# (#932#) |
Data used, your data plan, and the expiration date |
#MSG# (#674#) |
Message usage |
#NUM# (#686#) |
Displays your own phone number |
*PAY (*729) |
Pay your bill by phone |
#PWD# (#793#) |
Reset your voicemail password |
#ONB# / #OFB# |
Turn Scam Block on (#662#) or off (#632#) |
#RON# / #ROF# |
Turn international data roaming on (#766#) or off (#763#) |
AT&T
| Code | What it does |
|---|---|
*777# |
AT&T Prepaid: account balance, data balance and package details, texted back to you |
*3282# (*DATA#) |
Data and messaging balances, texted back to you |
*3286# (*DATO#) |
The same balances in Spanish |
Verizon
| Code | What it does |
|---|---|
#BAL (#225) |
Account balance |
#DATA (#3282) |
Data usage |
#MIN (#646) |
Minutes used |
#PMT (#768) |
Make a payment |
#UPG (#874) |
Upgrade eligibility |
#832 |
Place a test call |
*611 |
Verizon customer service |
*72 / *73 |
Forward all calls, then stop forwarding |
*67 / *82 |
Block, then unblock, your caller ID for one call |
*86 |
Voicemail |
If you are on an MVNO, use the code list for the network it runs on, not the brand on your bill. A prepaid brand riding T-Mobile’s network usually answers T-Mobile’s codes. Look up your brand in the carrier database to see which network it uses.
Android secret codes
Android codes are the least reliable category on this page, and the reason is not your phone. Google and the handset makers have been closing these menus off for years, because a code that opens a radio configuration screen is also a code a scammer can talk someone into dialing.
The testing menu
*#*#4636#*#* opens a menu with phone information, battery information and usage statistics. It is the one Android code most people actually want, because the phone information screen shows your real signal strength and lets you see which network type you are attached to.
On recent Samsung phones it no longer works. Samsung began blocking these codes in its own dialer, and a Samsung moderator confirmed it, saying access to hidden menus “may be affected by software updates due to changes in system permissions, security policies, or app compatibility.” The workaround Samsung owners confirmed: install Google’s Phone app from the Play Store and set it as your default dialer. The code works again through that dialer.
Samsung Galaxy
| Code | What it does |
|---|---|
*#0*# |
Hardware test menu: screen colors, touch, speaker, microphone, sensors, camera. The single most useful code for checking a used phone before you buy it. Availability varies by One UI version. |
*#0011# |
Service Mode, including signal detail. On recent Galaxy models you have to turn Auto Blocker off first. |
*#1234# |
Firmware version: AP, CP and CSC. Useful for confirming which regional build is on a phone. |
*#*#232338#*#* |
Wi-Fi MAC address |
*#06# |
IMEI, on every model |
Pixel and stock Android
Google has removed most of the old codes from stock Android. The information they used to show now lives in Settings, and the settings path is more reliable than any code:
- Signal strength in dBm — Settings, About phone, SIM status. The number listed is your RSRP, which is the figure engineers actually use.
- IMEI — Settings, About phone, or dial
*#06#. - Network type and band —
*#*#4636#*#*still opens Phone information on most Pixel builds.
For anything deeper on Android, a free app like Network Cell Info Lite or NetMonster reports more than any dial code, on any manufacturer, without needing a menu that might be gone next update.
Do not dial *2767*3855# to see what it does. On many Samsung devices it triggers a full factory reset immediately, with no confirmation screen and no undo. Everything on the phone is gone. *#*#7780#*#* is a milder reset on some Android builds and still erases apps and app data. Codes that reset a phone are the reason this category keeps getting locked down, and they are the reason you should never dial a code someone sends you in a message or reads to you over the phone.
iPhone secret codes
Apple keeps one genuinely useful hidden screen, and it has survived every iOS release including iOS 26.
| Code | What it does |
|---|---|
*3001#12345#* then Call |
Field Test Mode. Opens a dashboard showing your carrier and live signal metrics. The number worth reading is RSRP, in dBm. Closer to zero is stronger: around -80 is excellent, -100 is workable, -120 means you are about to drop the call. The SINR figure on iPhone is unreliable, so ignore it. |
*#06# |
IMEI |
*#5005*7672# |
Your carrier’s SMS center number. If texts stop sending after a SIM swap, this is the first thing to check. |
The GSM forwarding and carrier codes listed above work on iPhone too. There is no Apple equivalent of the Android hardware test menu, and there never has been.
Why the signal bars lie
Bars are not a standard. Each manufacturer decides how many dBm equals four bars, and carriers have historically asked for the mapping to be generous. Field Test Mode and the Android SIM status screen show the actual number the radio is receiving. That is why a phone showing three bars can fail to complete a call while a phone showing two bars is fine. If you are comparing carriers in one location, compare RSRP, not bars.
Legacy Sprint and CDMA hash codes
The table below is an archive. Sprint’s CDMA network was shut down on January 1, 2022 and its LTE network followed on June 30, 2022. The MSL and programming codes here controlled a network that no longer transmits, so on a modern phone they do nothing.
They are kept on this page for two reasons. Repair shops and collectors still service Sprint-era hardware, and the codes are hard to find anywhere else now that Sprint’s own documentation is gone. If you are here because an old Sprint phone stopped working, no code will bring it back: the network it was built for is off the air. What matters instead is whether the handset is certified for VoLTE on the carrier you want to use, which is the carrier’s decision, not the phone’s.
A few of these still apply to other CDMA-era carriers. Verizon used comparable programming codes on its own legacy devices. Anything marked for Sprint specifically is historical.
Hash Code |
Number |
Dial Code |
Verified |
Explanation |
| ##(MSLCODE)# | MSL CODE | ##(MSLCODE)# | YES | Use your specific (six-digit MSL/SPC code) to program your phone manually. Many Sprint MVNOs allow you to view your MSL Code from in your account but you may need to contact your carrier if the MSL Code isn’t listed. MSL is the acronym for Master Subsidy Lock. The MSL Code is different for each device. |
| ##000000# | 000000 | ##000000# | YES | It has been noted that if normal programming didn’t work using the MSL Code, ##000000# instead of the Sprint MSL may work in rare instances. |
| ##2TRACEOFF# | 287223633 | ##287223633# | YES | Disables Trace |
| ##2TRACEON# | 28722366 | ##28722366# | YES | Enables Trace. You may need to soft reset your phone after this command. |
| ##79TRACEOFF# | 7987223633 | ##7987223633# | YES | Disables Trace |
| ##79TRACEON# | 798722366 | ##798722366# | YES | Enables Trace. You may need to soft reset your phone after this command. |
| ##8TRACEOFF# | 887223633 | ##887223633# | YES | Disables Trace |
| ##8TRACEON# | 88722366 | ##88722366# | YES | Enables Trace. You may need to soft reset your phone after this command. |
| ##AKEY# | 2539 | ##2539# | YES | This dial code allows you to re-enter the 26-digit AKey on CDMA devices. (Please Use Extreme Caution!) An incorrect AKey will deactivate the phone and you will need to contact technical support for the correct AKey. |
| ##BRAND# | 27263 | ##27263# | YES | Use this hash code to Reset Device Provisioning & Brand Customization – This secret menu helps in resetting the apps and network related info to factory default. For example, if you have an LG Tribute HD that belongs to the Boost Mobile MVNO, this option will reset the pre-installed Boost Mobile apps data and also the provisioning parameters. Some Sprint Samsung Galaxy S7 users have reported getting back their missing voicemail app using this dialer code. |
| ##CLEAR# | 25327 | ##25327# | YES | On some Sprint devices, this hash code can be dialed to force a network reset. |
| ##CMAS# | 2627 | ##2627# | YES | Sprint customers can receive WEA (Wireless Emergency Alerts) alerts from FEMA and other organizations for free, directly on their mobile devices. In the event of an emergency, your mobile device can receive early access to alerts from the President, National Weather Service, local safety officials and more. |
| ##DATA# | 3282 | ##3282# | YES | This Sprint dial code allows you to view or edit Data Programming settings including Data Profile, Browser, MMSC, Multimedia, EVDO, Advanced, APN Settings, DSS, USB Charging, eHRPD, Direct Connect, LTS & ItsOn. (Be careful in the Edit menu). |
| ##DEBUG# | 33284 | ##33284# | YES | Shows all cellular radio debug info, including 1x Engineering RF, 1x Engineering RF, EVDO Engineering RF, EVDO Engineering Protocol, LTE Engineering, Configuration, Bluetooth, Data Status, eHRPD, Memory, Active APN Connections & Others. |
| ##DIAG# | 3424 | ##3424# | YES | This dial code toggles Passthrough. |
| ##ERR# | 377 | ##377# | YES | “ERR.” is short for “ERROR”. This Sprint Dial Code displays the last error which caused a soft reset, what program was running, line number, etc. |
| ##ESN# | 376 | ##376# | NO | Not yet verified but it appears this dial code should display the device ESN number. |
| ##EVDO# | 3836 | ##3836# | YES | This hash code launches network settings to force RTT or EVDO. This code can be useful if you don’t have EVDO coverage and want to force 1xRTT to prolong battery life. |
| ##GPS# | 477 | ##477# | NO | We have not been able to verify this dial code yet but we’re told it can be used to access GPS settings on certain devices. |
| ##GPSCLRX# | 4772579 | ##4772579# | YES | This Sprint dial pad code is used to reset the GPS. |
| ##HWTST# | 49878 | ##49878# | YES | This Sprint hash code launches the hardware troubleshooter to perform a hardware test. |
| ##INFO# | 4636 | ##4636# | YES | On certain device modes, this Sprint hash code can be used to display phone info. |
| ##LGDATAHIDDEN# | 543282443336 | ##543282443336# | YES | LG Hidden Data Menu |
| ##LGSERVICEMENU# | 5473784236368 | ##5473784236368# | YES | LG Hidden Service Menu |
| ##LOCATION# | 56228466 | ##56228466# | YES | Displays GPS location data (does not seem to work). |
| ##LOG# | 564 | ##564# | YES | This hash code works on many devices and allows you to View Error Log, Copy To Storage, or Clear Error Log. |
| ##LOOPBACK# | 56672225 | ##56672225# | YES | This dial code opens the loopback test calls menu. |
| ##MODEMNAI# | 66336624 | ##66336624# | YES | This hash code was found by decompiling framework.jar of the Sprint Lg Marquee and looking in smali/com/sprint/util/hiddenmenu.smali |
| ##MRU# | 678 | ##678# | YES | Clears the MRU on devices like the LG LS740. |
| ##OFF# | 633 | ##633# | YES | Turns OFF The Radio |
| ##OMADM# | 66236 | ##66236# | YES | The OMADM menu in Sprint HTC phone’s is related to GSM unlocking. – OMA-DM, Device Management, is controlling settings on the device; disabling the camera, changing registry keys (on Windows Mobile), etc. OMA is the acronym for Open Mobile Alliance (http://www.openmobilealliance.org/). DM is the acronym for device management. |
| ##ON# | 66 | ##66# | YES | Turns ON The Radio |
| ##PASS# | 7277 | ##7277# | YES | This dial code enables Passthrough. |
| ##PASSOFF# | 7277633 | ##7277633# | YES | This hash code disables Passthrough. |
| ##PREV# | 7738 | ##7738# | YES | This hash code opens the Mobile Protocol Revision menu. |
| ##PRI# | 774 | ##774# | NO | Allows you to change the PRI of the phone. |
| ##PRL# | 775 | ##775# | NO | We haven’t been able to confirm whether this dial code is effective or not but it’s said to Unlock PRL on certain device models. |
| ##PROGRAM855# | 7764726855 | ##7764726855# | NO | This dial code is supposed to open a menu on certain Verizon handsets called, “VERIZON_HIDDEN” but it does not work on the Verizon Samsung Galaxy S7 Edge we tested. |
| ##PST# | 778 | ##778# | YES | Displays critical data. Allows you to change the modem to poll towers more often without sacrificing battery power. (Use Extreme Caution). |
| ##RADIO# | 72346 | ##72346# | YES | Displays radio software version on certain devices. (Use Caution). |
| ##RTN# | 786 | ##786# | YES | View: Shows runtime and info on phone. | Reset: Full factory reset. – This the Device Information page. View the current mobile number, MSID, Software Version, OS Version, Radio Version, Baseband Version, Hardware Version, PRL, PRI Checksum, PCB Version, Total Call Time, Total Call Count, Current Data Usage, Total Data Usage, Reconditioned Status, ESN / MEID HEX &DEC, Activation Date and SSD. – Note: Please be careful with the options in the pull-down menu. |
| ##SCRTN# | 72786 | ##72786# | YES | This will reset the provisioning parameters to Factory default. |
| ##SIG# | 744 | ##744# | YES | This Sprint hash code displays signal strength for select models. |
| ##SIGNAL# | 744625 | ##744625# | YES | This Sprint hash code displays signal strength for select models. |
| ##SSDRTN# | 773786 | ##773786# | YES | This dial code is used to reset the SSD on certain devices. (Use Extreme Caution). |
| ##TEST# | 8378 | ##8378# | YES | Enter device Test Mode (Requires MSL). |
| ##TETHERED# | 83843733 | ##83843733# | YES | Toggles Tethered mode. |
| ##TIME | 8463 | ##8463# | YES | Displays current time on certain devices. |
| ##TTY# | 889 | ##889# | YES | TTY Menu |
| ##UPST# | 8778 | ##8778# | YES | Toggles software download (bootloader). Note: You may need to soft reset your phone after this command. |
| ##VIRGIN# | 847446 | ##847446# | YES | This will reset the provisioning parameters to Factory default. (This works on many Virgin Mobile devices). |
| ##VOCODER# | 8626337 | ##8626337# | YES | This dial code allows access to vocoder settings on certain devices. Typically, there are (2) different vocoder settings for home orig. and roam orig. (edit A-key, NAM settings, CDMA settings, home SID and NID, modem settings, PRL, packet dial string, phone directory, M.IP settings, M.IP default profile and 5 customer profiles.) – The vocoder setting with the least compression is best for voice quality, the one with most compression is best for allowing your calls to be place despite network congestion. (Use Extreme Caution). |
| ##VPOFF# | 87633 | ##87633# | YES | This Sprint Dial Code allows you to disable voice privacy. |
| ##VPON# | 8766 | ##8766# | YES | This Sprint Dial Code allows you to enable voice privacy. |
| ##WLAN# | 9526 | ##9526# | NO | This dial code is supposed to open the WLAN menu on certain devices. |
| #HELP# | 4357 | #4357# | NO | This dial code is used on certain Verizon devices as a way to access a built-in help menu. Note: Use only one # before the dial code. |
| #HELPHELP* | 43574357 | #43574357* | NO | Verizon device hidden info and help menu. |
| 3845#*855# | 3845#*855# | NO | LG_HIDDEN_DEVICE_TEST |
Looking for your account number or transfer PIN instead?
Dial codes will not give you either one. Those come from your carrier’s account system, and each carrier hands them over differently. Pick your carrier for the exact steps:
Common questions
Why do most secret codes not work on my phone anymore?
Because they were deliberately removed. A dial code that opens a radio configuration screen or wipes a device is also a code a scammer can read to someone over the phone. Google, Samsung and Apple have all narrowed what the dialer will accept. Samsung’s own support staff have confirmed that hidden menu access changes with software updates.
What is the safest way to check my signal strength?
On iPhone, dial *3001#12345#* and read the RSRP figure. On Android, open Settings, About phone, SIM status. Neither one changes any setting, so neither can break anything.
Is there a code that unlocks my phone from a carrier?
No. Unlock codes are issued by the carrier against your specific IMEI after the phone meets that carrier’s unlock policy, usually a paid-off device and a minimum number of days in service. Any site selling a universal unlock dial code is selling nothing.
Can a dial code tell me if my phone is tapped?
Not really, and the viral posts claiming otherwise are wrong. What *#21#, *#61# and *#62# actually show is call forwarding, which is a legitimate carrier feature that can also be abused during an account takeover. If those codes return a number you did not set, dial ##004# and change your carrier account password. That is a real risk worth checking. It is not surveillance detection.
Will these codes work on a prepaid or MVNO plan?
The device codes will, because they are handled by the phone. The balance and usage codes depend on the network your brand runs on, not the brand itself. A prepaid brand on T-Mobile’s network usually answers T-Mobile’s codes.
Do any of the Sprint codes still work?
Not for their original purpose. Sprint’s networks were shut down in 2022. The codes remain documented here as a reference for legacy hardware.
Best Cellular is a free reference site published by Assertive Holdings, LLC. Some links on this site are affiliate links, which means we may earn a commission if you switch carriers through them, at no cost to you. It does not change what we publish: carrier information on this site is verified against the carriers’ own documentation, and we recommend carriers we would not earn anything from. Verified September 2026.