To get rid of a virus on an Android phone, restart in Safe Mode, uninstall apps you do not trust or installed just before the trouble started, run a Google Play Protect scan, update Android, and change your passwords from a clean device. If the problem persists after that, back up your files and do a factory reset.
Key takeaways
- Most Android viruses are malicious apps, so removing the bad app usually removes the virus.
- Safe Mode stops downloaded apps from running, which makes the culprit much easier to find and uninstall.
- A factory reset is the last resort, and passwords should be changed from a clean device afterwards.
A phone that suddenly fills with pop-ups, drains its battery in hours or opens pages you never asked for is frightening. The good news is that most Android infections are not mysterious viruses at all. They are one bad app, and removing that app usually fixes everything.
How do I know if my Android phone has a virus?
Look for a pattern rather than a single symptom: pop-up ads that will not go away, a home page that changes by itself, apps you did not install, or messages sent from your accounts that you did not write.
Google lists the clearest signs in its malware help page: messages about a virus, an antivirus app that stops working, a very slow device, less free space than you used to have, and a phone that does not work properly.
In the browser, watch for pop-up ads and new tabs that will not close, unwanted extensions or toolbars that keep coming back, and pages that go somewhere you did not choose.
One warning sign is itself a trap. A pop-up that shouts that your phone is infected and offers a cleaner app or a phone number to call is usually the scam, not proof of an infection. Real malware stays quiet, because staying installed is the whole point. Close the tab and never tap the button inside the alert.
What should I do first if my Android phone has a virus?
Stop signing in to sensitive accounts on the phone, disconnect from Wi-Fi and mobile data while you work, and do not install anything from a pop-up. Then work through the cleanup steps below in order.
Stopping sign-ins matters because malware can watch what you type. If you need to check a bank account or change a password, use a different, clean device. Keep the phone on while you work, so you can test it after each step, unless it is actively sending messages or encrypting files.
If this is a work phone, tell your IT team before you start. They may want to check whether company data was exposed, and a reset without their say-so can wipe work apps they manage. For a personal phone, you can go ahead on your own.
How do I start my Android phone in Safe Mode?
Safe Mode starts Android with only the apps that came with the phone, so a downloaded app cannot run, show ads or block its own removal. On a Pixel 6 or later, press and hold Power and Volume Up, then touch and hold Power off and tap OK.
On a Pixel 5a or earlier, press and hold Power, then touch and hold Power off. On Samsung and many other phones, press and hold Power, then touch and hold Power off until the Safe Mode prompt appears. You will see "Safe mode" at the bottom of the screen.
If the pop-ups, slowness or battery drain disappear in Safe Mode, a downloaded app is the cause. That is useful information: the problem is not the phone itself, and the fix is finding that app. Restart normally to leave Safe Mode.
How do I remove the virus app from my Android phone?
Open Settings, then Apps, and go through the full list. Remove anything you do not recognize, anything installed shortly before the trouble began, and any cleaner, battery saver or flashlight app with permissions it does not need.
Google's advice is to remove apps one at a time and restart normally after each one, checking whether the problem is gone. That takes longer, but it tells you exactly which app was responsible, so you do not delete half your phone for nothing. Keep a note of what you remove.
Also check Chrome. In Chrome, open the site that sends pop-ups, tap Page info, then Permissions, then Notifications, and turn off notifications. Many "viruses" are just a website you allowed to send notifications, and this one switch stops them.
What if the Uninstall button is greyed out?
The app probably gave itself device administrator rights, which Android uses to stop it being removed. Search Settings for device admin apps, switch off the suspicious app, and then uninstall it normally.
Some apps also use accessibility access to watch the screen or block taps. If the app still resists, go to Settings, then Accessibility, and turn off its access there first. Then try the device admin step again, and then uninstall.
If you still cannot remove it, restart in Safe Mode and try again there. In Safe Mode the app cannot run, so it cannot fight back while you remove it. This combination solves almost every stubborn case short of a factory reset.
How do I run a Google Play Protect scan?
Open the Play Store, tap your profile icon, tap Play Protect, and use the scan option. Make sure "Scan apps with Play Protect" is turned on in Play Protect settings, and turn on "Improve harmful app detection" if you installed apps from outside Google Play.
Play Protect checks apps when you install them and scans your device from time to time. If it finds a harmful app, it may warn you, disable the app until you uninstall it, or remove it, as Google explains in its Play Protect documentation.
After the scan, update Android. Open Settings, then System, then Software updates, and install anything waiting. Then check Settings, then Security and privacy, then System and updates, for the security update and the Google Play system update. Updates close the holes malware uses to get in.
What kinds of Android malware are there?
Most Android malware falls into a few types: adware that floods you with ads, spyware that watches what you do, banking trojans that steal login details, and ransomware that locks your files. Knowing the type helps you judge how urgent the cleanup is.
| Type | What it does | Main warning sign | How urgent |
|---|---|---|---|
| Adware | Shows pop-ups and full-screen ads | Ads on the home screen or in other apps | Annoying, low risk |
| Spyware | Records calls, messages and location | Battery and data drain, hot phone | High, change passwords |
| Banking trojan | Steals banking logins and codes | Fake login screens over real apps | Very high, call your bank |
| Ransomware | Locks files and demands payment | Files locked, ransom message | Very high, do not pay |
| Browser hijacker | Changes home page and search | Redirects to unknown sites | Medium, reset browser |
If you saw a fake banking login screen, or money moved, call your bank first and change passwords from a clean device before anything else. The FBI's IC3 report shows phishing and spoofing remain the most reported internet crime, and stolen phone credentials are a common way in. For a wider check, see our guide on how to know if your phone is hacked.
When should I factory reset my Android phone?
Factory reset only when the signs remain after Safe Mode, app removal, a Play Protect scan and updates. Google itself gives this as the next step when malware signs persist, or suggests asking the phone maker for help.
Before you reset, back up photos, contacts and files to Google Photos, Google Drive or a computer, because the reset erases everything on the phone. Then go to Settings, then System, then Reset options, then Erase all data. After the reset, sign in with your Google account and reinstall apps only from Google Play, one at a time.
Do not restore from a backup that includes the suspicious app, and do not sideload the same APK file again. If the phone was bought second-hand or the problem returns immediately after a clean reset, the firmware itself may be compromised, and the maker or seller is the right call.
What should I do after removing the virus?
Change your passwords from a clean device, starting with Google, email and banking, and turn on two-step verification everywhere it is offered. Then run a Google security checkup at myaccount.google.com/security-checkup and fix anything it flags.
Check whether any password you used on the phone appears in a known breach with our pwned password checker.
Test new passwords with the password strength checker. If a password was reused anywhere else, change it there too.
Review app permissions as well. Go to Settings, then Apps, and ask why a torch app needs your contacts or a game needs SMS access. Remove permissions that do not match what the app does.
How do I stop my Android phone getting a virus again?
Install apps only from Google Play, keep Play Protect on, keep Android updated, and never sideload an APK from a link in a message, email or pop-up. Those four habits stop almost every Android infection.
- Stay in Google Play. Apps from outside the store skip Play Protect's install-time checks.
- Read permissions before you install. A simple app asking for device admin, accessibility or SMS access is a red flag.
- Keep updates automatic. Security patches close the holes malware relies on.
- Do not tap virus warnings in ads. Close the tab instead, and never call a number in a pop-up.
- Back up regularly. A clean backup makes a factory reset painless if you ever need one.
Also keep an eye on your home Wi-Fi, since a compromised router can push the same scams to every device. Our guide to how to secure your Wi-Fi covers the router settings that matter most.
The bottom line
Most Android viruses are one bad app, and the fix is finding it: Safe Mode, uninstall, Play Protect scan, update, then new passwords from a clean device. A factory reset is there if you need it, but most people never get that far.
Afterwards, stay in Google Play and keep updates on, and you will rarely see this problem again. If you reused a password on the infected phone, check it now with the pwned password checker and change it.
Frequently asked questions
Can Android phones get viruses?
Yes, although a true self-spreading virus is rare on Android. What most people call a virus is a malicious or unwanted app, often installed from outside Google Play or bundled with a free app. That app can show ads, steal data or change browser settings.
How do I know if my Android phone has a virus?
Look for a pattern: pop-up ads that will not go away, a home page or search engine that changes by itself, apps you did not install, a battery that drains fast, or messages sent from your accounts that you did not write. One symptom alone can be a normal fault.
Is Safe Mode safe for my Android phone?
Yes. Safe Mode is a built-in Android feature that starts the phone with only the apps that came with it. Your files are not deleted. Restarting normally takes you back to regular mode, so it is a safe way to test whether a downloaded app is causing the problem.
Do I need to pay for an antivirus app to clean my phone?
No. Google Play Protect is built into Android and scans apps when you install them and from time to time afterwards. Do not download a cleaner app from a pop-up ad, because that is a common way malware spreads.
What if the Uninstall button is greyed out?
The app probably has device administrator rights. Search Settings for device admin apps, switch off the suspicious app there, and then uninstall it. If it also has accessibility access, turn that off first in Settings under Accessibility.
Will a factory reset remove a virus from my Android phone?
Yes, a factory reset removes downloaded apps and their data, which removes almost all Android malware. Back up photos and files first, because the reset erases them too. After the reset, reinstall apps only from Google Play.
Should I change my passwords after removing a virus?
Yes. Change your Google password and any banking, email or shopping passwords you used on the phone, and do it from a different, clean device. Turn on two-step verification as well, because removing the malware does not undo credentials it already stole.
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 Account Help malware removal steps, Google Play Protect documentation and Android developer guidance.
How we write and fact-check →