Quarantine in antivirus means a suspicious file has been moved into a locked, isolated area where it cannot run or be opened, instead of being deleted straight away. The file is harmless while it sits there, and you can later delete it permanently or restore it if it turns out to be safe. It is a safety net: it stops the threat now while keeping the option to undo a mistake.
Why antivirus quarantines instead of deleting
Deleting a detected file sounds simpler, so why the extra step? There are three good reasons:
- Mistakes happen. Scanners sometimes flag safe files, known as false positives. If a file is deleted and it was actually your accounts spreadsheet or a work tool, it is gone. In quarantine, you can restore it.
- Infected files may matter. Sometimes malware attaches to or hides inside a file you need. Quarantine gives you time to recover the original from a backup before the infected copy is removed.
- It neutralises the threat immediately. The file is moved out of its normal location and stored in a form that Windows cannot launch, so the danger stops without you having to decide anything on the spot.
What actually happens to a quarantined file
The details vary between products, but the general process is the same:
- The scanner detects a file that matches a known threat.
- The file is moved from its original folder into a protected quarantine folder.
- It is usually encoded or locked so it cannot be run, double-clicked or accidentally copied back.
- The scanner records where it came from, so it can be put back exactly where it was if you restore it.
A quarantined file does not take part in anything on your PC. It cannot start with Windows, cannot spread and cannot contact anyone.
Quarantine, delete, or restore: which should you choose?
| Option | What it does | When to use it |
|---|---|---|
| Quarantine | Isolates the file so it cannot run | The default for almost every detection |
| Delete permanently | Removes the file from quarantine for good | When you are sure it is malicious, or after a few days with no problems |
| Restore | Puts the file back where it was | Only when you are confident it is a false positive |
| Allow / mark as safe | Restores and stops future warnings for that file | Software you trust and have checked, such as an in-house tool |
A sensible habit is to leave items in quarantine for a week or so. If nothing on your PC breaks and you do not miss the file, delete it. If a program stops working, check whether its file was quarantined and read our guide on what to do about an antivirus false positive before restoring.
How to see quarantined items in Windows Security
Microsoft Defender in Windows 10 and 11 calls this area Protection history.
- Open Settings > Privacy & security > Windows Security (Windows 10: Settings > Update & Security > Windows Security).
- Click Virus & threat protection > Protection history.
- Click an entry marked Threat quarantined to see the file name, the threat name and its severity.
- Use the Actions button to Remove it or Restore it. Restoring requires administrator rights.
Situations you may run into
Is my PC still infected if threats are in quarantine?
Not by those files. A quarantined file cannot run. However, a detection tells you something reached your PC, so it is worth checking for other pieces of the same infection, such as startup entries or browser extensions. Our guide to removing a virus from Windows 11 covers the full clean-up.
Does quarantine fix files that were already damaged?
No. Quarantine stops a threat from doing more harm; it does not repair what it already did. If ransomware has encrypted documents, quarantining the ransomware program will not unlock them. You will need backups.
Can I just empty the quarantine?
Yes, once you are sure nothing in it is needed. Many products can also clear old items automatically after a set number of days.
Why does the same file keep returning to quarantine?
Something is recreating it, often a downloader, a scheduled task or a startup entry. Check Task Manager > Startup apps and Task Scheduler, and see unknown programs running at startup.
How Threat Eraser's quarantine works
When Threat Eraser detects a threat, it moves the file into an encoded quarantine, so it cannot run. From Tools > Quarantine you can restore an item to its original location or delete it permanently, and you can turn on automatic clean-up so items are removed after a number of days. If a detection turns out to be something you trust, you can mark it as safe or add it to Exclusions so it is skipped in future.
Each detection shows a category (for example trojan, ransomware or adware/potentially unwanted program) and a Critical, High, Medium or Low severity, which helps you decide what to do. You review every result before deciding, and Real-Time Watch can quarantine new threats automatically the moment they arrive in a watched folder. Definitions update every time Threat Eraser starts, so it recognises viruses, trojans and other malware as they are reported.
See the full list of Threat Eraser features.
Frequently asked questions
Can a quarantined virus still harm my computer?
No. A quarantined file is isolated and stored so it cannot run, spread or connect to the internet.
Should I delete quarantined files?
Once you are sure they are not needed, yes. Leaving them for a week or so first gives you time to spot a false positive.
Where is quarantine in Windows Security?
Open Windows Security, go to Virus & threat protection and select Protection history. Quarantined items are listed there with options to remove or restore.
