Last Updated on November 10, 2026 by Kevin Abbot
What a computer virus is, and what people mean by the word
A computer virus is a type of malware that attaches itself to another file or program and spreads when that file is opened or run. Malwarebytes adds that people often say virus when they mean any malware, so a search for types of computer viruses is usually a search for types of malicious software.
This page answers both questions. First it explains the narrow meaning, a true virus, with the kinds that security writers name. Then it covers the wider family that people mean when they say their PC has a virus:
- worms
- trojans
- ransomware
- spyware
- password stealers
- backdoors
- unwanted programs
The same page tells you how to check a PC and how to clear it.

- Narrow meaning
- A virus: code that attaches to a host file and needs you to open or run that file
- Wide meaning
- Malware: viruses, worms, trojans, ransomware and other threats
- Where Microsoft files it
- Virus and Worm are two of twenty malware types in Microsoft’s naming scheme
- Platforms
- Windows, macOS, Linux, Android and iOS each have their own names; this guide covers Windows 11 and 10
- Can you uninstall it?
- Usually not like a program. You scan, quarantine and delete files
- First thing to do
- Stop using banking and shopping accounts on the PC, update your security software and run a full scan
