You have a fast PC, yet games hitch every few seconds for no obvious reason. One overlooked cause is your antivirus scanning game files in real time while you play. Every time the game loads assets from disk, the scanner inspects them, and that extra work shows up as micro-stutter. You do not have to choose between security and smooth frames — a few targeted exclusions fix it. Here is how.
Why real-time scanning stutters games
Real-time protection checks files as they are accessed. Games constantly stream textures, audio, and level data off your drive, so the scanner is triggered again and again during play. On systems where the antivirus is aggressive or the drive is busy, this creates brief pauses as the game waits for the scan to clear. The stutter is often rhythmic, lining up with loading new areas.
Confirm the antivirus is the culprit
Test by temporarily disabling real-time protection for a single session and playing the same area. If the stutter vanishes, you have your answer. Re-enable protection immediately afterward — the goal is targeted exclusions, not running unprotected. Do not leave your antivirus off as a permanent fix.
Add game folder exclusions
The clean solution is to exclude your game install folders from real-time scanning. In Windows Security, open Virus and threat protection, go to Manage settings, then Add or remove exclusions, and add your game library folders — for example your Steam steamapps directory, Epic install folder, and any other launcher’s games folder. The scanner then leaves trusted game files alone while still guarding the rest of your system.
| Exclusion type | Example | Benefit |
|---|---|---|
| Folder | Steam steamapps/common | Covers all Steam games at once |
| Folder | Epic Games install path | Covers Epic library |
| Process | The game’s .exe | Excludes the running game |
| Folder | Recording/capture output | Smoother recording writes |
Handle third-party security suites
If you run a third-party antivirus instead of the built-in Windows one, add the same exclusions in its settings — the option is usually under exceptions, exclusions, or allowed items. Many suites also include a dedicated Game Mode or Silent Mode that suspends scans, notifications, and scheduled scans while a full-screen game runs. Enable it so background scans do not fire off mid-match.
Schedule scans for downtime
Full-system scans are heavy and will tank performance if they launch while you game. Set scheduled scans for hours when you are away, such as overnight, so they never overlap with play sessions. Combined with folder exclusions and a game mode, this keeps protection strong while removing the stutter entirely.
Rule out other background scanners
Antivirus is not the only software that inspects files as you play. Cloud backup clients, file-sync services, and search indexers all wake up when game files change on disk, and any of them can produce the same rhythmic hitch. If exclusions in your security app only partly help, pause your backup or sync tool for a session and see whether the remaining stutter disappears. The Windows Search indexer can also be told to skip your game library folders through its indexing options, which stops it from crawling thousands of asset files. The principle is the same throughout: your game hammers the storage constantly, so anything else that reads or writes those files at the same time competes for the drive and shows up as a pause. Tell each of those tools to leave your game folders alone and the frame times settle down.
FAQ
Is it safe to exclude game folders from antivirus?
Yes, for games from legitimate stores it is safe, because those files are already trusted. Keep exclusions limited to your game directories rather than whole drives, and avoid excluding download or temp folders where new files land.
Will Windows Defender alone cause stutter?
It can on some systems, particularly with fast games on busy drives. The same folder-exclusion and scheduled-scan approach applies to Defender, and enabling exclusions usually smooths things out without weakening real protection.
Bottom line
Antivirus stutter comes from real-time scanning of constantly accessed game files. Confirm it with a quick test, add your game library folders as exclusions, enable your suite’s game mode, and schedule heavy scans for when you are away. You keep full protection and lose the hitching.