TechBuzzPro

Fix msmpeng.exe High CPU Usage (Windows Defender)

· 6 min read · Security & Privacy

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If msmpeng.exe (Windows Defender Antivirus Service) is eating your CPU, the fastest fix is usually to run a full scan once, then exclude the folders it keeps re-scanning (like your browser cache or game folders). In most cases, the high CPU is temporary — it happens during a scheduled scan or after an update. If it's constant, a corrupted Defender cache or a conflicting third-party antivirus is often the culprit. Below are the exact steps to stop the runaway CPU usage.

What You'll Need

  • Administrator access to your Windows PC (you'll need to approve some steps).
  • About 15–30 minutes of patience — some steps involve a full scan.
  • No other antivirus installed (if you have one, see Step 5).

Step-by-Step

  1. Check if it's a real problem. Open Task Manager (Ctrl+Shift+Esc), go to the Processes tab, and look for "Antimalware Service Executable" under Windows Defender. If the CPU usage is above 30% for more than a few minutes, proceed. Sometimes it spikes to 100% for 10–15 minutes after a Windows update — that's normal. Wait it out if it's a one-off.
  2. Run a full scan manually. A scheduled scan might be stuck or corrupted. Open Windows Security (search for it in the Start menu), go to Virus & threat protection > Scan options, select Full scan, and click Scan now. Let it finish — this can take an hour or more. After it's done, the CPU should drop. If it doesn't, continue.
  3. Exclude folders that cause constant re-scanning. Common culprits: browser cache (%LocalAppData%\Google\Chrome\User Data\Default\Cache), game folders (Steam, Epic), and large media folders. In Windows Security, go to Virus & threat protection > Manage settings (under Virus & threat protection settings) > Exclusions > Add or remove exclusions. Add the folders you trust. Be careful: excluding a folder means Defender won't scan it, so only exclude things you're sure are safe.
  4. Reset the Defender cache. Open Command Prompt as Administrator (right-click Start > Terminal (Admin)). Type: sc stop WinDefend (press Enter), then sc start WinDefend (press Enter). This restarts the service and clears the in-memory cache. Then run a quick scan again.
  5. Check for conflicting antivirus. If you have a third-party antivirus (Norton, McAfee, Avast, etc.), it can fight with Defender. Open the third-party app and look for a setting to disable its real-time protection, or uninstall it completely using the app's own uninstaller. Windows Defender will automatically re-enable itself. If you don't have one, skip this.
  6. Update Windows and Defender definitions. Go to Settings > Windows Update and click Check for updates. Install all pending updates, then restart. Also, in Windows Security, go to Virus & threat protection > Protection updates > Check for updates to get the latest definitions.
  7. Run the Windows Defender offline scan. If the CPU is still high, a rootkit might be hiding. In Windows Security, go to Virus & threat protection > Scan options > Microsoft Defender Offline scan > Scan now. Your PC will restart and scan for about 15 minutes. This removes stubborn malware that could be causing the high CPU.
  8. If nothing works, disable real-time protection temporarily (last resort). This is not recommended for long-term because it leaves you unprotected. Go to Virus & threat protection > Manage settings and toggle off Real-time protection. If the CPU drops, you know Defender is the cause, but you should turn it back on after troubleshooting.

Common Mistakes

  • Killing the process in Task Manager. You can't end msmpeng.exe — it's protected by Windows. Even if you force it, it will restart immediately. Don't try.
  • Adding too many exclusions. Excluding your entire C: drive defeats the purpose of Defender. Only exclude specific folders you trust.
  • Assuming it's always a virus. High CPU from Defender is often just a scheduled scan or a corrupted cache, not malware. Don't panic.
  • Installing a third-party antivirus without uninstalling the old one. Two real-time scanners will cause conflicts and even higher CPU usage.

Tips

  • Set your scheduled scan time to when you're not using the PC. In Windows Security, go to Virus & threat protection > Manage settings > Notifications — but the scan schedule is actually set in Task Scheduler. Open Task Scheduler, go to Microsoft > Windows > Windows Defender, right-click Windows Defender Scheduled Scan, and choose Properties. Change the trigger to a time you're asleep.
  • Keep your Windows updates current — Microsoft regularly optimizes Defender's performance.
  • Use the Performance Monitor to see exactly what Defender is doing: open perfmon.exe, go to Data Collector Sets > System > System Performance, and run it. It will show you the processes using the most CPU.

Troubleshooting

If the steps above didn't fix the high CPU, try these in order:

  1. Run the Windows Update troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters, click Windows Update, and run it. This fixes corrupted update files that can cause Defender to misbehave.
  2. Use System File Checker. Open Command Prompt as Admin and run sfc /scannow. This repairs corrupted system files. It can take 10–20 minutes.
  3. Check for a specific file that's causing the issue. In Task Manager, right-click msmpeng.exe and select Open file location — that will show you the path. If it's not in C:\ProgramData\Microsoft\Windows Defender\Platform\<version>, you might have a fake process. Run a full scan with another tool like Malwarebytes (free trial) to check.
  4. If nothing works, reset Windows Security. Go to Settings > Apps > Installed apps, find Windows Security, click the three dots, and choose Advanced options > Reset. This resets the app's settings but doesn't delete your files. You'll need to reconfigure your exclusions afterward.
  5. As a final step, perform a clean boot. Open msconfig, go to the Services tab, check Hide all Microsoft services, click Disable all, then restart. If CPU drops, a third-party service is conflicting. Re-enable services one by one to find the culprit.

Frequently Asked Questions

Is msmpeng.exe a virus?

No, it's the legitimate Windows Defender Antivirus Service. However, malware can disguise itself with that name. Check the file location: the real one is in C:\ProgramData\Microsoft\Windows Defender\Platform\<version number>. If it's anywhere else, run a full scan with another tool.

Why does msmpeng.exe use 100% CPU after a Windows update?

After an update, Defender re-scans files that changed, which can cause a temporary spike for 10–30 minutes. It should settle down. If it doesn't, try the reset cache step above.

Can I disable msmpeng.exe permanently?

You can disable real-time protection temporarily, but Windows will turn it back on automatically. There's no supported way to permanently disable Defender without using Group Policy or registry hacks — and doing so leaves you vulnerable. It's not recommended.

Will adding exclusions slow down my PC?

No, it actually speeds it up because Defender won't scan those folders. But only exclude folders you trust — excluding system folders can hide malware.

Does a third-party antivirus reduce msmpeng.exe CPU usage?

Yes, if you install a third-party antivirus, Windows Defender automatically disables its real-time protection, so msmpeng.exe stops running. But the third-party antivirus will use its own CPU, so you might not see a net gain. Only install one if you prefer that brand.

Why does msmpeng.exe start at random times?

That's the scheduled scan. By default, Windows runs a scan at a random idle time. You can change the schedule in Task Scheduler as described in the Tips section.