Malware & ransomware

How to Get Rid of a Virus on Your Phone for Free (Android & iPhone)

Most phone viruses are bad apps, fake warnings or rogue profiles — and the built-in tools on Android and iPhone remove them for free. Here is the exact order to follow.

Cysoro Security TeamPublished · 10 min read
VIRUS WARNINGCLEAN — FREE MALWARE & RANSOMWARE Virus onyour phone? Remove it free, step by step.
Quick answer

To remove a virus from your phone for free, stop signing in to sensitive accounts, update the system, and run the built-in scanner — Play Protect on Android. Uninstall apps you do not recognize, ideally after restarting in Safe Mode on Android. On an iPhone, update iOS, delete unknown apps and profiles, and clear Safari data. Change passwords from a clean device afterwards, and factory reset only if the problem persists.

Key takeaways

  • A pop-up saying your phone has a virus is almost always a scam — close the page and never call the number.
  • Android cleanup is free with Play Protect and Safe Mode; iPhone cleanup is free with updates, profile removal and Safari cleanup.
  • Change passwords from a clean device after cleanup, and factory reset only as a last resort.

Your phone is hot, the battery drains by lunchtime, and a full-screen warning says you have a virus and must call a number now. Take a breath: that warning is almost certainly the scam, not the virus — and the real cleanup costs nothing.

What does a virus on a phone actually mean?

A phone virus is rarely a classic virus. On Android it is usually a malicious or unwanted app; on iPhone it is usually a rogue configuration profile, a bad app or a web page pretending to be a warning. True viruses are rare because phone apps run sandboxed and are reviewed before listing.

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 important accounts on it, update it, remove what does not belong, and change passwords from a clean device.

Before you start, work out which of four things you have, because each has a different fix:

  • A fake virus warning on a web page — close the tab. There is nothing to remove.
  • Notification spam — a website you allowed to send notifications is abusing it. Block it in browser settings.
  • A bad app — remove the app and scan with Play Protect on Android.
  • A profile or account someone else controls — delete the profile and change passwords from another device.

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 an abuser. Contact the National Domestic Violence Hotline from a device that person cannot reach, on 1-800-799-7233, or at thehotline.org. If you are in immediate danger, call 911.

How do you know if your phone has a virus?

No single sign proves an infection, so look for a pattern — especially one that started after you installed a new app, tapped a strange link or allowed a new permission. The FTC and Google list similar warning signs.

  • Battery drains fast or the phone overheats while idle, which can mean an app running in the background.
  • Apps crash, freeze or restart the phone, which Google lists as a possible sign a downloaded app is causing problems.
  • Pop-ups appear outside the browser, including ads over the home screen or lock screen.
  • Unfamiliar apps appear that you did not install, or familiar apps ask for odd permissions.
  • Data usage spikes without a change in how you use the phone.
  • Your browser home page changes, new toolbars appear, or posts you did not write appear on your accounts.

One of these alone is usually a failing battery, a buggy update or a misbehaving app. Several together, starting at the same time, are worth treating as a possible infection. Our guide on how to know if your phone is hacked covers the same signs in more depth, including account takeovers.

What should you do before you start cleaning?

Stop signing in to sensitive accounts on the phone, back up what matters, and get a second device ready for password changes. These three steps take five minutes and prevent the cleanup from making things worse.

  1. Stop signing in. The FTC's first step is to immediately stop logging in to online accounts on the infected device — shopping, banking and email included — until the phone is clean.
  2. Back up photos and files you cannot lose. Do this to cloud storage or a computer, but do not restore a full backup onto a phone you still suspect, since a backup can carry the problem back.
  3. Use a second device for passwords. After cleanup, change passwords from a computer or another phone, starting with email, and turn on two-factor authentication.
  4. Do not pay anyone who contacted you about the virus. The FTC warns that scammers use fake security pop-ups to get remote access and charge you to fix a problem that does not exist.
Never call a number in a virus pop-upThe FTC is direct about this: never call a phone number that appears in a pop-up window. Close the page instead. Apple says such pop-ups are usually fraudulent advertisements meant to trick you into downloading damaging software or handing over money.

How do you remove a virus from an Android phone for free?

