Skip to content

Make Finder search the folder you're in, not the whole Mac — via Yann Bertrand, macos-defaults.com

Hidden settinglow riskmacOS 14 Sonoma and later

When you type in a Finder window's search box, macOS searches your entire Mac by default, so results from the folder you're actually looking at get buried. You can make the current folder the default scope instead.

Relaunch the app it changes (Finder, Dock…) to see it

The easy way

  1. The easy way: Finder > Settings > Advanced, then set When performing a search to Search the Current Folder.
  2. Or in Terminal run the command. Other values: SCev = this Mac (default), SCsp = use the previous search scope.

Command

Run in Terminal (Applications › Utilities).

defaults write com.apple.finder FXDefaultSearchScope -string SCcf; killall Finder

Undo

defaults delete com.apple.finder FXDefaultSearchScope; killall Finder
You can still switch to 'This Mac' for one search using the scope buttons under the toolbar.

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every macOS version, so keep the undo handy.

searchfindersearch scopecurrent folderspotlight

More in Finder