Does Performing A Factory Reset Remove Viruses?

Along with modern technology comes the reality of common viruses. If you’ve become the victim of malware on your phone, you may need a factory reset to remove it. But is that all you’ll have to do?
We receive compensation from the products and services mentioned in this story, but the opinions are the author's own. Compensation may impact where offers appear. We have not included all available products or offers. Learn more about how we make money and our editorial policies.

Some people mistakenly think viruses only invade Windows PCs and Macs. Unfortunately, hackers are getting better at attacking different devices. If you get malware on your iPhone or Android device, does a factory reset remove it? The short answer is that it can and will in most cases, but there are some things to consider first.

Once you do a factory reset, it’s an irreversible act. You cannot stop the process if you suddenly change your mind. If this seems too drastic, you can do a soft reset instead, which won’t erase all your data. Keep reading to learn how to perform factory resets, other solutions to try first (like using the best antivirus software), and if a factory reset is the right option for you. 

In this article
Factory resets remove most viruses
Viruses may remain after a factory reset
When to factory reset your phone
Other solutions to try first
How to factory reset Androids
How to factory reset iPhones
Tips to avoid viruses
FAQ
Bottom line

Factory resets remove most viruses

If you find a virus on your phone, a factory reset will remove it in most cases. A factory reset, also called a hard reset, returns your device to its original factory settings. Your smartphone will have a feature that allows you to revert the drivers and operating system to a similar or original state from when you bought the phone.

Performing a hard reset will get rid of most viruses on your device because it wipes everything away. When you return your phone to its original state, the process removes all programs and system files from your device and leaves your phone with a clean slate.

Viruses may remain after a factory reset

The factory reset solution may not always work. Since viruses are steadily evolving and hackers are looking for ways to invade phones, some malware can avoid detection. These events are rare, but you should know about them in case they infect your device. Some instances where viruses don’t get removed by a factory reset are:

1. You may have rootkit malware on your iOS or Android device. This malware will give administrator access to hackers without your knowledge.

2. Your backup could also be infected. Since factory resets erase all your phone data, you may want to back up your device so you don’t lose your files. If that backup has an infected program, you could unknowingly restore the same virus to your phone.

3. Malware is sneaky and can hide in places you might not expect. You may have Wi-Fi adapters, keyboards, or other external devices that could contain viruses. Once you connect your phone to them, the virus can reactivate itself from these peripherals.

4. Advanced malware can hide in your recovery partition of the device. That is the part of your phone’s storage where the factory restore settings reside. A factory reset doesn’t wipe this part out, so if viruses are hiding there, they won’t be removed. Sometimes antivirus software doesn’t find this kind of malware.

When to factory reset your phone

If you’ve had a malware attack on your device, you may want to consider performing a factory reset. This hard reset will wipe out the device data. When that happens, the dangerous viruses get deleted.

A hard reset will also clear out unnecessary clutter on your phone. After a while, you may have files and apps you no longer need. A factory reset will remove those, and the device’s performance will improve. When you do this, it could remove any malware located in those apps or files.

Other solutions to try first

A factory reset can be helpful, but it can also remove the apps and files you want to keep. Performing a hard reset isn’t your only option if you get a virus on your phone. Before you try a factory reset, consider these methods first:

  1. Equip your phone with virus protection. When you have antivirus software on your device, it can scan your files and programs to remove viruses before they become a problem. If you're not sure what antivirus app is best for your phone, we have tested recommendations:

    Bitdefender for Android

    4.8
    Editorial Rating
    Learn More
    On Bitdefender's website
    Bitdefender
    • Antivirus software offering reliable security
    • Simple yet powerful interface tools
    • Perfect protection score in third-party tests
    • Premium features incur additional subscription fees


    McAfee for iPhone

    5.0
    Editorial Rating
    Learn More
    On McAfee's website
    All-In-One
    McAfee
    Save $90 on a 2-year plan
    • Inclusive antivirus, scam, and web protection with the added privacy of a VPN, identity monitoring, and secure password manager
    • Get a real-time Protection Score that measures your online safety and offers guidance to improve security
    • Added peace of mind with 24/7 expert online support and McAfee’s Virus Protection Pledge
    • Multiple pop-ups for text notifications can be annoying


    Norton for both Android and iPhone

    5.0
    Editorial Rating
    Learn More
    On Norton 360 Antivirus's website
    Antivirus Software
    Norton 360 Antivirus
    Save up to 58% your first year
    • 4 plans available, all including antivirus, malware, ransomware, and hacking protection, Cloud backup, and a secure password manager
    • Option to add VPN connection, dark web monitoring, privacy monitoring, and more
    • Available for up to 10 devices depending on plan
    • Multi-tab navigation may be overwhelming at first

  2. Remove suspicious apps. Reboot your phone in Safe Mode to uninstall recent applications that could be causing issues.
  3. Scan backup files. Before you create your backup, scan the files to be sure there are no viruses or malicious software attached to them.
  4. Clear the cache. You can clear your phone’s cache and your browser’s cache to delete possible malware.

