Windows 11 logo on a dark blue shadow background

Want to hide the contents of a folder from the search results on Windows 11? Some folders can bog down your search with bad results. If so, add that folder to the excluded folders list in Settings. Here’s how.

By default, Windows 11 searches for items in your Documents, Pictures, Music, and Desktop folders. When you hide a folder from the search results, Windows 11 stops looking into that folder to find content.

RELATED: How to Use Windows' Advanced Search Features: Everything You Need to Know

To start hiding a folder in the search results, first, open the Settings app on your Windows 11 PC. Press Windows+i to quickly do this.

In Settings, from the left sidebar, select “Privacy & Security.”

On the “Privacy & Security” page, in the “Windows Permissions” section, click “Searching Windows.”

On the “Searching Windows” page, the “Exclude Folders From Enhanced Search” section displays the folders that are hidden from the search results. To add your folder here, click “Add an Excluded Folder.”

Select "Add an Excluded Folder" on the "Searching Windows" page.

You will see a “Select Folder” window. In this window, choose the folder you want to hide in the search results.

Choose a folder in the "Select Folder" window.

The path of your selected folder will appear in the “Exclude Folders From Enhanced Search” section. This confirms your folder is now hidden from the search results.

The "Exclude Folder From Enhanced Search" section.

To unhide your hidden folder, then next to your folder in the “Exclude Folders From Enhanced Search” section, click the three dots and choose “Remove.”

Select "Remove" for an excluded folder.

And that’s how you keep certain folders from being shown in Windows 11’s search results. Very useful for privacy-focused users!

You can also hide a folder entirely so it’s not visible in File Explorer, too.

RELATED: How to Hide Files and Folders on Every Operating System

Profile Photo for Mahesh Makvana Mahesh Makvana
Mahesh Makvana is a freelance tech writer who specializes in writing how-to guides. He has been writing tech tutorials for over a decade now. He’s written for some of the prominent tech sites including MakeUseOf, MakeTechEasier, and Online Tech Tips.
Read Full Bio »