When you search for a file on a Mac using Spotlight, Finder or another window with a search field, the default search range is This Mac. Using the This Mac option means the search is performed on the internal hard drive and all connected drives, such as external hard drives, USB thumb drives and even network-connected drives.

While handy, if you’re searching for a fairly unique text string and have no idea where the file could be, the results from such a broad search can be overwhelming or difficult to sort through, especially when searching for a common term or a string of characters used in a system file. Luckily, you can easily change the default search location for Apple macOS Finder.

Jump to:

How to search the current folder or drive with macOS Finder

If you know the file’s general location, such as the drive on which it’s stored or the folder where it’s located, searching only that location will dramatically narrow the results and help you find the file more quickly.

To change the default search location:

  1. Open Finder Settings by clicking anywhere on the desktop, clicking Finder on the menu bar and then choosing Settings (Figure A). You can also use the Mac keyboard shortcut, Command + , in a Finder window.

Figure A

Mac Finder dropdown menu with Settings highlighted in blue
Open Finder Settings. Image: Cory Bohon/TechRepublic.
  1. Select Advanced in the Finder Settings window to change the default search location (Figure B).

Figure B

Mac Finder Settings Advanced tab with the option for When performing a search: Search the Current Folder highlighted in blue
Click Advanced. Image: Cory Bohon/TechRepublic.
  1. Under When Performing A Search, select Search The Current Folder.
  2. Close the Finder Settings window.

Now, when you perform a search in a Finder window, instead of searching everywhere on your Mac for the file, the Finder or other windows will search within the currently selected folder. This is a great improvement when you know what folder the file is in but don’t know exactly what the file is called (Figure C). You can always click on the This Mac button to begin searching the Mac again.

Figure C

Mac Search Mac Updated Images search results for This Mac
The search will now include only the contents of the folder you’re navigating inside of instead of the entire contents of your Mac. Image: Cory Bohon/TechRepublic.

How to narrow macOS Finder search results

If you need to further refine your the search results in a Finder window, you can use also the following tricks:

  • Add criteria to your search, such as Kind, Last Opened Date and Name, on the search result Finder window (Figure D).

Figure D

Mac Search Mac Updated Images search criteria set to Kind
Narrow your search results by Kind, Last Opened Date and more. Image: Cory Bohon/TechRepublic.
  • Include keywords in the original search string — for example: macOS tips kind:document (Figure E).

Figure E

keywords used to narrow down a search for an image in Mac Finder
Use keywords to narrow results inline with the search term. Image: Cory Bohon/TechRepublic.
  • Use a Boolean operator as part of your query, such as AND, OR and NOT or a minus sign (-) for AND NOT — for example: macOS tips kind:document OR kind:image (Figure F).

Figure F

Boolean operators used to narrow a search in Mac Finder
Use Boolean operators to narrow macOS Finder search results. Image: Cory Bohon/TechRepublic.

More macOS Tips

While this article focused on the Finder in macOS, you might also have other questions such as:

Apple also announced a lot of new tech, such as macOS Sonoma, iPadOS 17 and iOS 17 at this year’s Worldwide Developers Conference earlier this year. Check out TechRepublic’s cheat sheets to stay on top of the latest in Apple’s ecosystem.

Subscribe to the Developer Insider Newsletter

From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know. Delivered Tuesdays and Thursdays

Subscribe to the Developer Insider Newsletter

From the hottest programming languages to commentary on the Linux OS, get the developer and open source news and tips you need to know. Delivered Tuesdays and Thursdays