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. Allow 10–15 minutes after startup for the initial scan to complete.
- If you added Defender exclusions, confirm they are still listed under Virus & threat protection settings > Exclusions.
- If you rebuilt the search index, check that the rebuild completed successfully by opening Indexing Options and confirming the status shows Indexing complete.
SearchIndexer.exe still using high CPU after rebuild
If the indexer remains busy for more than a few hours after a rebuild, try the following:
- Ensure the computer is plugged in and not in battery saver mode, which can slow indexing.
- Check for Windows updates and install any pending updates, then restart.
- Run the Search and Indexing troubleshooter: open Settings > System > Troubleshoot > Other troubleshooters, then run Search and Indexing.
MsMpEng.exe still using high CPU after exclusions
If Defender continues to use excessive CPU after adding exclusions, consider the following:
- Run a full scan to completion, as described in Fix 4.
- Check for malware with a second opinion scanner, such as the Microsoft Safety Scanner.
- Ensure your Windows 11 installation is up to date by running Windows Update.
Still Having Issues?
💻 Open a Ticket