Is My Phone Hacked? How to Check an iPhone or Android in 20 Minutes
A 20-minute check for a hacked iPhone or Android: accounts, apps, carrier and built-in scans, plus what *#21#, *#62# and *#06# really show.
A phone can feel hacked for many reasons: a friend gets a strange message from you, the battery dies by lunch, a login code arrives that you never asked for. Some of those mean someone has access. Most do not. This guide is a diagnostic: a 20-minute pass that tells you which kind of problem you have, if any, and where to go next.
Work through it in order. Accounts come first because they are where most compromises live, and checking them changes nothing on the phone that someone else could notice.
Five kinds of "hacked"
"My phone is hacked" usually means one of these. Each has its own tell and its own fix.
| What happened | Typical sign | Where to check | Deep guide |
|---|---|---|---|
| Account takeover | Password reset emails, messages you did not send, unknown devices signed in | Apple Account or Google Account device list | Recover a hacked account |
| Malicious or spying app | New app you did not install, app with accessibility or admin rights | Settings app list, profiles, device admin | Detect stalkerware |
| Someone close has access | They know things they should not, settings changed while you slept | Shared accounts, Find My, location sharing | Signs a partner is spying |
| SIM swap | Signal drops to "SOS" or "No service", texts about a SIM change | Carrier account | SIM swap attacks |
| Targeted spyware | Apple threat notification, high-risk job such as journalist or activist | Notification on Lock Screen and account.apple.com | This guide, then a specialist helpline |
Dealing with this on your own? We can help. Our free session kill switch lists where to sign out every session and linked device on 40 platforms, in the order that locks an intruder out. It is a checklist page you read on your own device, with no account and nothing to install.
Signs that point to a real problem
Strong signs, such as a login alert you did not trigger or an app you do not remember adding, are worth acting on today. Weak signs like battery drain, heat or higher data use usually have an ordinary cause.
- A login alert, password reset or two-factor code you did not trigger.
- Messages, posts or emails sent from your accounts that you did not write.
- An app, configuration profile or device admin you do not remember adding.
- Your phone drops to no signal for no reason and you then cannot log in to email or banking.
- Someone repeats details from your private messages or knows where you have been.
Weak signs, which usually have an ordinary cause:
- Battery drain and heat. Updates, bad signal and photo backups do this too.
- Higher data use. Check per-app data use in Settings before assuming anything.
- Odd sounds on calls. Clicks and echoes usually come from poor signal or the network.
- Pop-ups in a browser. Usually a website, and closing the tab ends it.
One weak sign alone is rarely a hack. A weak sign next to a strong one is worth the full check below.
What the dial codes show
Searches for a "number to dial to see if your phone is tapped" lead to lists of codes. They are real codes, defined in the GSM standard (3GPP TS 22.030). *#06# makes the phone display its own IMEI. The rest manage call forwarding and do one narrow job: they ask your carrier how your calls are routed. The handset sends the code to the network and shows the answer.
| Code | What it does | What a worrying answer looks like |
|---|---|---|
*#06# | Shows your IMEI, the phone's hardware ID | Nothing here can be worrying. Write it down in case the phone is stolen |
*#21# | Checks unconditional forwarding (every call forwarded) | Voice or SMS forwarded to a number you do not know |
*#61# | Checks forwarding when you do not answer | A number other than your carrier's voicemail |
*#62# | Checks forwarding when the phone is off or out of signal | A number other than your carrier's voicemail |
*#67# | Checks forwarding when you are on another call | A number other than your carrier's voicemail |
##002# | Erases all forwarding rules | Use it to clear forwarding you did not set |
On *#61#, *#62# and *#67#, seeing a number is normal. That is how missed calls reach your voicemail. Search the number or compare it with your carrier's voicemail access number before you worry. Clearing everything with ##002# can also remove the rule that sends missed calls to voicemail, so you may need your carrier to restore it. T-Mobile's short-code list gives ##21# to turn off unconditional forwarding and ##004# to reset conditional forwarding to its default. On Verizon, dial *73 to turn forwarding off.
What these codes cannot show:
- Spyware or stalkerware. An app on the phone does not need call forwarding. It reads messages and location directly.
- Tracking. Location sharing, Find My, a Bluetooth tracker or an app with location access are invisible to dial codes.
- A wiretap. Lawful interception happens inside the carrier's network and leaves no trace you can query from a keypad.
- Account access. Someone reading your iCloud or Google backup never touches your phone.
There is no code that reveals whether a phone is being tracked or tapped. Treat any site or video that promises one with suspicion, especially if it asks you to install something next.

