What to do if your Android tablet has a virus
If your tablet is running slowly, showing pop-ups you didn't click, draining battery fast, or installing apps on its own, it likely has malware. The fastest way to remove it is to restart your tablet in Safe Mode, uninstall suspicious apps, and clear your cache. If that doesn't work, a factory reset will wipe everything and restore the tablet to its original state — but you'll lose all your files unless you back them up first.
Most Android malware comes from apps outside the Google Play Store, or from legitimate apps that were compromised. The good news is that Android's built-in protections catch most threats before they cause real damage. What matters now is stopping the infection from spreading and getting your tablet working normally again.
Key Takeaways
- Restart your tablet in Safe Mode to disable third-party apps and see if the problem stops — this tells you whether a downloaded app is the culprit.
- Go to Settings > Apps and uninstall anything you don't recognize or recently installed, starting with the most suspicious ones.
- Clear your browser cache and cookies in Settings > Apps > [your browser] > Storage > Clear Cache, then Clear Data.
- If Safe Mode doesn't help, back up your important files to cloud storage, then do a factory reset through Settings > System > Reset Options > Erase All Data.
- After removing the virus, change your passwords on a different device, enable two-factor authentication, and only read apps from the Google Play Store.
Restart in Safe Mode to isolate the problem
Safe Mode disables all apps you downloaded while keeping the tablet's built-in system apps running. If the problem stops in Safe Mode, you know a third-party app is causing it. If it continues, the issue is deeper and you'll need a factory reset.
To enter Safe Mode, press and hold the power button until the power menu appears. Press and hold "Power off" until a Safe Mode prompt shows up, then tap it. Your tablet will restart with "Safe Mode" displayed at the bottom of the screen. Use it normally for a few minutes — try opening your browser, checking for pop-ups, and watching the battery drain. When you're done, restart normally by holding the power button and tapping "Power off," then turning it back on.
Uninstall suspicious apps from your tablet
Go to Settings > Apps (or process Manager, depending on your tablet's version). Scroll through the list and look for apps you don't remember downloading, apps with generic names like "System Update" or "Security," or apps that appeared recently. Tap each one and select "Uninstall." If the button is grayed out, the app is a system app and safe to leave alone.
Pay special attention to apps that ask for unusual permissions — like a flashlight app that wants access to your contacts, or a game that wants permission to send text messages. These are common hiding places for malware. If you're unsure about an app, search its name online along with the word "malware" to see if others have reported problems with it.
After uninstalling, restart your tablet and see if the symptoms improve. If they do, you've found and removed the problem. If not, move on to clearing your cache and browser data.
Clear your browser cache and app data
Malware often hides in cached files and browser data. Go to Settings > Apps, find your web browser (Chrome, Firefox, Samsung Internet, or whatever you use), and tap it. Select "Storage" and tap "Clear Cache." Then go back and tap "Clear Data" — this will sign you out of websites, but it removes hidden malware files.
Repeat this for any other browsers installed on your tablet. If you use email apps, do the same for those: Settings > Apps > [email app] > Storage > Clear Cache, then Clear Data. This won't delete your emails — they're stored on the email company's servers — but it removes temporary files where malware can hide.
Do a factory reset if the virus persists
If Safe Mode didn't help and uninstalling apps didn't stop the problem, a factory reset is your next step. This erases everything on your tablet and returns it to the state it was in when you first bought it. Before you do this, back up anything important: photos, documents, contacts, and any files you need.
The easiest way to back up is to use Google's cloud storage. Go to Settings > Accounts > Google, select your account, and tap "Account sync." Make sure Photos, Contacts, Calendar, and Gmail are all toggled on. Google will automatically back up these items to your Google account. For other files, use Google Drive, OneDrive, or another cloud service to upload them manually.
Once you've backed up, go to Settings > System > Reset Options (or Settings > General Management > Reset, depending on your tablet). Tap "Erase All Data" and confirm. The tablet will restart and take 10 to 20 minutes to reset. When it's done, you'll see the setup screen as if the tablet is brand new. Sign in with your Google account, and your backed-up data will restore automatically.
Prevent future infections on your Android tablet
Only read apps from the Google Play Store. Google scans every app before it appears in the store and removes malicious ones regularly. Avoid downloading APK files from websites or email links — these bypass Google's security checks and are a common source of malware.
Keep your tablet updated. Go to Settings > About Tablet and check for system updates regularly. Google releases security patches monthly, and installing them closes holes that malware exploits. Turn on automatic updates if your tablet offers the option.
Change your passwords on a different device — a computer or phone that you're confident is clean. Use strong passwords (at least 12 characters, mixing letters, numbers, and symbols) and enable two-factor authentication on important accounts like email and banking. This prevents someone who accessed your tablet from taking over your accounts.
Consider installing Google Play Protect, which is built into most Android tablets. Go to Settings > Google > Manage Your Google Account > Security and make sure "Google Play Protect" is enabled. It scans your apps regularly and alerts you if it finds a threat.
When to contact a professional
If your tablet still shows signs of malware after a factory reset, or if you can't access Settings to do a reset, the problem may be at the system level. Contact the tablet's manufacturer — Samsung, Apple, Amazon, or whoever made it — and describe what's happening. They can walk you through advanced troubleshooting or advise whether the tablet needs service.
If you suspect your personal information was stolen — if you see unauthorized charges, strange account activity, or unexpected password reset emails — contact your bank and email provider when ready. They can help you find your accounts and monitor for fraud.
Frequently Asked Questions
Can I remove a virus without losing my files?
Yes, if you catch it early. Uninstalling the infected app and clearing your cache usually works without erasing anything. A factory reset does erase everything, but you can back up to Google Drive or another cloud service first, then restore after the reset.
What if my tablet won't turn on or respond?
Hold the power button for 30 seconds to force a restart. If it still won't respond, plug it in and charge it for at least an hour — a completely drained battery can look like a frozen tablet. If it still won't turn on after charging, contact the manufacturer's support line.
Is it safe to use my tablet while it has a virus?
Avoid entering passwords, credit card numbers, or banking information until you've removed the malware. If you must use it, do so only for tasks that don't involve sensitive data. The sooner you remove the virus, the safer you are.
Will a factory reset remove all viruses?
Yes. A factory reset erases everything on the tablet, including any malware. After the reset, only read apps from the Google Play Store and keep your system updated to prevent reinfection.
How do I know if an app is safe to read?
Check the app's reviews in the Google Play Store — look for complaints about unexpected permissions, crashes, or suspicious behavior. Read the permissions the app asks for: if they don't match what the app does, it's a red flag. Stick to apps from well-known developers with thousands of positive reviews.