Microsoft Defender Antivirus can sometimes consume a large amount of CPU, slowing down your PC. The fix usually involves checking for a stuck scan, excluding conflicting files, or resetting the service—here’s how to resolve it step by step.
Why Defender Uses High CPU
Microsoft Defender runs continuously in the background to protect your system. High CPU usage often happens during a full scan, after a Windows update, or when another security tool is also active. In some cases, a corrupted cache or a problematic driver can cause the Antimalware Service Executable (MsMpEng.exe) to loop and consume 30–100% of your CPU.
Check for a Stuck or Running Scan
The most common cause is a scheduled or manual scan that is still running. Open the Windows Security app, go to Virus & threat protection, and look under Current threats to see if a scan is active. If it’s stuck, restart your PC—this usually stops the process. To avoid future issues, you can change the scan schedule so it runs when you’re not using the computer.
Run the Built-in Troubleshooter
Windows includes a dedicated troubleshooter for Defender. Go to Settings > System > Troubleshoot > Other troubleshooters and select Windows Security. Run it and follow the prompts. This can automatically fix corrupted settings or service issues that cause high CPU.
Exclude Conflicting Files and Processes
If Defender is scanning a large file or a folder that changes frequently (like a game directory or a virtual machine), it can spike CPU. Add exclusions for those paths:
- Open Windows Security > Virus & threat protection.
- Under Virus & threat protection settings, click Manage settings.
- Scroll to Exclusions and click Add or remove exclusions.
- Add the folder, file, or file type that is causing the issue.
Be careful: only exclude files you trust, as this reduces protection. Also, if you have another antivirus installed, consider uninstalling it—running two real-time scanners simultaneously causes constant CPU usage.
Reset Defender’s Cache and Service
If the problem persists, reset the Defender service. Open an elevated Command Prompt (Run as administrator) and run these commands:
net stop winmgmt
net start winmgmt
Then restart the Windows Security service:
net stop SecurityHealthService
net start SecurityHealthService
If that doesn’t help, you can reset the entire Defender policy using PowerShell (as admin):
Set-MpPreference -DisableRealtimeMonitoring $true
Set-MpPreference -DisableRealtimeMonitoring $false
This toggles real-time protection off and on, which can clear a stuck state.
Update Windows and Driver
Outdated Windows or a faulty driver can cause Defender to misbehave. Check for updates in Settings > Windows Update and install all pending updates. Also, update your chipset and storage drivers from your PC manufacturer’s website—an outdated driver can cause constant disk and CPU activity.
When to Consider Third-Party Antivirus
If you’ve tried everything and CPU usage is still high, you might consider a third-party antivirus. However, note that Windows automatically disables Defender when you install another antivirus, so you won’t have both running. Choose a reputable product, but know that any antivirus can have occasional high CPU usage—it’s a trade-off between protection and performance.
Frequently Asked Questions
Is it safe to disable Microsoft Defender?
Disabling real-time protection leaves your PC vulnerable. If you must disable it temporarily, use the Windows Security app’s toggle, but re-enable it as soon as possible. For permanent disabling, you’d need to install another antivirus—Windows will then turn off Defender automatically.
Why does MsMpEng.exe use 100% CPU after a Windows update?
After a feature update, Defender re-scans all files to ensure they meet the new security definitions. This can take a few hours. If it continues for days, run the troubleshooter or reset the service as described above.
Can I lower Defender’s priority to reduce CPU usage?
You can’t change the process priority permanently because Windows resets it. Instead, schedule scans during idle times and add exclusions for large, trusted folders.
Does high CPU usage damage my computer?
No, it won’t damage hardware, but it can slow down your system and shorten battery life on laptops. It’s a performance issue, not a hardware risk.
What if the problem only happens during gaming?
Add your game folder and the game executable to the exclusions list. Also, enable Game Mode in Windows Settings to prioritize gaming performance.
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
- Access Your Computer From Anywhere: Step-by-Step
- How to Get More Disk Space on Mac: 12 Fixes
- Wii Browser Games With a USB or Bluetooth Controller
- Delete Focus on iPhone: Quick Steps
- MacBook vs MacBook Air: Key Differences
- Fix Wrong Location on iPhone: 7 Steps That Work