No dial code can prove your phone is hacked. Codes such as *#21#, *#62#, *#67# and *#004# only query your carrier's call forwarding settings, showing whether calls are redirected to another number. A clean result does not rule out spyware, and a voicemail number in the result is usually normal. Use the codes as a first check, then review apps, permissions and accounts.
Key takeaways
- No code detects spyware or proves a hack — the dial codes only check call forwarding settings.
- *#21# is the main check: it shows whether all calls are forwarded to another number.
- If forwarding points to an unknown number, cancel it with ##002#, call your carrier, and scan for malware.
Videos online promise a secret code that instantly reveals whether your phone is hacked. The honest answer is less exciting — and more useful: no such code exists, but a few real codes do check one specific trick attackers use.
Is there a code to see if your phone is hacked?
No. There is no dial code that can prove your phone is hacked, tapped or infected with spyware. The codes people share only query your carrier's call forwarding settings — one narrow check, not a full diagnosis.
That matters because the claim keeps resurfacing on social media, and it causes needless panic. A result that looks suspicious is usually just your carrier's voicemail number. At the same time, call forwarding abuse is real: criminals can redirect your calls and texts, sometimes by tricking you or your carrier into turning it on.
So treat the codes as a fast first check, not a verdict. This article shows exactly what each code does, what a normal result looks like, and what to check after the codes come back clean. Norton puts it the same way: USSD codes are a good first place to check forwarding, but incorrect settings are only one symptom of a hacked phone.
What do the phone-hacking codes actually check?
The codes are MMI and USSD codes, built into the GSM mobile standard. When you dial one, your phone asks your carrier's network a question — usually about call forwarding — and the network answers on screen.
Call forwarding is a carrier feature that sends incoming calls somewhere else instead of to your phone. It is legitimate when you set it yourself, for example to send calls to voicemail when you are busy. It becomes a problem only when someone else turns it on without your knowledge, so they can intercept calls and verification texts meant for you.
Spyware works differently. It runs as an app or hidden process on your phone, and it does not touch your carrier's forwarding settings at all. That is why a forwarding check can never detect it — the two things live in completely different places.
One more warning before you dial anything: never dial a code someone tells you to dial in a call, text or email. Scammers use codes such as *72 and **21* to turn on forwarding to their own number. Your carrier and your bank will never ask you to dial a code to "verify" or "secure" your account.
Which codes should you dial, and what does each one mean?
Start with *#21#, then check the three conditional codes. Screenshot each result before you change anything, so you can show your carrier exactly what you saw.
| Code | What it checks | Normal result | When to worry |
|---|---|---|---|
| *#21# | Unconditional forwarding — all calls | Disabled, or voicemail number | An unknown number, forwarding on |
| *#61# | Forwarding when you do not answer | Your voicemail number | An unknown number |
| *#62# | Forwarding when unreachable | Your voicemail number | An unknown number |
| *#67# | Forwarding when busy | Your voicemail number | An unknown number |
| *#004# | All conditional forwarding at once | Voicemail numbers | Any unknown number |
| ##002# | Cancels all forwarding (action, not a check) | — | Use only after spotting a problem |
| *#06# | Shows your IMEI | A 15-digit number | It never indicates hacking |
| *#33# | Call barring status | Usually disabled | Unexpected barring you did not set |
These codes work reliably on GSM networks such as AT&T and T-Mobile in the US. On older CDMA networks, such as older Verizon or US Cellular plans, you may need alternatives such as *72 to check forwarding. Some carriers block the codes entirely, in which case you will see an error — that is a carrier limit, not evidence of hacking.
How do you check *#21# for unconditional call forwarding?
Dial *#21# in your phone app and press call. The screen shows whether unconditional forwarding is on, and if so, the number your calls are sent to.
Unconditional forwarding is the most serious setting, because it redirects every incoming call before your phone even rings. If it is on and you did not turn it on, that is something to investigate immediately — but first check whether the number is your carrier's voicemail or a number you recognize.
If the number is unfamiliar, do not just switch it off and forget it. Screenshot the result, dial ##002# to cancel all forwarding, then call your carrier from another phone and ask them to check your account for changes. Also check your voicemail settings afterward, because cancelling forwarding can switch off voicemail delivery on some carriers.
On iPhone, you can also check in Settings, then Apps, then Phone, then Call Forwarding. On Android, open the Phone app, tap the three-dot menu, then Settings, Calls, and Call Forwarding. The settings screen shows the same carrier information without dialing a code.
What do *#61#, *#62# and *#67# check?
These three codes check conditional forwarding: where calls go only in a specific situation. Each one normally points to your carrier's voicemail, so a number appearing is not automatically a problem.
- *#61# — when you do not answer. Calls go here after a set number of rings. This is almost always your voicemail.
- *#62# — when you are unreachable. This covers your phone being off, in airplane mode or out of signal. Again, normally voicemail.
- *#67# — when your line is busy. Calls go here when you are already on another call or decline one.
Dial *#004# to see all three conditional rules at once. If any of them points to a number you do not recognize, cancel that rule — ##61#, ##62# or ##67# for one rule, or ##004# for all conditional rules — and confirm with your carrier that the number is not theirs.
How do you tell a voicemail number from a hacker's number? Search the number online with your carrier's name, or ask the carrier directly. Carriers publish their voicemail access numbers, and a quick check usually settles it. Never call the unknown number back yourself.
What about *#06#, *#*#4636#*#* and the other codes?
Several other codes appear in the same lists, but none of them detects hacking either. They show device or network information that is useful in other ways.
*#06# displays your IMEI, the 15-digit identifier for your phone. It will not tell you whether the phone is hacked, but you need it to report a lost or stolen device, and your carrier can use it to block the phone from the network.
*#*#4636#*#* opens a hidden testing menu on Android, showing signal strength, network type, battery and usage data. It is a diagnostics screen, not a security scan, and it does not work on iPhone.
*3001#12345#* opens Field Test Mode on iPhone, showing carrier, signal and band details. Again, this is network information — interesting, but it cannot show whether spyware is installed.
*#33# shows call barring status. Barring blocks certain incoming or outgoing calls; if it is on and you did not set it, check with your carrier, but it is not a hacking detector either.
What are the real signs your phone is hacked?
Because the codes only cover forwarding, you need other checks for malware and account compromise. Look for several of these signs together — any one of them can have an innocent cause.
- Rapid battery drain or a hot phone — malware running in the background uses power, though a worn battery or a demanding game can do the same.
- Unexplained data usage — a sudden spike on your bill can mean malware sending data out. Check your phone's data settings by app.
- Unfamiliar apps — apps you did not download are a strong warning sign. Delete them, then check what permissions the rest hold.
- Camera or microphone indicators — the small green or orange dot turning on when no app should be using them deserves attention.
- Strange notifications, pop-ups or outgoing calls — adware, premium-rate call fraud and account misuse all show up this way.
- Account alerts — password-reset emails, login alerts from places you have never been, or settings changed in your Apple or Google account.
For the account side, check your Apple Account and Google Account security pages for unknown devices and sessions — both companies publish guides for reviewing account activity and removing unknown devices.
If a password may have leaked, test it with our free pwned password checker and change it from a trusted device.
Our guide to how to know if your phone is hacked covers the full check in more depth, and Norton's dial-code guide lists the same codes with screenshots of each result.
What should you do if you think your phone is hacked?
Act in this order: stop the forwarding, scan for malware, lock down accounts, then consider a reset. Speed matters more than finding proof first.
- Cancel unknown forwarding. Dial
##002#or turn forwarding off in settings, then re-check with *#21# to confirm it is clear. - Call your carrier. Ask whether anyone changed your account, added forwarding, or requested a SIM change. Ask for a port-out PIN and account lock if they offer one.
- Run a malware scan with a reputable mobile security app, and delete any apps it flags or that you do not recognize.
- Change passwords for email, banking and social accounts from a different, trusted device — and turn on two-factor authentication everywhere it is offered.
- Check app permissions. Remove microphone, camera, location and SMS access from apps that do not need it.
- Update your phone to the latest operating system version, which closes the vulnerabilities malware relies on.
- Factory reset as a last resort. Back up your photos and files first, then reset and restore only apps you trust. This removes most consumer spyware.
If money moved, call your bank's fraud line immediately and report the loss to the FBI's Internet Crime Complaint Center at ic3.gov. If you suspect stalkerware from someone you know, contact a local domestic-violence support service before confronting anyone — safety planning comes first.
The bottom line
There is no code you can dial to see if your phone is hacked — but *#21#, *#62#, *#67# and *#004# are still worth two minutes of your time, because they show whether your calls are being forwarded to a stranger.
Check the codes, screenshot the results, and then do the checks the codes cannot do: scan for malware, review your apps and permissions, and check your accounts. If anything looks wrong, cancel the forwarding, call your carrier, and change your passwords — starting with a strong, unique password for your email.
Frequently asked questions
What do I dial to see if my phone is hacked?
There is no single code that shows whether a phone is hacked. Start with *#21# to check unconditional call forwarding, then *#62#, *#67# and *#004# for conditional forwarding. After that, check apps, permissions and account activity.
Does *#21# tell you if your phone is tapped?
No. *#21# only shows whether unconditional call forwarding is on and where calls go. It cannot detect a wiretap, spyware or a listening app, and a number in the result is usually just your carrier voicemail.
What does *#62# show?
It shows where your calls go when your phone is off, in airplane mode or has no signal. Normally that is your carrier voicemail number. An unfamiliar number there is worth checking with your carrier.
What does *#06# do?
It displays your phone's IMEI, a 15-digit identifier for the device. It does not test for hacking or spyware. You need the IMEI to report a lost or stolen phone to your carrier.
Do these codes work on iPhone and Android?
The forwarding codes work on most GSM carriers such as AT&T and T-Mobile, on both iPhone and Android. They may not work on older CDMA networks, and some carriers block or change them. Android-only menus such as *#*#4636#*#* do not work on iPhone.
How do I turn off call forwarding?
Dial ##002# to cancel all carrier forwarding, or turn it off in settings: on iPhone, Settings, Apps, Phone, Call Forwarding; on Android, Phone app, Settings, Calls, Call Forwarding. Note that this can also switch off voicemail forwarding.
What are the real signs my phone is hacked?
Look for rapid battery drain, unexplained data use, a hot phone, slowness, unfamiliar apps, pop-ups, camera or microphone indicators turning on by themselves, and calls or messages you did not send. Any one sign can have an innocent cause, so look for several together.
What should I do if I think my phone is hacked?
Cancel any unknown forwarding, run a malware scan, delete unfamiliar apps, change important passwords from a trusted device, turn on two-factor authentication, and contact your carrier. If money moved, call your bank immediately and report it.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Norton's dial-code guide, Certo's USSD guide and AT&T's call forwarding support page.
How we write and fact-check →