On Android, the free cleanup is: update Android, turn on Play Protect and scan, restart in Safe Mode, and uninstall apps you do not trust. Google documents each of these steps, and none of them costs anything.

  1. Update Android. Open Settings, then System, then Software updates, and install pending updates. Then check Security and privacy, then System and updates, for the security update and the Google Play system update.
  2. 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, scans the device periodically, and also checks apps from outside the Play Store.
  3. Restart in Safe Mode. Safe Mode starts Android with only system apps running, so a bad third-party app cannot hide or fight back. The exact key combination varies by maker — usually holding the power button, then long-pressing "Power off" until "Reboot to safe mode" appears.
  4. Uninstall apps you do not need or trust. In Safe Mode, go to Settings, then Apps, and remove anything you do not recognize, did not get from Google Play, or installed just before the problems started. Google's advice is to remove any app you do not need, do not trust, or did not get from Google Play.
  5. Check app permissions and device admin apps. Look for apps with device administrator access or permission to draw over other apps, and revoke anything suspicious in Settings, then Security and privacy.
  6. Restart normally and watch. If the signs are gone, the cleanup worked. If they return, note which app you last used — that is your next suspect.

Google also notes that Play Protect now scans hundreds of billions of Android apps every day, according to its review of 2025. That scale is why keeping Play Protect on matters more than installing a third-party scanner. For the full step-by-step with screenshots, The Cybersecurity Guide's phone removal walkthrough follows the same FTC, Google and Apple steps.

Android cleanup — free, in order1Updatesystem + securityupdates2Play Protectturn on scan inPlay Store3Safe Moderestart with onlysystem apps4Uninstallremove apps youdo not trust5Restartnormal mode,watch for signsMenu names vary slightly by phone maker.
Free Android virus removal in five steps. Illustration by Cysoro.

How do you remove a virus from an iPhone for free?

On an iPhone the fix is different, because classic viruses are rare: update iOS, delete apps and profiles you do not recognize, clear Safari data, and check your Apple Account. Apple says keeping software up to date is one of the most important things you can do for security.

  1. Update iOS. Go to Settings, then General, then Software Update, and install any pending update.
  2. Delete apps you do not recognize. Long-press an unfamiliar app and delete it, especially anything installed just before the problems started.
  3. Delete profiles you do not recognize. Go to Settings, then General, then VPN and Device Management, and remove any configuration profile you did not knowingly install. A rogue profile can change settings and route traffic.
  4. Clear Safari data. Go to Settings, then Safari, then Clear History and Website Data. This removes the fake warning pages and the notification permissions that feed them.
  5. Check notification permissions. In Safari settings, review which sites can send notifications and remove any you do not recognize.
  6. Check your Apple Account. Go to Settings, tap your name, and review the devices signed in. Remove any device you do not recognize, and change your Apple Account password from another device if anything looks wrong.

On iPhone, apps normally come from the App Store, where each app is reviewed before it is listed. That makes a classic virus rare — and it means that when an iPhone behaves badly, the cause is more often a profile, a web page or a stolen account than an app, as 2-Spyware's iPhone and Android guide also explains.

What do you do after removing the virus?

Removal does not undo what the malware already took, so the next step is damage control: change passwords from a clean device, turn on two-factor authentication, and check your accounts for changes you did not make.

  1. Change passwords from a clean device. Start with email, then banking, then social media. Use a computer or another phone, not the one you just cleaned.
  2. Turn on two-factor authentication on email, banking and social accounts. The FTC lists this as part of the recovery steps.
  3. Check for changes. Look for new mail-forwarding rules, unknown devices on your accounts, changed recovery email addresses, and transactions you do not recognize.
  4. Check whether your passwords leaked. You can safely test whether a password already appears in known breaches with our pwned password checker.
  5. Watch your statements. The FTC advises checking bank and card statements for unauthorized charges in the weeks after a malware infection.

If money was stolen, report it to your bank immediately and file a report at ic3.gov, the FBI's Internet Crime Complaint Center. Speed matters: the sooner banks act, the better the chance of freezing the funds.

When should you factory reset your phone?

Factory reset only when the signs persist after updating, scanning and removing the suspicious app or profile. A reset removes almost all malware, but it also erases everything else — so it is the last resort, not the first step.

Before you reset, make sure you know your Google Account or Apple Account password, charge the phone, and back up photos and files to cloud storage or a computer. A reset without your account password can lock you out of your own phone.

OptionWhen to use itWhat it removesDownside
Update + scanFirst step, alwaysKnown malware, patched flawsMay miss a new or hidden app
Safe Mode + uninstallAndroid, when a bad app is suspectedThe offending appMenu paths vary by maker
Profile + Safari cleanupiPhone, when warnings or redirects persistRogue profiles, bad site dataDoes not fix a stolen account
Factory resetLast resort, signs persistAlmost all malwareErases everything; needs backup

