File Explorer Search Not Working: How to Fix It

Share
A Windows laptop on a desk with File Explorer open on the screen.

If File Explorer search is spinning, blank, or missing files, the problem is usually one of three things: Explorer itself is stuck, Windows Search indexing is behind, or the folder you’re searching isn’t included in the index. The fastest safe fixes are to restart File Explorer, check whether indexing is still running, and try a different folder before you change deeper settings. If search fails everywhere, you’ll likely need to repair the index or check Windows system files.

What’s actually failing when File Explorer search stops working

The symptom points to the next fix.

- No results at all
- The search box keeps spinning or never finishes
- Only some files show up, or only very old files
- Search works in one folder but not another
Symptom

If you type a file name and get no results at all, search may not be reaching the index, or the folder may not be indexed.

If the search box just spins or never finishes, File Explorer or the Windows Search service may be frozen.

If you only get some results, or only very old files, indexing is usually incomplete, paused, or out of date.

If search works in one folder but not another, the problem is often folder scope, permissions, or an indexing setting rather than a broken search feature.

The goal is to separate “Explorer is stuck,” “Windows Search is behind,” and “this folder is not being searched the way you expect.”

Where this fix applies and where it doesn’t

These steps are for Windows File Explorer search on the local PC. They do not apply to web search in a browser, Outlook mail search, or search inside a single app that uses its own database.

This applies to Windows 10 and Windows 11. You do not need special tools for the first few fixes. Some later steps require Administrator rights, especially if you rebuild the index or check system files.

A restart is not usually required at the start, and you do not need to back up files for the safe checks below. Still, avoid changing multiple search settings at once, because that makes it harder to tell what fixed the problem.

Before you change anything, do these two quick checks:

  • Make sure the file really exists where you think it does.
  • Try the same search in a different folder, such as Documents or the root of C:\.

If you just copied a lot of files, give Windows a little time. Search can look broken while indexing catches up, especially after a major update or a large file move.

Check the quick things first

Start with the simplest checks, because they fix a lot of search problems without changing settings.

If Windows is still indexing a large folder or drive, search can look broken even though it is only delayed. Give it a little time, especially after a big copy, a fresh install, or a major update.

Restart File Explorer if the search box is frozen or results never appear.

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Find Windows Explorer in the list.
  3. Select it, then choose Restart.

If search works again after that, the issue was probably a stuck Explorer session.

Now try a different folder. Search in a folder you know is indexed and used often, such as Documents. If that works but another folder does not, the problem is probably limited to that folder or its indexing status.

Finally, confirm the file name and location. A small mismatch matters. If you search for report but the file is named report_final, or if you expect a file on D:\ but it is really on OneDrive, search may be working fine and just looking in the wrong place.

A Windows laptop on a desk with a file search in progress on the screen.

Restart Windows Search and File Explorer

If the search box is still stuck, restart the Windows Search service and the Explorer process. This is safe and often clears a frozen index connection.

You need Administrator rights for the service step.

  1. Open an elevated Command Prompt or Windows Terminal.
  2. Restart the Windows Search service.
net stop WSearch
net start WSearch
Command Prompt
  1. Restart File Explorer.
taskkill /f /im explorer.exe
start explorer.exe
Command Prompt

After this, open File Explorer and try the same search again. If results appear normally, the service or Explorer process was stuck.

If you get an error stopping WSearch, that usually means the service was already stopped, disabled, or blocked by another problem. In that case, move on to indexing settings and the rebuild steps below.

A Windows laptop showing system windows related to restarting Explorer.

Make sure the folder is being indexed

A folder outside the index can make search look broken even when Windows is working normally.

Open Indexing Options and check whether the folder you care about is included. You can get there from Control Panel or by searching for Indexing Options in the Start menu.

Control Panel > Indexing Options
Settings path

In the Indexing Options window, look at the included locations. If your folder is missing, search may only return partial or old results there.

If needed, choose Modify and add the folder or drive location you want indexed. Then let Windows finish updating the index before testing again.

Also check whether the search scope in File Explorer is too narrow. If you are searching inside a subfolder, Explorer may only search that folder unless you expand the scope. Try searching from the parent folder or the drive root.

