MainspringGuides › Stop Searching Everything
macOS Guide

Stop Finder searching the whole Mac when you type

Updated August 2026 · 3 min read

You're two folders deep, you hit the search field, type a few letters — and Finder throws a spinner and starts trawling your entire Mac, subfolders you forgot existed and all. You wanted the file you can practically see. The reason is a single default set to "This Mac," and you can change it so searches stay put in the folder you're already looking at.

Why Finder does this

Finder ships with its search scope set to This Mac, so the search box always widens to everything indexed by Spotlight — no matter which folder you started from. It's not a bug and it's not something you did; it's the out-of-the-box behaviour. Worth separating from a different thing that catches people out: if you just start typing in a Finder window without clicking the search box, macOS does type-ahead selection and jumps to the first file whose name matches. The whole-Mac trawl is specifically the search field. The fix below is for that field.

Change the default so searches stay put

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

Now the search box scopes to the folder you have open and its contents. The spinner still appears while it looks, but it's looking at a fraction of the files, so results land faster and stay relevant. The setting is a per-user default that holds across macOS 13 Ventura, 14 Sonoma, and 15 Sequoia.

Or change it in one line

# Stop whole-Mac search; keep it to the current folder
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
killall Finder

# Undo — restore the This Mac default
defaults write com.apple.finder FXDefaultSearchScope -string "SCev"
killall Finder

The value SCcf is the current folder and SCev is This Mac; a third option, SCsp, tells Finder to reuse whatever scope you picked last. If you ever want to wipe the setting entirely and let macOS fall back to its own default, run defaults delete com.apple.finder FXDefaultSearchScope followed by killall Finder.

When you really do want everything

Scoping to the current folder doesn't take whole-Mac search away — it just stops it from being the automatic behaviour. After any search, the scope bar under the toolbar shows both Current Folder and This Mac; click This Mac to widen that one search when you truly can't remember where a file lives. So the annoying default becomes the deliberate exception, which is the right way round: fast, local search by reflex, and a global sweep only when you ask for it.

It's also worth knowing the change is per user account, stored in your own Finder preferences — so setting it on your login doesn't touch anyone else who shares the Mac, and it travels with your account rather than the machine. If a search ever reverts to whole-Mac unexpectedly, it's almost always because a script or a migration reset that preference, not because the setting "turned itself off."

One switch, no digging

Mainspring exposes the Finder search scope as a labelled toggle, so you can stop the whole-Mac search without hunting through Advanced settings — and flip it back just as fast. It's one of 90+ hidden macOS settings it makes reversible.

Try Mainspring free →

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

Find the odd file that really is anywhere

For the searches where you genuinely have no idea where something is, learn the operators that narrow a wide search fast. See Finder search operators on Mac to filter by kind, date, and name in one query.