To get rid of a virus on your phone, stop signing in to sensitive accounts, update the operating system, and remove the cause. On Android, turn on Play Protect, restart in Safe Mode, and uninstall recently added or unfamiliar apps one at a time. On iPhone, update iOS, delete unknown configuration profiles, and clear Safari data. If symptoms persist after those steps, back up your files and factory reset the phone.
Key takeaways
- Most phone virus warnings are scam pop-ups, not infections, so never call a number shown in a pop-up.
- Android cleanup uses Play Protect and Safe Mode; iPhone cleanup uses iOS updates, profile removal, and Safari data clearing.
- A factory reset is the last resort, and passwords should be changed from a clean device afterward.
Your phone is hot, the battery drains in hours, and a pop-up insists your device is infected. Before you pay for a cleaner app or call the number on screen, slow down: most of those warnings are scams, and the real cleanup is free.
How do I get rid of a virus on my phone?
Stop signing in to sensitive accounts, update your phone, then remove the cause. On Android, use Play Protect and Safe Mode to find and uninstall the bad app. On iPhone, update iOS, delete unknown profiles, and clear Safari data. Reset the phone only if the problem survives those steps.
Work in that order. Updating first closes the hole the malware used, and removing the app before you change passwords stops it from stealing the new ones. If this is a work or school phone, tell your IT team first instead of wiping it yourself.
Is it really a virus, or something else?
Most phone trouble blamed on a virus is one of three things: a scam pop-up, a bad app, or a website abusing browser notifications. True viruses that copy themselves from phone to phone are rare, but adware, spyware, and trojans that arrive inside apps are real.
Google lists the warning signs for Android as pop-up ads and new tabs that will not go away, a Chrome home page that keeps changing, and browsing hijacked to unfamiliar pages. See the full list in Google Chrome Help on removing unwanted software. Apple says pop-ups claiming your device is infected "are usually fraudulent advertisements" meant to trick you into downloading damaging software or handing over information or money.
Check the pattern before you act. One slow afternoon is probably an old battery or a heavy app. Pop-ups plus a new app you do not recognize, plus settings that change on their own, is a pattern worth cleaning up.
What should I do before I start cleaning?
Do three things first: stop signing in to shopping, banking, and email on the infected phone, back up the files you cannot replace, and find a second, clean device for password changes. The FTC advises stopping logins right away so malware cannot capture new credentials.
Also note what changed and when. Which app did you install just before the trouble started? Which website showed the pop-up? A short list makes Safe Mode testing far faster, because you will know which apps to remove first.
What are the signs of a virus on a phone?
The signs below, taken from Google and the FTC, are warnings, not proof. Any one of them can have an innocent cause, so look for several together and for a clear start date.
- Pop-ups and redirects that will not stop, even on sites you trust.
- A changed home page, search engine, or new toolbar you did not set.
- Apps you do not recognize, or apps that reinstall themselves.
- Battery drain, heat, or slowness that began suddenly.
- Data use that jumps without a change in how you use the phone.
- Messages, posts, or charges you did not make.
- Alerts claiming the device is infected, especially ones with a phone number to call.
That last sign deserves emphasis: a warning that offers a phone number is itself the scam. Close the tab or the browser, and do not call. Our guide to how to know if your phone is hacked covers the wider set of compromise signs.
How do I remove a virus from an Android phone?
On Android, the cleanup is: update, turn on Play Protect, restart in Safe Mode, and uninstall the bad app. Google documents each of these steps in its Chrome Help page for removing unwanted software.
1. Update Android and your apps
Install pending system and security updates first. Open Settings, then System, then Software update, and install anything offered. Then check for a Google Play system update under Security and privacy. Updates close the flaws malware relies on.
2. Turn on Play Protect and scan
Play Protect is Google's built-in scanner. Open the Play Store, tap your profile icon, tap Play Protect, then Settings, and turn on "Scan apps with Play Protect". It checks apps from Google Play and other sources and can warn about, deactivate, or remove harmful apps.
3. Restart in Safe Mode and remove the bad app
Safe Mode starts Android with only its core software, so third-party apps cannot run. Press and hold the power button, then touch and hold Power off until you are offered Safe Mode. If the strange behavior stops in Safe Mode, a third-party app is the cause.
While in Safe Mode, remove recently downloaded apps one at a time, restarting normally after each removal to see whether the problem is gone. Google advises making a list of the apps you remove so you can add back the innocent ones later. Also delete any downloaded APK files you do not recognize.
4. Clear the browser and stop abusive notifications
If pop-ups keep coming from one website, turn off its notifications. In Chrome, open the site, tap the page info icon, tap Permissions, then Notifications, and turn off "Show notifications". Then clear the browser cache and data for Chrome under Settings, Apps, Chrome, Storage.
If the signs remain after all of this, Google says you may need to reset the device or ask the manufacturer for help. That is the point to move to the factory reset section below.
How do I remove a virus from an iPhone?
On iPhone, the cleanup is different because iOS has no Safe Mode and apps are sandboxed. Update iOS, delete apps and profiles you do not recognize, and clear Safari data. Most iPhone problems are fixed by those three steps.
1. Update iOS
Go to Settings, General, Software Update, and install any update offered. Apple says keeping software up to date is one of the most important things you can do for security, and updates often close the flaws malware uses.
2. Delete unknown configuration profiles
A configuration profile can change settings, install certificates, and allow monitoring of data. Go to Settings, General, VPN and Device Management. If you see no profiles, none are installed. If you see one you do not recognize, tap it and tap Delete Profile. Apple says deleting a profile removes its settings, apps, and data. See Apple Support on deleting an app and its configuration profile.
On a school or work iPhone, ask your administrator before deleting a profile, since it may be there on purpose.
3. Clear Safari history and website data
Go to Settings, Safari, then Clear History and Website Data. This removes the stored data that keeps scam pop-ups and redirects coming back. Also check Settings, Safari, and make sure Fraudulent Website Warning is on.
4. Delete apps you do not recognize
Go to Settings, General, iPhone Storage, and look for apps you did not install or do not use. Delete them. If the problem started after one app was installed, remove that app first, then restart the phone.
If the iPhone is jailbroken, the usual protections no longer apply. The safest fix is to restore it to the current iOS through a computer, which removes the jailbreak and any malware that came with it.
Android vs iPhone virus removal: what is different?
The goal is the same on both platforms, but the tools differ. Android gives you Safe Mode and Play Protect, while iPhone relies on iOS updates, profile removal, and the App Store sandbox.
| Step | Android | iPhone |
|---|---|---|
| Update the system | Settings, System, Software update | Settings, General, Software Update |
| Built-in scanner | Play Protect in the Play Store | No built-in scanner; iOS sandboxing instead |
| Isolate a bad app | Safe Mode, then uninstall one app at a time | No Safe Mode; delete suspect apps directly |
| Hidden settings | Check device admin apps and unknown APK files | Check VPN and Device Management profiles |
| Browser cleanup | Clear Chrome cache and data; block site notifications | Clear Safari history and website data |
| Last resort | Factory reset from Settings, System, Reset options | Erase all content and settings, or restore via computer |
Both platforms share the same rule after cleanup: change passwords from a clean device. A virus that is gone cannot steal a new password, but one that was there earlier may already have the old one.
When should I factory reset my phone?
Reset only when the symptoms survive the steps above, or when a scanner flags something you cannot remove. A reset wipes everything and restores the original software, which removes stubborn malware along with it.
Before you reset, back up photos, contacts, and files to cloud storage, but skip a full app backup. Restoring apps can bring the problem straight back. After the reset, install apps one at a time from the official store, and watch for the symptoms returning after each one.
On Android, the reset is under Settings, System, Reset options. On iPhone, go to Settings, General, Transfer or Reset iPhone, then Erase All Content and Settings. You will need your account password and, on iPhone, your Apple ID password to set the phone up again.
What should I do after the virus is gone?
Removal does not undo what the malware already took. Change passwords from a clean device, starting with email, then banking, then social accounts. Turn on two-factor authentication where it is offered, and check each account for new forwarding rules, unknown devices, and recent activity.
Check bank and card statements for charges you do not recognize, and tell your bank if you find any. If you entered a password into a fake login page, treat that account as compromised even if nothing looks wrong yet.
You can check whether a password already appears in known breaches with our pwned password checker.
Then replace any exposed password with a fresh one from the password generator.
What mistakes make phone malware worse?
The most common mistake is calling the number in the pop-up. The second is installing a cleaner app the pop-up recommends, which is often the malware itself. The third is sideloading apps from outside the official store, or tapping links in unexpected texts to install them.
Other mistakes are quieter: restoring a full backup after a reset, reusing the same password everywhere, and ignoring system updates for months. Each one gives malware a way back in after you have done the hard work of removing it.
How do I keep my phone virus-free?
Prevention is mostly habits, not purchases. Install apps only from Google Play or the App Store, read the permissions an app asks for, and delete apps you no longer use. Keep automatic updates on, and keep Play Protect on if you use Android.
Be careful with links in texts and emails, especially ones about deliveries, prizes, or account problems. The FTC advises keeping software and apps up to date, and its home-device guidance also covers changing default passwords and disabling features you do not use. For the full home picture, see our guide to how to secure your Wi-Fi.
The bottom line
Most phone virus scares end with closing a browser tab. When the problem is real, the fix is free and methodical: update, scan, isolate the bad app or profile, remove it, and only then reset and change passwords.
Do not pay a pop-up, do not call its number, and do not sideload a cleaner to fix the mess. Work through the steps above, and check your accounts from a clean device when you are done.
Frequently asked questions
Can phones get viruses?
Yes, but true viruses are rare on phones. Android phones can pick up malicious apps, and iPhones can be affected by malicious profiles, scam websites, and jailbreak-related malware. Most phone problems blamed on a virus turn out to be a bad app, a scam pop-up, or a misbehaving browser notification.
How do I know if my phone has a virus?
Look for a pattern, not one symptom: pop-ups that will not go away, a browser home page that changed, apps you did not install, sudden battery drain, overheating, or data use that jumps for no reason. Google lists pop-ups, hijacked browsing, and alerts about an infected device as warning signs.
Can I remove a virus from my phone for free?
Yes. The built-in tools are free: Play Protect and Safe Mode on Android, and iOS updates, profile removal, and Safari clearing on iPhone. You do not need to buy an antivirus app because a pop-up told you to.
Should I call the number in a virus warning pop-up?
No. Never call a phone number that appears in a pop-up. Those warnings are usually fraudulent ads designed to trick you into downloading damaging software or handing over money or information. Close the page instead.
Will a factory reset remove a virus from my phone?
A factory reset removes almost all phone malware because it wipes installed apps and data and restores the original software. Back up photos and contacts first, and do not restore a full app backup afterward, since that can bring the problem back.
Do iPhones need antivirus apps?
iPhones do not need a traditional antivirus app the way a computer does, because iOS limits what apps can do. Keeping iOS updated, removing unknown profiles, and clearing Safari data handle most iPhone problems. A security app can add features such as Wi-Fi checks, but it is not a virus cure.
What should I do after removing phone malware?
Change your passwords from a clean device, starting with email, then turn on two-factor authentication. Check bank and email accounts for activity you do not recognize, and remove any mail forwarding rules or unknown devices you find.
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 Google Chrome Help for Android, Apple Support for iPhone profiles and Safari, and FTC consumer advice.
How we write and fact-check →