If the folder is included but results are still missing, the index may be stale or corrupted, which is where rebuilding helps.

A person using a Windows laptop while checking folder indexing settings.

Rebuild the search index if results are missing or outdated

If search works badly across the whole PC, rebuilding the index is often the next step. This is reversible, but it can take a while on large drives, and search may stay slow until it finishes.

You need Administrator rights for this.

  1. Open Indexing Options.
  2. Select Advanced.
  3. Choose Rebuild.
  4. Confirm the prompt if Windows asks.
Control Panel > Indexing Options > Advanced > Rebuild
Settings path

After you start the rebuild, leave the PC on and give it time to work. You may still get partial results while the index is rebuilding, especially on machines with large mail archives, many photos, or external drives.

If results improve gradually, the index was the problem. If nothing changes after the rebuild has had time to run, the issue may be permissions, a Windows component problem, or a specific folder that is not being indexed the way you expect.

A Windows laptop displaying indexing options and search settings.

If search still fails, check for file system or Windows problems

If File Explorer search is still blank or incomplete after the index rebuild, check for broader Windows issues.

Corrupted system files can interfere with Windows Search, and a recent update can sometimes leave the service or its components in a bad state. A folder permission problem can also hide files from search even though you can browse to them in other ways.

Start with system file repair in an elevated Command Prompt.

  1. Open Command Prompt as Administrator.
  2. Run the system file checker.
sfc /scannow
Command Prompt

If sfc reports problems it repaired, restart and test search again. If it says it found problems it could not fix, the Windows component store may need repair as well.

Then check whether the issue started right after a Windows update. If it did, that update may have changed search behavior or broken the service temporarily. A restart after updates can help, but if the timing is clear and the problem persists, the update is a likely clue.

If you can see files in File Explorer but search never returns them, and the files sit in a folder with unusual permissions, the index may not be able to read that location fully. In that case, verify that your account has access to the folder and its contents.

How to test that it’s actually fixed

Use a few real searches, not just one test, because different problems show up in different ways.

Try these three checks:

  • Search for a file name you know exactly, such as a recent document you can see in a folder.
  • Search for a recent file in Documents or Downloads.
  • Search inside a frequently used folder that previously failed.

What you want to see is a quick response and results that match the file’s real location. If search returns the expected file name, opens the file, and finds it in more than one folder, the fix held.

If you still get only old files, the index is probably not fully updated yet. If you get results in one folder but not another, focus on that folder’s indexing and permissions next.

How to keep File Explorer search from breaking again

Keep indexing turned on for the folders you search most often. If you store files in uncommon locations, add those locations to the index instead of assuming Windows will search them automatically.

After a major Windows update, give the system time to finish background work before you judge search. Indexing can lag behind right after updates, especially on machines with lots of files.

If you move large collections of files around often, remember that search may need time to catch up. A folder can look empty in search for a while even though the files are there.

Avoid repeatedly rebuilding the index unless you have to. It can help, but if the same problem keeps returning, that points to a folder setting, a permission issue, or a Windows component problem that needs a closer look.

What to do if nothing on your PC shows up at all

If the search box accepts text but returns zero results everywhere, the most likely next step is to check the Windows Search service and then rebuild the index. If both of those have already been tried, the problem is often broader than File Explorer alone and points to Windows Search components or system file damage.

At that point, start by confirming that WSearch is running and that your main folders are included in the index. If those look right, run sfc /scannow and test again after a restart.

Conclusion

If search is still acting up after the quick checks, go back through the Windows Search service, the index, and folder permissions one step at a time. Test with files you know exist so you can tell the difference between a broken search feature and a folder that is simply outside the index.

Frequently Asked Questions

Why does File Explorer search find some files but not others?

That usually means the folder is not fully indexed, the index is out of date, or the missing files are in a location with limited permissions.

Can I fix File Explorer search without reinstalling Windows?

Yes. In most cases, restarting Explorer, restarting Windows Search, checking indexing settings, or rebuilding the index is enough.

Why does search only show very old files?

That often means the index is stale or still rebuilding. It can also happen if the folder you want is not included in the index.

Does rebuilding the index delete my files?

No. It only rebuilds the search database Windows uses to find files.

Read more