To keep a particular folder or disk out of Spotlight search results, add it to Search Privacy in System Settings. You can later remove it from that list to include it in searches again. This is the documented Mac control for excluding locations; it does not offer rules for matching folder names or file types. Apple also warns that exclusions can affect update notifications, so limit the scope to locations you intend to hide from Spotlight.
Exclude a folder from Spotlight searches
- Open the Apple menu and choose System Settings.
- Click Spotlight in the sidebar. Scroll down if needed.
- Click Search Privacy near the bottom of the settings pane.
- Click the Add (+) button, choose the folder you want to exclude, and confirm. You can also drag a folder or disk into the list.
- Check that the location appears in the privacy list before closing the settings window.
Apple documents this setting as excluding files in a selected folder or disk from Spotlight searches. For example, if you want to hide one archive folder but continue searching the rest of your Documents folder, add the archive folder itself rather than its parent. The control is location based: Apple documents choosing folders or disks, not excluding selected file types or entering a custom search rule. Apple’s instructions for preventing Spotlight searches in specific folders or disks
Choose the right location and scope
Before adding an item, consider what is inside it and whether you still need Spotlight to find those files. Excluding a folder also excludes its contents from Spotlight searches. Excluding a disk has a wider effect because it covers files stored throughout that location. Apple specifically warns that excluding some files and folders may prevent notifications about available updates for some apps; excluding the entire internal disk means you will not receive any update notifications. Avoid excluding a broad location unless you understand the consequences for the files and apps on it. Apple Support: Prevent Spotlight searches in specific folders or disks
This setting controls whether items in a location appear in Spotlight searches. It is different from turning off a result category under Spotlight settings, which changes the types of results shown. If your goal is to stop searching a particular folder, use Search Privacy rather than switching off a broad category such as documents. Apple lists category controls and Search Privacy as separate Spotlight settings. Apple’s Spotlight settings guide
Check exclusions and undo a change
To review the locations you have excluded, return to System Settings > Spotlight > Search Privacy. If Spotlight no longer finds something you need, select its folder or disk in the list and click the Remove (–) button. Removing it restores the location to Spotlight searches; it does not move or delete the files. Apple describes the same add and remove controls for excluding and including locations. Apple Support: Prevent Spotlight searches in specific folders or disks
If Spotlight still cannot find an expected file after you remove an exclusion, check that the relevant result category is enabled in Spotlight settings and allow time for indexing. Apple says the index updates as data changes, and larger indexing jobs can take hours or days. On a Mac, an indexing progress indicator may appear when you open Spotlight with Command–Space. These checks can help distinguish an exclusion from an indexing delay or a disabled result category. Apple Support: About Spotlight indexing and search results
Special case: Time Machine backup disks
Excluding a Time Machine backup disk does not stop all Spotlight indexing messages for that disk. Apple says the indexing needed for Time Machine cannot be turned off. Spotlight does exclude items on the backup disk that are not part of a Time Machine backup. If the goal is to suppress indexing activity or messages for Time Machine, adding the disk to Search Privacy will not accomplish that. Apple Support: Prevent Spotlight searches in specific folders or disks
For a typical folder exclusion, add only the narrowest folder that contains the material you want omitted, then revisit Search Privacy if search behavior changes. This keeps the adjustment aligned with Apple’s documented location-based control and makes it straightforward to reverse.
Sources
- Prevent Spotlight searches in specific folders or disks — Apple Support
- Spotlight settings on Mac — Apple Support
- About Spotlight indexing and search results on Apple devices — Apple Support