If you think someone close to you is watching the phone, pause before removing apps, changing passwords or clearing forwarding. Those changes can tell the person you have noticed. Read signs a partner is spying on your phone and consider contacting a domestic violence advocate to plan the order of steps first.
The 20-minute check
The check runs in four timed steps that add up to 20 minutes: your Apple or Google account; your apps, profiles and admin access; your carrier account and SIM; and the phone's built-in security checks.
1. Your Apple or Google account (5 minutes)
Do this from the phone or, if you suspect the phone itself, from a computer you trust.
- iPhone: Settings, tap your name, then scroll to the device list. Every device signed in to your Apple Account appears there. Remove any you do not own.
- Android: open myaccount.google.com/security on any browser and check "Your devices" and "Recent security activity."
- Check email forwarding rules and recovery email and phone in both accounts. An attacker who adds their own recovery details can return after you change the password.
If anything here is wrong, stop the diagnostic and follow the platform steps in how to recover a hacked account.
2. Apps, profiles and admin access (7 minutes)
- Full app list. Look for names you do not recognise, apps with a generic name ("System Service", "Sync"), and apps with no icon.
- iPhone profiles: Settings, General, VPN and Device Management. A profile you did not install from your employer or school can route your traffic or control the phone.
- Android device admin apps: usually under Settings, Security and privacy, then device admin apps or "More security settings." On many phones the only entry is Find My Device.
- Android accessibility: Settings, Accessibility, then the installed apps list. Accessibility access lets an app read the screen, which commercial stalkerware on Android commonly abuses to capture messages.
Found something? The removal order and the evidence to keep first are in how to detect stalkerware.
3. Carrier account and SIM (3 minutes)
- Run
*#21#to check unconditional forwarding. - Log in to your carrier account from another device and check for a SIM change, a new eSIM, a number transfer request or a new authorised user.
- Ask your carrier for an account PIN and port-out protection if you have neither. SIM swap attacks explained covers what each carrier offers.
4. Built-in security checks (5 minutes)
- iPhone Safety Check: Settings, Privacy and Security, Safety Check. "Manage Sharing and Access" lists every person and app you share with. It needs two-factor authentication on your Apple Account.
- Android Play Protect: open the Play Store, tap your profile, then Play Protect, and run a scan.
- Apple threat notifications. Apple sends these to people who may have been individually targeted by mercenary spyware. They appear on the Lock Screen and in Settings, by email to your Apple Account address, and as a banner when you sign in at account.apple.com. Apple never asks you to click a link or install an app in one. If you get a real one, turn on Lockdown Mode and contact the Access Now Digital Security Helpline.
Reading your results
A clean check means update and move on. Treat an unknown device or login as account takeover and an unknown app or profile as spyware, and call your carrier about forwarding or a SIM change you did not make.
- Everything came back clean. Your phone is very likely fine. Update the operating system and move on to phone privacy hardening to make the next check easier.
- An account showed an unknown device or login. Treat it as account takeover. Sign out every session, change the password from a trusted device, and turn on a passkey or authenticator app.
- An unknown app, profile or admin. Treat it as spyware. Keep a screenshot, then follow the stalkerware removal steps.
- Forwarding you did not set, or a SIM change. Call your carrier from another phone, then secure email and banking, since a SIM swap is usually aimed at them.
- A threat notification. Use the specialist route above; ordinary removal steps are not built for that threat.
If you cannot tell which way a result points, a factory reset after backing up photos and contacts clears apps and profiles from the handset. It does nothing for a compromised account, so secure the account first, and restore from a backup made before the problem started.
Want help keeping it from happening again? We can help with that too. If the hack reached your email, banking or identity, a monitoring service watches for your details in breaches and credit files and alerts you, with support you can call.
Related guides
Sources & further reading
- Mobile Phone Security Advice (GSMA)
- ETSI TS 122 030: Man-Machine Interface (MMI) of the User Equipment (ETSI / 3GPP)
- Call Forwarding FAQs (Verizon)
- Self-service & short codes (T-Mobile)
- About Apple threat notifications and protecting against mercenary spyware (Apple)
- Safety Check for an iPhone with iOS 16 or later (Apple)