Typing a short string of numbers and symbols into the Phone app can reveal information and settings that are otherwise buried deep in your iPhone. These are called secret or hidden codes, and they range from a simple IMEI lookup to carrier-specific tools for managing call forwarding, data usage, and voicemail.

Universal codes (work on any carrier)
*#06#— Displays your IMEI, the unique hardware ID used for lost or stolen device reports.*#31#— Checks whether your number is hidden or shown on outgoing calls.*#07#— Opens legal, regulatory, and certification information for your device.*3001#12345#*— Opens Field Test Mode with detailed cellular network data.*#61#— Shows the number and delay used for call forwarding when a call goes unanswered.*#62#— Shows the number calls are forwarded to when your phone is off or unreachable.*#67#— Shows the number used for forwarding when your line is busy.##002#— Cancels every type of call forwarding at once.*#21#— Checks whether all calls or data are unconditionally forwarded, and where to.*21*[number]#— Turns on unconditional call forwarding to a chosen number (carrier behavior can differ).*#43#— Confirms whether call waiting is currently active.*43#— Turns call waiting on.#43#— Turns call waiting off.*#33#— Checks if call barring restrictions are active.*33*[PIN]#— Blocks all incoming calls; requires your SIM or network PIN.#33*[PIN]#— Removes the incoming-call block set above; also requires the PIN.*#30#— Checks whether your number is presented on outgoing calls.#5005*7672#— Shows the SMS service center number stored on your SIM.*5005*25371#— Checks the status of wireless emergency alerts.*5005*25370#— Checks or disables wireless emergency alert status, depending on carrier support.
Working iPhone secret codes
The codes below fall into two groups. Some work on any iPhone regardless of network, while others depend on which carrier your SIM is registered with.
AT&T secret codes
These only respond when your iPhone is connected to AT&T’s network. For call forwarding changes, using Settings > Phone > Call Forwarding or the myAT&T app is more reliable than a dialer code.
*225#— Sends a text with your bill balance and last payment (also works as *BAL#).*3282#— Sends a text with current data and messaging usage (also works as *DATA#).*3286#— Sends usage details by text in Spanish (also works as *DATO#).*777#— May show prepaid balance, though this isn’t confirmed as reliably as *225#.*646#— Checks minute usage; largely replaced by the broader usage info from *3282#.##004#— Cancels conditional call forwarding set through *61, *62, or *67.
Verizon secret codes
#225— Shows your account balance (also works as #BAL).#3282— Shows estimated data usage, though it may not include the last 24 hours (also works as #DATA).#646— Shows estimated minute usage, with the same 24-hour lag (also works as #MIN).#768— Starts the bill payment process (also works as #PMT).*611— Connects you to Verizon customer service.*86— Opens your Verizon voicemail box.*71 + number— Forwards calls to that number only when you don’t answer.*72 + number— Forwards all calls to that number immediately, without ringing your phone first.*73— Stops both types of call forwarding set with *71 and *72.*67 + number— Hides your number for that one outgoing call.*82 + number— Shows your number for that one call, overriding a permanent block.*70— A landline-style code for disabling call waiting on one call; mobile support is unconfirmed.
T-Mobile secret codes
T-Mobile mostly follows GSM standards but adds its own prefix on several forwarding codes and flips the usual meaning of #31#.
#225#— Shows balance, last payment, and service cycle info (also works as #BAL#).#646#— Shows minutes used (also works as #MIN#).#674#— Shows text message usage (also works as #MSG#).#932#— Shows data usage, plan details, and expiration date (also works as #WEB#).#686#— Displays your own T-Mobile number (also works as #NUM#).#999#— Checks prepaid account balance.#793#— Starts a voicemail password reset (also works as #PWD#).#796#— Toggles whether a password is required to check voicemail (also works as #PWO#).**21*1+[number]#— Turns on unconditional forwarding of all calls.##21#— Turns off unconditional forwarding.**61*1+[number]#— Turns on forwarding for unanswered calls.##61#— Turns off forwarding for unanswered calls.**62*1+[number]#— Turns on forwarding for when the phone is off or unreachable.##62#— Turns off that forwarding.**67*1+[number]#— Turns on forwarding for a busy line.##67#— Turns off forwarding for a busy line.##004#— Resets all conditional forwarding back to default (usually voicemail).*43#— Turns call waiting on.#43#— Turns call waiting off.*67 + 1+[number]— Hides your caller ID for that one call.#31# + 1+[number]— Shows your caller ID for that one call, even if it’s normally hidden.#264#— Checks Binge On status (also works as #BNG#).#263#— Turns Binge On off (also works as #BOF#).#266#— Turns Binge On on (also works as #BON#).#664#— Turns on Scam ID (also works as #ONI#).#634#— Turns off Scam ID.#662#— Turns on Scam Block (also works as #ONB#).#632#— Turns off Scam Block (also works as #OFB#).#787#— Checks the current Scam ID/Scam Block status (also works as #STS#).#766#/#763#— Turns international data roaming on or off (also work as #RON#/#ROF#).
Join readers who trust AllThings.How
Add us as a preferred source on Google so our practical guides show up first next time you search.
Add to Google Preferences →How to enter secret codes on iPhone
*#06# for the IMEI, trigger automatically the moment you type the final #.Codes only work through the default Phone app keypad, not third-party dialer apps. Success confirms itself immediately: the IMEI code shows a pop-up with your device number, forwarding checks display the current number and status on screen, and Field Test Mode opens a new menu of network readouts instead of placing a call.
Note: Codes that require a PIN, such as call barring (*33*[PIN]#), change network-side settings rather than just displaying information. Only enter these if you know your SIM or network PIN, since getting locked out of incoming calls can be inconvenient to reverse.
Universal codes versus carrier-specific codes
Universal codes are tied to standard GSM/UMTS/LTE features, so they function the same way no matter which network your SIM belongs to. *#06# for the IMEI is the clearest example, since it’s a standardized code across the entire mobile industry.
Carrier-specific codes, on the other hand, only respond while your iPhone is connected to that particular network. Balance checks, data-usage texts, and features like T-Mobile’s Scam Block or Binge On fall into this category, which is why the AT&T, Verizon, and T-Mobile codes above won’t do anything on a different carrier’s SIM.
Since carriers occasionally retire or change how these codes behave, it’s worth rechecking a code against your carrier’s own app or support page if it stops responding the way it used to.





