What to do when Spotlight cannot find a file on your Mac

Updated

When Spotlight misses a file you know exists, the cause is almost always one of four things: the folder is excluded, the result type is turned off, indexing has not caught up, or the index needs rebuilding. Finder search uses the same index, so fixing it helps both.

Check that the file really is where you think

Open the folder in Finder and confirm the file is there and that its name matches what you typed. Spotlight matches words from the start, so budget finds “2026 budget.xlsx”, but a typo or a different spelling will not.

Look at the privacy list

  1. Open System Settings. On macOS Sonoma, choose Siri & Spotlight; on later versions, Spotlight has its own entry, or type Spotlight in the settings search field.
  2. Find Spotlight Privacy, or the list of locations excluded from search.
  3. If the folder or drive with your file is listed, select it and remove it with the minus button.

Folders on this list are never indexed, so neither Spotlight nor Finder search can see them.

Check which result types are shown

In the same settings, Spotlight lists result categories such as Documents, PDF Documents, Images and Folders. If a category is unticked, files of that type will not appear in the Spotlight menu, although Finder search can still find them. Tick the categories you want.

Give indexing time

After you copy a large folder, restore from a backup or update macOS, Spotlight reindexes in the background. While that happens, results can be incomplete. Leaving the Mac awake and plugged in for a while usually solves it. To check the status in Terminal, run mdutil -s /, which reports whether indexing is enabled for the startup disk.

Rebuild the index

If files are still missing, rebuild the index for that disk. The safe way through settings:

  1. Add the disk or folder to the Spotlight privacy list.
  2. Wait a few seconds.
  3. Remove it from the list again. Spotlight starts indexing it from scratch.

The Terminal way is sudo mdutil -E /, which erases and rebuilds the index for the startup disk. It asks for your password and does not touch your files. Rebuilding can take from minutes to a few hours, and search is incomplete until it finishes.

External drives and iCloud

Where FileSift fits

FileSift is a native app that uses Spotlight, Quick Look and Apple's on-device text recognition, so a healthy index helps its search too. What it adds is visibility: when you type something like pdfs from last week, it shows the filters it understood, so if a search comes back empty you can see whether the type or the date was the problem rather than guessing. It can also search the text inside screenshots and scans, which name and content searches often miss.

Common questions

Will rebuilding the Spotlight index delete my files?

No. It deletes and recreates the search index only. Your files are not touched.

Why does Spotlight find a file but Finder search does not?

Usually the Finder search is limited to the current folder. Click This Mac in the search bar.

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.