How to factory reset an Android smartphone

When you’re ready to perform a factory reset on your Android device, make sure you save any files or photos you want to keep. Once you begin the factory reset, you won’t get another chance to back up your data.

  1. Go to your Settings, then select System.
  2. Choose Reset options, then Erase all data (factory reset).
  3. Tap Erase all data. Enter your PIN and tap Erase all data again.

How to factory reset an iPhone

Before you erase your data, be sure to back up your iPhone. If you don’t want to hard reset your Apple Watch, unpair it from your phone first. You can do that in the Watch app on your iPhone. Follow the steps below when you’re ready to do a factory reset.

  1. Go to your Settings.
  2. Scroll to General, then select Reset.
  3. Tap Erase All Content and Settings.
  4. Confirm your changes.

Tips to avoid viruses

There are easy tips you can use to avoid getting viruses on your phone. With technology, there’s always a possibility of running into malware, but being proactive can reduce those chances. Follow these tips to protect your phone and avoid viruses:

  • Only download apps from trusted sources. Avoid third-party app stores. Use the Google Play Store or Apple App Store to get your applications. Never jailbreak your device in an effort to get apps not supported by trusted sources.
  • Check Android apps for safety before downloading. Look at and review the developer profile and read user reviews of the app. Check the download count and look for high numbers. Use caution when an app is new, and consider waiting until it’s been around for a while.
  • Read expert reviews. Look for expert reviews online and independent experiences of new apps before you install them on your device.
  • Update your phone. Updates contain fixes for bugs and patches for security issues. Always update to the latest version of your phone’s operating system.
  • Don’t open suspicious links. If you get emails, pop-ups, or texts containing links that look suspicious, don’t click them. These could contain malware or redirect you to malware.
  • Use caution when using public Wi-Fi. Most public Wi-Fi is not secure, making it simpler for hackers to see your online traffic. Don’t access financial or other sensitive data when using public Wi-Fi unless you have a VPN.
  • Set your iPhone and iPad to ask for your Apple ID every time you download a new app. This prevents someone from downloading spyware or other types of malware if they get ahold of your phone.
  • Always use antivirus protection. Having virus protection is an extra layer of security for your phone. It can help protect against malware and other cyber threats.

FAQ


+

How do I know if my phone has a virus?

You may know you have a virus on your phone if you see signs like extra data usage, fraudulent charges on your accounts, and a fast battery drain. You can also scan your device with antivirus software to know for sure if your phone has a virus.


+

How do I make sure a virus is gone?

You can make sure a virus is gone by scanning your backup and checking any peripheral devices for malware. Then you can run a virus scan on your device.


+

Do I need antivirus software for mobile phones?

It is a good idea to have antivirus software on your mobile device because phones can get viruses the same way computers can get them. Since you can click on the same kinds of links and install similar apps, you can easily get a virus on your mobile phone.

Bottom line

There are times when a factory reset is the best method to use when removing a virus from your device. In most cases, performing a hard reset will wipe infected files from your phone. There are rare situations where viruses may remain on your device, even after a factory reset. If that’s the case, you may have to try some other options, like scanning with your antivirus software and checking external devices for malware.

Remember, you can access the same apps and websites from your phone that you can access on your computer. That means your mobile device is susceptible to viruses, too. Since hackers aren’t going to go away, it’s important to download the best antivirus for Android or the best antivirus for iPhone, depending on your device.

Online Protection With VPN Access and Identity Monitoring
5.0
Editorial Rating
Learn More
On McAfee's website
All-In-One
McAfee
Save $90 on a 2-year plan
  • Inclusive antivirus, scam, and web protection with the added privacy of a VPN, identity monitoring, and secure password manager
  • Get a real-time Protection Score that measures your online safety and offers guidance to improve security
  • Added peace of mind with 24/7 expert online support and McAfee’s Virus Protection Pledge
  • Multiple pop-ups for text notifications can be annoying

Author Details
Patti Croft is a seasoned writer who specializes in all things technology. She holds a B.S. in Computer Science and carries a wealth of hands-on experience thanks to her background as a technical analyst and security specialist.