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
- 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.
- Find Spotlight Privacy, or the list of locations excluded from search.
- 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:
- Add the disk or folder to the Spotlight privacy list.
- Wait a few seconds.
- 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
- Some external drives are not indexed. In Terminal,
mdutil -s /Volumes/DriveNameshows the status andsudo mdutil -i on /Volumes/DriveNameturns indexing on, if the drive's format supports it. - Network drives are usually not indexed by your Mac. Search them from the server or use Finder's search scoped to that folder.
- Files kept only in iCloud Drive are listed, but their contents may not be searchable until they are downloaded.
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.
Related guides
- How to search for files on a Mac
- Spotlight vs FileSift: which to use for finding files
- How to find a file on a Mac when you forgot its name
- Finding files in macOS Sonoma, Sequoia and Tahoe: what changed
- How to find and delete duplicate files on a Mac
More in How-to guides, or see all guides.