To remove spyware from your computer or smartphone, start by disconnecting from the internet, then boot into safe mode (PC/Mac) or use airplane mode (phone), and delete any recently installed suspicious apps before running a dedicated anti-spyware scan. For most people, a combination of built-in OS security tools and a reputable third-party scanner will catch and remove the vast majority of infections. The exact steps differ between Windows, macOS, Android, and iOS, so this guide walks through each platform and explains how to prevent a recurrence.
What Spyware Actually Does
Spyware is a category of malicious software that secretly collects your personal information and sends it to a third party. Unlike a virus that tries to damage files or a worm that spreads on its own, spyware’s goal is stealth. Common types include:
- Keyloggers – record every keystroke to capture passwords, credit card numbers, and messages.
- Tracking cookies and adware – monitor browsing habits to serve targeted ads, often bundled with free software.
- Banking trojans – wait for you to visit a financial site, then inject fake fields or redirect you to a phishing page.
- Mobile spyware – can access your camera, microphone, GPS location, and call logs, often installed via sideloaded apps or malicious links.
Spyware can arrive through email attachments, fake downloads, infected USB drives, malicious ads, or apps from unofficial stores. On smartphones, it often hides inside a seemingly useful app that requests excessive permissions (e.g., a flashlight app asking for contacts and location).
Signs Your Device Is Infected
Spyware is designed to hide, but it often leaves clues. Look for these common symptoms:
- Battery drains much faster than usual, even when idle.
- Data usage spikes without you streaming or downloading anything.
- Device runs hot or fans spin up constantly.
- New toolbars, extensions, or apps appear that you didn’t install.
- Homepage or search engine changes on its own.
- Pop-up ads appear even when no browser is open.
- Phone shows unusual permission requests, like an app asking for camera access when you’re not using it.
- Strange SMS or email messages sent from your accounts.
If you notice several of these signs, treat it as a likely infection and proceed with removal. Don’t wait – spyware can capture new data every day it remains.
Removing Spyware from Windows
Windows is the most targeted platform for spyware. Follow these steps in order:
- Disconnect from the internet – unplug Ethernet or turn off Wi-Fi to stop data exfiltration.
- Boot into Safe Mode with Networking – restart, press F8 (or Shift+Restart from login screen), choose Troubleshoot > Advanced Options > Startup Settings > Restart, then select Safe Mode with Networking. This loads only essential drivers, making it harder for spyware to hide.
- Uninstall suspicious programs – go to Settings > Apps > Installed apps, sort by install date, and remove anything you don’t recognize or that was installed around when symptoms started.
- Run Windows Defender Offline Scan – open Windows Security > Virus & threat protection > Scan options > Microsoft Defender Offline scan. This boots into a clean environment and removes persistent malware.
- Run a second scanner – use Malwarebytes AdwCleaner or the free version of Malwarebytes for a second opinion. These catch adware and PUPs that Defender sometimes misses.
- Reset browsers – in Chrome/Edge, go to Settings > Reset and clean up > Restore settings to original defaults. Remove any unknown extensions first.
- Check startup programs – press Ctrl+Shift+Esc, go to Startup tab, and disable anything unknown.
If the infection persists, consider a full Windows reset (Settings > System > Recovery > Reset PC) – choose “Keep my files” to preserve personal data, but be aware some stubborn spyware can survive if it’s in the boot sector. A clean install from a USB drive is the last resort.
Removing Spyware from macOS
macOS is less targeted but not immune, especially with the rise of “MacDefender” style fake antivirus and adware like Genieo or MacKeeper. Steps:
- Disconnect from the internet.
- Quit suspicious apps – open Activity Monitor (in Utilities), look for processes with high CPU or odd names, select them, and Force Quit.
- Remove login items – go to System Settings > General > Login Items, and remove anything you don’t recognize.
- Delete the app files – drag the suspicious app from Applications to Trash, then also check ~/Library/LaunchAgents and /Library/LaunchAgents for .plist files with unfamiliar names and delete them.
- Run Malwarebytes for Mac – the free version is effective for adware and spyware. Allow it to complete a full scan and remove what it finds.
- Reset browsers – Safari > Settings > Privacy > Manage Website Data > Remove All; also check Extensions tab.
macOS’s built-in XProtect catches many known threats, but it’s signature-based, so new spyware can slip through. If you suspect a deeply embedded infection, use the “Erase All Content and Settings” option (on Apple Silicon) or reinstall macOS from Recovery.
Removing Spyware from Android
Android is the most common mobile target because it allows sideloading. Here’s the removal process:
- Enable Airplane Mode – this cuts both cellular and Wi-Fi, stopping data transmission.
- Boot into Safe Mode – press and hold the power button, then long-press “Power off” and confirm Safe Mode. This disables third-party apps temporarily.
- Uninstall suspicious apps – go to Settings > Apps > See all apps, look for apps you didn’t install or that have generic names like “System Update” or “Settings” (but with a different icon). Tap Uninstall. If Uninstall is grayed out (because it’s a device admin), go to Settings > Security > Device admin apps and deactivate it first.
- Clear browser data – in Chrome, go to Settings > Privacy and security > Clear browsing data, and also check for unknown extensions.
- Run a security scan – install Malwarebytes for Android from the Play Store (after exiting safe mode) and run a full scan. Google Play Protect also runs automatically but may miss sideloaded apps.
- Check app permissions – go to Settings > Privacy > Permission manager, and revoke any permissions that don’t make sense for an app (e.g., a calculator asking for SMS).
If the spyware is a system-level rootkit (rare but possible), a factory reset is the most reliable fix. Back up only your photos and documents, not app data, and then do Settings > System > Reset options > Erase all data.
Removing Spyware from iPhone/iPad
iOS is heavily sandboxed, so true spyware is extremely rare. Most “iPhone spyware” cases are actually someone with your iCloud password or physical access installing a monitoring profile. Steps:
- Check for configuration profiles – go to Settings > General > VPN & Device Management. If you see a profile you didn’t install (especially one named “MDM” or something generic), remove it.
- Review app permissions – Settings > Privacy, and check which apps have access to camera, microphone, location, and contacts. Revoke any that look suspicious.
- Delete unknown apps – long-press any app you don’t recognize and delete it.
- Update iOS – go to Settings > General > Software Update and install the latest version, as Apple patches security holes regularly.
- Change your Apple ID password – if you suspect iCloud compromise, change it immediately and enable two-factor authentication.
- Reset all settings – if you still feel uneasy, Settings > General > Transfer or Reset iPhone > Reset > Reset All Settings (doesn’t delete data). A full erase and restore from a backup made before the infection is the nuclear option.
If you’re worried about a partner or employer using spyware, note that commercial spyware like Pegasus is state-grade and beyond consumer removal – you’d need a forensic expert. For everyone else, the above steps are sufficient.
Preventing Future Spyware Infections
Removal is only half the battle. To keep your devices clean:
- Only install apps from official stores (Google Play, Apple App Store, Microsoft Store).
- Read permission prompts carefully – deny anything that doesn’t relate to the app’s core function.
- Keep your OS and apps updated, as updates patch vulnerabilities.
- Use a reputable antivirus on Windows (Defender is fine) and consider Malwarebytes for real-time protection.
- Avoid clicking on ads or pop-ups that claim “your device is infected” – those are often the malware itself.
- Don’t download “cracked” software or keygens – they’re a primary spyware vector.
- Use a password manager to avoid typing credentials on potentially compromised keyboards.
- On Android, disable “Install unknown apps” for your browser in Settings > Apps > Special access.
Frequently Asked Questions
Can factory reset remove spyware completely?
Yes, for the vast majority of spyware, a factory reset (or OS reinstall) removes it completely. The exception is firmware-level rootkits, which are extremely rare and typically only used by state actors. After resetting, restore only your personal files (photos, documents) and reinstall apps from official stores – don’t restore from a backup that was made while infected.
Is free antivirus enough to remove spyware?
For Windows, Microsoft Defender (built-in) is good enough for most home users, but adding a free Malwarebytes scan once a month catches adware and PUPs that Defender misses. On Android, Google Play Protect is weak against sideloaded apps, so a free Malwarebytes scan is a good addition. On macOS and iOS, built-in protections are adequate for typical users.
How do I know if my phone has spyware?
Look for the signs listed earlier: rapid battery drain, high data usage, unusual pop-ups, or apps you didn’t install. On Android, check Settings > Apps for apps with no icon or generic names. On iPhone, check for unknown configuration profiles in Settings > General > VPN & Device Management. If you see one, remove it immediately.
Can spyware survive a factory reset on Android?
Most spyware cannot survive a factory reset because it’s stored in the user data partition. However, if the spyware has gained root access and written itself to the system partition, a factory reset won’t remove it. In that case, you’d need to flash the stock firmware using a tool like Odin (Samsung) or Fastboot (Pixel). This is advanced and not necessary for typical infections.
What’s the difference between spyware and a virus?
A virus replicates itself and spreads to other files or devices, often causing damage. Spyware is designed to stay hidden and collect data. Some malware combines both, but removal strategies are similar: disconnect, boot into safe mode, scan, and uninstall. The key difference is that spyware often requires you to revoke permissions and delete the app, while a virus may require more aggressive system-level cleaning.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Gmail Gemini Privacy: Data Access & Limit Settings
- How to Choose a Refurbished iPhone With Years of Support
- Fix Outlook Inbox Corruption with DISM in Windows
- How to Set Up Apple Pay on iPhone
- Voice Dictation in Google Docs: How to Use It
- Turn Off Message Notifications on Mac