How to fix Windows 11 high CPU usage caused by Windows Search or Antimalware Service Executable
Summary
This guide helps you troubleshoot and resolve: How to fix Windows 11 high CPU usage caused by Windows Search or Antimalware Service Executable. Follow the steps below to fix the issue.
Common Causes
Quick Fix Steps
If you need immediate relief from a sluggish computer, try these steps in order. Each takes less than a minute.
- Press
Ctrl+Shift+Escto open Task Manager. - Click the CPU column header to sort processes by usage.
- Look for
SearchIndexer.exe(Windows Search) orMsMpEng.exe(Antimalware Service Executable). - Right-click the offending process and choose End task.
- Wait 60 seconds. If CPU usage stays low, proceed to the detailed instructions below to prevent recurrence.
MsMpEng.exe temporarily disables real-time malware protection. Windows Security will restart it automatically within a few minutes, but do not leave it disabled for extended periods.Detailed Instructions
Identify the culprit process
Before making changes, confirm which background service is actually responsible for the high CPU load. Both Windows Search and Microsoft Defender Antivirus can spike CPU during routine maintenance, but sustained usage above 30–40% is abnormal.
- Right-click the Start button and select Task Manager.
- If Task Manager opens in compact mode, click More details at the bottom.
- Click the Processes tab, then click the CPU column header so the arrow points downward (highest usage at top).
- Note the process name and exact CPU percentage over a 2–3 minute period.
- Cross-reference:
SearchIndexer.exe— Windows Search indexer. Often spikes after large file copies, new user profiles, or corrupted index databases.MsMpEng.exe— Antimalware Service Executable, the core engine of Microsoft Defender. Can spike during full scans, definition updates, or when scanning its own quarantine folder repeatedly.SearchApp.exeorSearchHost.exe— the Windows Search UI and background host. Less common but can cause similar symptoms.
Fix 1: Rebuild the Windows Search index
If SearchIndexer.exe is the culprit, the most reliable long-term fix is rebuilding the search index from scratch. This clears corrupted entries and forces a fresh crawl of your files.
- Press
Windows key+R, typecontrol, and pressEnterto open Control Panel. - Set View by to Large icons, then click Indexing Options.
- Click the Advanced button. If prompted by User Account Control, click Yes.
- Under the Index Settings tab, click Rebuild.
- Click OK to confirm. The rebuild can take anywhere from 15 minutes to several hours depending on the number of files.
- Monitor CPU usage in Task Manager. The indexer will use significant CPU during the rebuild, but it should settle to near zero once complete.
Fix 2: Reduce Windows Search indexing scope
If rebuilding does not help, or if you have a small number of frequently accessed folders, consider limiting what Windows Search indexes.
- Open Indexing Options as described above.
- Click Modify.
- Uncheck any locations you do not need indexed, such as large media folders, backup drives, or network shares.
- Click OK, then Close.
- Restart the
SearchIndexer.exeprocess from Task Manager by right-clicking it and selecting End task. Windows will restart it automatically with the new scope.
Fix 3: Exclude folders from Microsoft Defender scanning
If MsMpEng.exe is consuming excessive CPU, the most common cause is Defender repeatedly scanning its own working directories or a folder that changes frequently (such as a development workspace, database directory, or virtual machine storage). Adding exclusions can dramatically reduce CPU load without compromising overall protection.
- Press
Windows key+Ito open Settings. - Click Privacy & security in the left sidebar, then Windows Security.
- Click Virus & threat protection.
- Under Virus & threat protection settings, click Manage settings.
- Scroll down to Exclusions and click Add or remove exclusions.
- Click Add an exclusion and choose Folder.
- Navigate to the folder that is being repeatedly scanned and click Select Folder.
- Repeat for any additional folders as needed.
- Restart your computer to apply the changes cleanly.
Fix 4: Run a manual Defender scan to clear a stuck queue
Sometimes MsMpEng.exe gets stuck processing a large or malformed file. Running a manual scan can force the engine to complete its work and release the CPU.
- Open Windows Security from the Start menu or system tray icon.
- Click Virus & threat protection.
- Click Scan options.
- Select Full scan and click Scan now.
- Allow the scan to run to completion. This may take several hours on large drives.
- After the scan finishes, restart your computer and monitor CPU usage for 30 minutes.
Fix 5: Disable Windows Search temporarily (last resort)
If the indexer continues to misbehave after rebuilding and reducing scope, you can disable the Windows Search service entirely. This will break search functionality in File Explorer and the Start menu, but it will immediately stop SearchIndexer.exe from using CPU.
- Press
Windows key+R, typeservices.msc, and pressEnter. - Scroll down to Windows Search in the list.
- Right-click Windows Search and select Properties.
- Set Startup type to Disabled.
- Click Stop to halt the service immediately.
- Click OK.
Troubleshooting
CPU usage returns after a reboot
If the problem recurs after restarting, check the following:
- Windows Update may have installed a new definition update for Microsoft Defender that triggered a full system scan. Wait for the scan to finish before taking further action.
- Third-party antivirus software may be conflicting with Microsoft Defender. Uninstall any non-Microsoft security tools and let Defender handle protection.
- A scheduled Windows Search reindexing task may be running automatically. Check Task Scheduler for tasks related to Windows Search.
High CPU usage after Windows updates
Major Windows 11 feature updates can reset indexing preferences or trigger Defender to re-scan system files.
- Allow 24 hours after a major update for background maintenance tasks to complete.
- If CPU remains high, repeat Fix 1 to rebuild the search index.
- Ensure Windows is fully up to date by going to Settings > Windows Update > Check for updates.
Corrupted system files
Damaged system files can cause Windows Search or Defender components to loop and consume excessive CPU.
- Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin).
- Type
sfc /scannowand pressEnter. - Wait for the scan to complete. If corrupted files are found and repaired, restart your computer.
- If the issue persists, type
DISM /Online /Cleanup-Image /RestoreHealthand pressEnter, then restart.
Third-party antivirus conflicts
Installing a third-party antivirus alongside Microsoft Defender can cause both programs to scan the same files simultaneously, driving CPU usage to 100%.
- Open Settings > Apps > Installed apps.
- Locate any third-party antivirus software.
- Click the three dots next to the app and select Uninstall.
- Restart your computer and monitor CPU usage.
Conclusion
High CPU usage from Windows Search or Antimalware Service Executable is usually caused by a corrupted index, an overly broad scanning scope, or a stuck scan queue. By rebuilding the index, adjusting exclusions, and keeping Windows updated, you can resolve the issue without disabling essential security features. If CPU usage remains high after following these steps, Open a Ticket and our support team will assist with further diagnosis.
Still Having Issues?
💻 Open a Ticket