MainspringGuides › Search Where You Are
macOS Guide

Set Finder to search the folder you're in

Updated August 2026 · 3 min read

Coming from Windows Explorer or a Linux file manager, Finder's search feels backwards: you open a folder, search, and instead of looking there, it looks everywhere. Most other systems treat search as folder-local by default, and you can make Finder behave the same way. One setting — Search the Current Folder — turns "search my whole Mac" into "search where I am," permanently.

Make it permanent in Settings

  1. Open Finder → Settings from the menu bar (Preferences on older macOS).
  2. Click the Advanced tab.
  3. Set When performing a search to Search the Current Folder.

That's a one-time change that sticks for good — every future search, in every window, begins in the folder you have open. Open Downloads and search "zip," you search Downloads. Open a shared drive and search a filename, you search that drive. The scope simply tracks wherever you happen to be, which is exactly the muscle memory you brought from other systems. It holds across macOS 13 Ventura, 14 Sonoma, and 15 Sequoia.

Set it from the Terminal instead

If you set up new Macs the same way each time, bake it into your shell setup:

# Always search the folder you're currently in
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
killall Finder

# Go back to the default whole-Mac search
defaults write com.apple.finder FXDefaultSearchScope -string "SCev"
killall Finder

The SCcf value is folder-local search; SCev is This Mac, and SCsp reuses your last-used scope. Running killall Finder restarts Finder so the preference takes hold.

What "the folder you're in" actually covers

Folder-local search on Mac includes everything nested inside the open folder, not just its top level — so searching a Projects folder still reaches files three subfolders down, which is usually what you want. If you truly need to search only the immediate folder and ignore subfolders, add the search then set the criteria bar to match on name and it stays tight; but for day-to-day use, the recursive behaviour matches what folder-local search does elsewhere. And nothing here is one-way: any single search can still be pushed out to the whole Mac from the scope bar under the toolbar, so choosing folder-first as your permanent default costs you nothing on the rare global hunt.

The switch tends to fix a specific frustration for people moving from Windows: in Explorer, the search box in a folder searches that folder, and reaching for the same behaviour on Mac and getting the whole drive feels like the computer ignoring you. This setting closes that gap so your instinct — open the folder, search — works the way it always has.

It also plays nicely with a keyboard-first workflow. Open a Finder window, press Cmd+F to jump straight into a search, type, and you're filtering the current folder without ever touching the mouse. With the whole-Mac default, that same reflex would throw you into a drive-wide search every time — the scope change is what makes the shortcut trustworthy.

Make it match your habits

Mainspring turns Finder's search scope into a labelled toggle you can set to the current folder in a click — and reverse just as easily. It's one of 90+ hidden macOS settings it makes reversible without the Terminal.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

More Finder defaults worth flipping

Folder-local search is one of several Finder defaults that feel more natural once changed. If you also want new windows to open somewhere useful, see how to change the new Finder window location.