Safety first. If someone you know may have put spyware on your phone, do not remove it yet. The FTC warns that taking such steps “could tip off your abuser,” who may escalate the abuse. Contact the National Domestic Violence Hotline from a device that person cannot reach: 1-800-799-7233 or thehotline.org. If you are in immediate danger, call 911.
The FTC defines malware as harmful software installed on your device without your knowledge. A “virus” is one kind. Spyware, which secretly watches what you do, and ransomware, which demands payment to unlock your data, are others. The cleanup starts the same way on any phone: stop signing in to your important accounts on it, update it, remove what does not belong, and change your passwords from a clean device. On Android, Google’s steps use Play Protect and Safe mode. On an iPhone, you check profiles and Safari data. A factory reset is the last step.
Signs your phone may have malware
Google’s help page lists these signs on Android:
- Pop-up ads that will not go away.
- Messages that say you have a virus.
- A device that is very slow, or has less space than it used to.
- Contacts who get emails or messages from you that you did not send.
- Google signs you out of your Google Account to protect your device.
The FTC adds a browser home page that changes, new toolbars, and posts you did not write. For deeper checks, see How to tell if your phone is hacked.
A pop-up that says your phone is infected is usually a scam. Apple says such pop-ups “are usually fraudulent advertisements,” meant to trick you into downloading damaging software or handing over information or money. The FTC says never to call a phone number that appears in a pop-up window. Close the page and do not call.
Before you start
- Stop signing in to sensitive accounts on the phone. The FTC says to stop logging in to online accounts right away, for example for shopping or banking. Wait until the phone is clean.
- Use a second device for passwords. After cleanup, change your passwords from a computer or another phone, starting with email. The FTC also says to turn on two-factor authentication, which asks for a second proof that it is you. Our password generator can help, and Passkeys vs passwords explains a safer sign-in.
- Back up what you need. A factory reset erases your data. Both Apple and Google say to back up first.
Remove malware from an Android phone
Menu names differ by maker, so search your Settings for the name if you cannot find it.
- Update Android. Google says to install pending system and security updates. Open Settings, then System, then Software updates. Then check Security & privacy, System & updates, for the security update and the Google Play system update.
- Turn on Play Protect and scan. Open the Play Store, tap your profile icon, tap Play Protect, then Settings, and turn on “Scan apps with Play Protect.” Google says Play Protect checks apps when you install them and scans your device from time to time. If it finds a harmful app, it may notify you, disable the app until you uninstall it, or remove it. If you installed apps from outside Google Play, also turn on “Improve harmful app detection.”
- Restart in Safe mode. Safe mode is a special way to start Android, and Google’s Chrome help uses it to find a problem app. Press and hold the power button, touch and hold Power off, and confirm that you want to restart in Safe mode. You will see “Safe mode” at the bottom of the screen. Remove recently downloaded apps one at a time. After each one, restart normally and check whether the problem is gone. Keep a list of what you remove.
- Uninstall apps you do not need or trust. Google says to remove any app you do not need, do not trust, or did not get from Google Play. Go to Settings, then Apps & notifications (or Apps), then See all apps, tap the app, and tap Uninstall.
- If an app will not uninstall, check device admin apps. Android’s developer page says that to uninstall a device admin app, you first have to unregister it as an administrator. These apps can lock the phone or wipe its data. A work or school phone may use them legitimately, so ask your administrator before you change anything.
- Run a Google security check. On the phone, open a browser and go to myaccount.google.com/security-checkup. Fix any issues it shows.
- Stop notification spam from a site. In Chrome, open the site, tap Page info, then Permissions, then Notifications, and turn off Show notifications.
If signs remain, Google says you might need to reset the device or ask its maker for help.
Remove malware from an iPhone
On an iPhone, the practical steps are different. See Can iPhones get viruses? for why.
- Update iOS. Go to Settings, General, Software Update. Apple says keeping software up to date is one of the most important things you can do for security.
- Delete profiles you do not recognize. A configuration profile is a file that can change your settings. Go to Settings, General, VPN & Device Management. If you see no profiles, none are installed. Otherwise select the profile, tap Delete Profile, and follow the steps. Apple says deleting a profile removes its settings, apps and data. On a school or work iPhone, ask your administrator first.
- Clear Safari data if pop-ups keep coming back. Go to Settings, Apps, Safari, then Clear History and Website Data. Pick a time range and tap Clear History.
- Delete apps you do not remember installing. Install apps from the App Store, as Apple advises.
- Check your Apple Account. Open Settings and tap your name, then scroll to the device list. Tap any device you do not know and tap Remove from Account, as Apple describes.
If problems continue, you can erase the phone. Go to Settings, General, Transfer or Reset iPhone, then Erase All Content and Settings.
When a reset is the right call
A reset wipes the phone, so try the steps above first. Google says that if you are resetting to fix an issue, it recommends trying other solutions first. A reset can still be the right move when signs of malware remain, or when you think someone had access to your phone and tampered with it.
Before you reset:
- Know your sign-in details. Google says you must know the phone’s Google Account password and your screen lock, because you will need them to restore. Apple asks for your passcode and Apple Account password.
- Back up what you need. Google says data stored in your Google Account can be restored, but all apps and their data will be uninstalled. Apple says a backup lets you restore your content, settings and apps to an erased iPhone.
- Charge the phone. Google says a reset can take up to an hour, and to charge to at least 70%.
What to restore is the hard question. If you think someone tampered with your phone and installed spyware, Apple says not to restore from a backup, because it may reinstall the malicious software. The FTC says that whether you reset or get a new phone, do not reinstall apps from a backup of the old one. Download them again from the app store. If that is your situation, read Is your phone being tracked? first, and the FTC says to document evidence of abuse before you reset.
What can go wrong
- The cleanup was fine, but your accounts are not. If you gave a scammer a password, the FTC says to create a new strong password and change it anywhere you reused it. See Am I hacked?.
- You gave a scammer access to your phone. The FTC says to update your security software, run a scan, change your passwords and turn on two-factor authentication.
- Fake virus warnings. Google warns about alerts of viruses or infected devices, especially if you have not recently used a virus scanner, and about sites that push you to download software. Get apps from the official store. For antivirus on a computer, see Do you need antivirus?.
- A reset erases things you wanted. Google says a factory reset erases all your data from the phone. Anything not backed up is gone.
- A forgotten account password. Google says to make sure you know the Google Account password before a reset.
What to do now
- Stop signing in to banking and shopping on the infected phone until it is clean.
- Update the phone. On Android, run a Play Protect scan. On an iPhone, check for profiles.
- Remove apps and profiles you do not recognize.
- From another device, change your passwords, starting with email, and turn on two-factor authentication.
- If signs remain, back up what you need and reset the phone, or ask its maker for help.
Sources
- Federal Trade Commission, “Malware: How To Protect Against, Detect, and Remove It.” consumer.ftc.gov/articles/how-recognize-remo…
- Federal Trade Commission, “Stalkerware: What To Know.” consumer.ftc.gov/articles/stalkerware-what-k…
- National Domestic Violence Hotline, “National Domestic Violence Hotline.” thehotline.org
- Federal Trade Commission, “What To Do if You Were Scammed.” consumer.ftc.gov/articles/what-do-if-you-wer…
- Google Account Help, “Remove malware or unsafe software.” support.google.com/accounts/answer/9924802
- Google Chrome Help, “Remove unwanted ads, pop-ups & malware.” support.google.com/chrome/answer/2765944
- Android Help, Google, “Use Google Play Protect to help keep your apps safe & your data private.” support.google.com/android/answer/2812853
- Android Help, Google, “Reset your Android device to factory settings.” support.google.com/android/answer/6088915
- Android Developers, Google, “Device administration overview.” developer.android.com/work/device-admin
- Apple Support, “Update your iPhone or iPad.” support.apple.com/en-us/118575
- Apple Support, “Recognize and avoid social engineering schemes including phishing messages, phony support calls, and other scams.” support.apple.com/en-us/102568
- Apple Support, “Delete your Safari history, cache, and cookies on iPhone.” support.apple.com/en-us/105082
- Apple Support, Personal Safety User Guide, “Review and delete configuration profiles.” support.apple.com/guide/personal-safety/revie…
- Apple Support, “How to factory reset your iPhone, iPad, or iPod touch.” support.apple.com/en-us/108931
- Apple Support, Personal Safety User Guide, “Restore device to factory settings.” support.apple.com/guide/personal-safety/resto…
- Apple Support, “Review devices signed in to your Apple Account.” support.apple.com/en-us/102649