What Is Spyware? How to Detect and Remove It

By George Bailey   Published: 12/04/26   5 min read

What is spyware?

Spyware is software that is secretly installed on a device without the knowledge of its user or owner so it can watch activity or collect information. It can capture things like passwords, messages, browsing and location, and send them to someone else (NIST glossary).

Spyware is a type of malware built to stay hidden. It can run on computers and phones, and it ranges from advertising trackers to tools that record keystrokes or read messages. See also the spyware glossary entry and our guide on how to detect keyloggers.

Spyware vs a virus vs stalkerware

TermWhat it isKey difference
SpywareSoftware installed secretly to watch or collect informationGoal is information, and it hides
VirusMalware that attaches to files and spreads. See virus explainedDefined by how it spreads
TrojanMalware disguised as something useful. See trojansOften the way spyware gets installed
StalkerwareSpyware installed on someone else’s device to monitor a partner, family member or other personInstalled by a person the victim knows, often with physical access
KeyloggerSpyware that records what you typeOne specific type of spyware

A trojan can be the delivery method. Microsoft notes that trojans can record keystrokes and websites visited and send passwords, sign-in details and browsing history to an attacker (Microsoft Learn).

Common signs of spyware

Spyware is designed to hide, so none of these proves it. Several together, or a sudden change, are worth checking:

For a phone-focused walk-through, see how to tell if your phone is hacked.

How to check and remove spyware

Use official operating system and vendor steps only. Avoid “spyware removal” pop-ups and unknown cleaner apps, which are sometimes malware themselves.

  1. Update first. Install all operating system and app updates, because updates fix flaws that spyware abuses.
  2. Run a full scan with trusted security software. On Windows, Microsoft recommends Microsoft Defender Antivirus and Microsoft Safety Scanner for removing trojan-style malware (Microsoft Learn).
  3. Review apps, extensions and permissions. Remove anything you do not recognize, and check which apps have access to the camera, microphone, location and accessibility features.
  4. Change passwords from a clean device and turn on multi-factor authentication, especially for email and banking.
  5. Reset if needed. If the problem remains, back up only the files you need and reset the device to factory settings, then reinstall apps from official sources.

How to stay safer

When to get help

If you think someone you know installed monitoring software on your device, act with care. Removing it may alert them, which can be unsafe in an abusive situation. Consider using a different, trusted device to look for support, and contact a local domestic violence hotline or victim services organization before you change anything. If you believe you are in immediate danger, call your local emergency number. For business devices, tell your IT or security team instead of trying to fix it yourself.

Frequently asked questions

What is spyware in simple terms?

It is software secretly installed on a device without the user or owner knowing, designed to monitor activity or collect information. Source: NIST glossary.

Is spyware the same as malware?

Spyware is one type of malware. Malware is the broad term for any malicious software, and spyware is the kind built to watch or collect data.

How can I tell if I have spyware?

Look for several signs together, such as fast battery drain, slowness, unknown apps, changed settings or account sign-ins you did not make. None of them proves spyware alone.

What is stalkerware?

Stalkerware is spyware installed on another person’s device to monitor them. If you suspect it, seek support before you remove it, because removing it can alert the person who installed it.

Can antivirus find spyware?

Often, but not always. Security software can detect many spyware families, but new or tailored tools may slip through, so updates and careful app habits still matter.

Does a factory reset remove spyware?

A factory reset removes most apps and settings and is a common last step. Restore only the data you need, change your passwords from a clean device and avoid restoring a full backup that might contain the problem.

Sources

George Bailey

George Bailey is the byline of the CyberExperts editorial desk, the team behind the CyberExperts Daily Brief. The desk covers vulnerabilities, breaches and security news from vendor advisories, CISA alerts and other primary sources, and links those sources in every story. Questions or corrections: [email protected].