How to search for files on a Mac

Updated

Spotlight is quickest for opening something by name. Finder search is better when you need filters such as type, date and size. Terminal can answer exact questions, and FileSift adds plain-English search that turns your words into filters you can see and change.

Pick the right tool

You rememberUse
Part of the nameSpotlight
The type and roughly whenFinder search with rules
A phrase inside the documentSpotlight or Finder search
A search you run every weekA Smart Folder
Where it was downloaded fromGet Info, or FileSift's download grouping
Only what it was aboutPlain-English search

Spotlight

Press Command-Space, type part of a name or a phrase from inside the document, and press Return to open the top result. Press Command-Return to reveal it in Finder instead.

Finder search with filters

  1. In Finder, click the search box or press Command-F.
  2. Type a word. A menu appears under the box; choose the Filenames contains option to match only names, not contents.
  3. Choose Search This Mac or the current folder in the bar under the toolbar.
  4. Click the plus button to add a rule such as Kind, Last opened date or Created date.
  5. Choose Other in a rule menu to add File Size and many other attributes.

Click Save to keep a search as a Smart Folder in the sidebar. The Smart Folders guide has ready-made recipes.

Exact answers in Terminal

The mdfind command uses the same index as Spotlight and only reads it.

This is handy when you want a full list you can copy, rather than the short list Spotlight shows.

Plain-English search in FileSift

Type what you mean, such as pdfs from last week, videos over 2 GB or screenshots this month. FileSift shows how it understood the question as filters, so you can adjust them instead of guessing which words it picked up. It can also search the text inside screenshots and scans, using Apple's on-device text recognition, and it groups downloads by where they came from.

When nothing comes up

Finder search and Spotlight share one index, so if both miss a file, the folder may be excluded or the index may still be catching up. Start with the folder privacy list, then see what to do when Spotlight cannot find a file. If you cannot remember the name at all, search by what you do remember.

Common questions

Why does Spotlight miss my file?

Spotlight skips folders listed under Search Privacy in System Settings, and it can lag behind after a large move. Check that the folder is not excluded.

Can I save a Finder search?

Yes. Click Save in the search bar and it becomes a Smart Folder you can reopen any time.

Does Finder search look inside files?

Yes, for documents Spotlight can read, such as PDFs and text files. Choose the Filenames option to match names only.

How do I search only one folder?

Open the folder in Finder, press Command-F and click the folder's name in the bar under the toolbar instead of This Mac.

FileSift shows your folders as large thumbnails, searches in plain English and clears duplicates. US$19 once, for macOS 14 or later. See what it does.

Related guides

More in How-to guides, or see all guides.