On Android, the reset option is in Settings, under System and then Reset options, though the path varies by maker. On iPhone it is in Settings, then General, then Transfer or Reset iPhone, then Erase All Content and Settings. After a reset, set the phone up as new rather than restoring a full backup, or the problem may come back with it.

How do you stop it happening again?

Prevention is mostly habits, not software: install apps only from the official store, keep the system updated, check permissions, and treat virus pop-ups as scams. These four habits stop most phone malware before it starts.

  • Install only from Google Play or the App Store. Sideloaded apps from websites and links are the most common source of Android malware.
  • Keep the system updated. Updates patch the flaws malware uses, and Apple and Google both describe updates as one of the most important security steps.
  • Check app permissions. A flashlight app does not need your contacts, and a game does not need to send SMS. Revoke permissions that do not match what the app does.
  • Do not tap virus warnings or "cleaner" ads. Close the page, and never download a "security" app from a pop-up.
  • Use a lock screen and two-factor authentication. They limit what a stolen phone or a stolen password can do.
  • Secure the Wi-Fi the phone uses. Public Wi-Fi is where many of these traps are first encountered — our guide on how to secure your Wi-Fi covers the router and phone settings that matter.

Most people do not need a paid antivirus app on a phone that is updated and only installs apps from the official store. The FTC suggests checking independent review sites before choosing security software, rather than trusting an ad or a pop-up.

Keep your phone clean — five habits1. Install apps only from Google Play or the App Store2. Install system and security updates as soon as they appear3. Check app permissions — revoke anything that does not fit4. Close virus pop-ups — never call the number or download the app5. Turn on two-factor authentication on email and banking
Five habits that stop most phone malware before it starts. Illustration by Cysoro.

The bottom line

Getting rid of a virus on your phone for free comes down to the built-in tools: update the system, scan with Play Protect on Android, remove the app or profile that does not belong, and clean up Safari on iPhone. A factory reset is the last resort, not the first step.

Then change your passwords from a clean device, turn on two-factor authentication, and check your accounts. If you are unsure whether your phone is still compromised, run through the signs in our guide on how to know if your phone is hacked.

Frequently asked questions

Can phones get viruses?

True viruses are rare on phones, especially iPhones, because apps are sandboxed and reviewed. What people call a phone virus is usually a malicious or unwanted app on Android, a rogue configuration profile, notification spam, or a fake warning on a web page.

How do I know if my phone has a virus?

Warning signs include a battery draining fast, the phone overheating, apps crashing, pop-ups appearing outside the browser, unfamiliar apps, and data usage spiking. No single sign proves an infection — look for a pattern that started after installing something new.

Is there a free way to remove a virus from my phone?

Yes. Android has Play Protect and Safe Mode built in, and iPhone has iOS updates, profile removal and Safari cleanup built in. You do not need to buy an antivirus app to do the basic cleanup.

Should I factory reset my phone to remove a virus?

Only as a last resort. Try updating, scanning and removing the suspicious app or profile first. If signs persist after that, back up your photos and files, then reset — it removes almost all malware, but it also erases everything else.

What should I do if a pop-up says my phone has a virus?

Close the page or tab and do not call any number shown. Apple says such pop-ups are usually fraudulent advertisements, and the FTC says never to call a phone number that appears in a pop-up window.

Can I remove a virus from my iPhone?

Yes, in most cases by updating iOS, deleting apps and profiles you do not recognize, clearing Safari history and website data, and checking your Apple Account for unknown devices. A factory reset is the fallback if the problem continues.

Will changing my passwords remove the virus?

No, changing passwords does not remove malware, but it limits the damage. Change passwords from a clean device after cleanup, starting with email, and turn on two-factor authentication.

Do I need antivirus on my phone?

Most people do not need a paid antivirus app on a phone that is updated and only installs apps from the official store. Keeping the system updated, avoiding sideloaded apps and checking app permissions matter more.

Sources

  1. The Cybersecurity Guide — How to remove a virus or malware from your phone
  2. 2-Spyware — How to Get a Virus Off Your Phone (iPhone, Android)
  3. CyberBasics — How to Remove Malware: 7 Steps
  4. CyberAge Services — How to Remove Malware: Windows, Mac, Android and iPhone
Written & fact-checked byCysoro Security Team

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.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against FTC consumer guidance on malware, Google Play Protect and Safe Mode help, and Apple support pages on iOS updates, profiles and Safari data.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free