You open Task Manager and there it is: SearchIndexer.exe sitting at 25%, 40%, sometimes 60% CPU — on a laptop that’s supposed to be idling. The fans spin up, the battery drains faster than it should, and the machine feels warm for no apparent reason. This is the Windows Search indexing service doing its job a little too enthusiastically: building a database of every file, email, and Start menu item so your searches return instantly.
Some indexing is normal, especially after you add a big folder, create a new user account, or install a feature update like 24H2. What’s not normal is the indexer grinding away for days. The good news is this is one of the most fixable high-CPU problems in Windows 11, because you control exactly what gets indexed. For related background-task slowdowns, see our guide on Windows Modules Installer high CPU and the general slow Windows 11 laptop speedup checklist .
Why this happens
- Initial index build after a big change: New user profile, feature update, or a newly added drive triggers a full re-index that can run for hours.
- Too many indexed locations: Indexing entire drives, network shares, or game libraries multiplies the workload enormously.
- Corrupt index database: A damaged index causes the service to rebuild in a loop, never finishing.
- Outlook data files being re-indexed: Large or frequently-changing PST/OST files keep the indexer busy on every mail sync.
- File contents indexing enabled for everything: Indexing inside file contents (not just names) is far more CPU-intensive.
- High-churn folders: Downloads, build outputs, or torrent folders change constantly, forcing endless re-indexing.
- Indexing while on battery: By default the indexer doesn’t pause on battery, so it happily eats CPU when unplugged.
How to fix it
Work through these in order — diagnose first, then act.
Fix 1: Confirm the indexer is the real culprit
Make sure SearchIndexer.exe is actually what’s eating CPU before you change anything.
- Open Task Manager (
Ctrl + Shift + Esc), go to the Processes tab, and sort by CPU — confirm Microsoft Windows Search Indexer is at the top. - Open Indexing Options (search for it in Start) and check the status line at the top: “Indexing complete” vs. “Indexing in progress” with a count of items.
- If it says “Indexing complete” but CPU is still high, something else is going on — check the Details tab for the actual process and its CPU history.
- Note the “items indexed” count: a healthy index for a typical laptop is tens of thousands of items; hundreds of thousands suggest overly broad locations.
- Click Modify in Indexing Options and take a screenshot or note of the checked locations — you’ll trim these in the next fix.
Fix 2: Shrink the indexed locations
This single change fixes most persistent indexing CPU problems.
- In Indexing Options, click Modify, then uncheck entire drives (especially secondary/data drives), game folders, and network locations.
- Keep only what you actually search: typically Users (your documents) and the Start Menu — that’s enough for most people.
- Click OK, then click Advanced > File Types tab — uncheck “Index Properties and File Contents” for file types where you never search inside contents (videos, archives, executables).
- Common file types worth keeping contents-indexed:
.docx,.pdf,.txt,.xlsx. Uncheck contents indexing for.zip,.mp4,.exe,.dll. - Windows applies the change immediately; the indexer will prune the database, which briefly spikes CPU before settling much lower.
Fix 3: Restart the Windows Search service cleanly
A stuck indexer often just needs a clean restart.
- Press
Win + R, typeservices.msc, and press Enter. - Find Windows Search, right-click it, and choose Restart (if it’s stuck, choose Stop, wait 30 seconds, then Start).
- Watch Task Manager for 5 minutes: a healthy restart shows a brief CPU bump, then a drop to near zero when idle.
- If CPU immediately climbs back to 30%+ and stays there, the index database is likely corrupt — move to Fix 4.
- While you’re in services.msc, confirm the service’s Startup type is Automatic (Delayed Start) — this keeps indexing from hammering the CPU during boot.
Fix 4: Rebuild the index from scratch
When the index database is corrupt, rebuilding is the reliable cure.
- Open Indexing Options > Advanced > Troubleshooting section > click Rebuild.
- Confirm the prompt — Windows deletes the old index and starts over. This is safe; no files are touched, only the search database.
- Let the rebuild run during a period you won’t need peak performance (overnight works well). Initial rebuilds take 1–4 hours on an SSD.
- Monitor via Indexing Options: the item count should climb steadily. If it stalls at the same number repeatedly, a specific file is crashing the indexer — exclude that folder (Fix 5).
- After “Indexing complete” appears, CPU from SearchIndexer.exe should be near zero at idle.
Fix 5: Exclude high-churn and problem folders
Stop the indexer from chasing folders that change constantly.
- In Indexing Options > Modify, expand your user folder and uncheck Downloads, any code/build output folders, virtual machine directories, and game mod folders.
- If you use Outlook with a large mailbox, consider excluding Outlook in Modify (under Microsoft Outlook) — mail search still works via the server, and local indexing of multi-GB OST files is a classic CPU hog.
- Encrypted files: in Advanced > Index Settings, uncheck “Index encrypted files” unless you specifically need it — decryption during indexing costs CPU.
- Network/mapped drives: never index these from a laptop; latency makes the indexer work far harder and it retries constantly on flaky Wi-Fi.
- After excluding, give the indexer 15–30 minutes to prune, then confirm idle CPU is back to normal.
Fix 6: Limit indexing to AC power and idle time
Keep the indexer from draining your battery or fighting you while you work.
- Open the Local Group Policy Editor (
gpedit.msc) — on Windows 11 Pro. Navigate to Computer Configuration > Administrative Templates > Windows Components > Search. - Enable “Prevent indexing when running on battery power to conserve energy” — this stops the indexer entirely when unplugged.
- Also enable “Disable indexer backoff” only if you want indexing to continue during user activity — normally leave this off so the indexer backs off while you work.
- On Windows 11 Home (no gpedit), the equivalent registry key is
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search— create DWORDPreventIndexOnBattery= 1. - As a last resort, you can set Windows Search service startup to Disabled in services.msc — searches still work but are slow. Most users are happier with the trimmed-index approach instead. Microsoft’s Windows support hub documents the service’s behavior if you need official confirmation.
Closing
Search indexing high CPU is almost always a configuration problem, not a broken system: too much indexed, a corrupt index, or a churn-heavy folder keeping the indexer busy. Trim the locations, rebuild once cleanly, and keep it off battery power — and SearchIndexer.exe should fade back into the background where it belongs.
