Spotlight is how most Mac users find documents, emails and apps, so when it stops returning results, or misses files you know are there, it is frustrating. In most cases the cause is the search index rather than your files, and it can be fixed in a few minutes. Occasionally, though, a Spotlight problem is an early sign that the Mac’s drive or file system is in trouble, and that’s worth knowing before you start trying fixes.
First check: are the files really there?
Before blaming Spotlight, open Finder and browse to where the file should be. If you can see it in its folder but Spotlight can’t find it, the problem is the index. If the file or folder is missing in Finder too, this is a different problem. Jump to the section on drive problems below before doing anything else.
Is Spotlight still indexing?
After a macOS update, a migration to a new Mac, restoring from Time Machine or connecting a large drive, Spotlight rebuilds its index in the background. Until it finishes, results are incomplete. Signs it is still working:
- Spotlight shows a message that indexing is in progress when you search.
- In Activity Monitor, processes called mds, mds_stores or mdworker are busy using CPU.
- The Mac feels warm or the fans run more than usual.
On a Mac with a lot of files this can take several hours. Leave it switched on and plugged in, and check again later before changing anything.
Check your Spotlight settings
Open System Settings and find Spotlight (on some macOS versions it sits under Siri & Spotlight). Two things to look at:
- Search results categories. If a category such as Documents, Applications or Mail & Messages has been switched off, those items will never appear. Make sure the ones you need are ticked.
- Spotlight Privacy. Any folder or drive in this list is deliberately excluded from search. People sometimes add a folder here and forget, or a utility adds it for them. Remove anything that should be searchable.
Rebuild the Spotlight index
If indexing has finished and settings look right but results are still wrong, rebuilding the index usually fixes it.
The simple way
- In Spotlight settings, open Spotlight Privacy.
- Add your Mac’s internal drive (Macintosh HD) or the folder that isn’t being found.
- Wait a moment, then remove it from the list again.
macOS then discards the index for that location and builds a fresh one. Give it time to finish before testing.
Using Terminal
If you are comfortable with Terminal, you can check and rebuild indexes directly:
mdutil -s -ashows whether indexing is enabled on each volume.sudo mdutil -i on /turns indexing back on for the startup drive if it has been disabled.sudo mdutil -E /erases and rebuilds the index for the startup drive.
You will be asked for your Mac password. These commands only affect the search index, not your files.
Searching in the wrong place
When you search in a Finder window, macOS may search only the current folder rather than the whole Mac. Look at the top of the results and choose This Mac. Also check that the search is matching what you expect: typing in the Finder search box searches file contents as well as names, and you can choose “Name matches” from the suggestions to search names only.
External drives, network drives and cloud files
- Spotlight may not index every external drive, and indexing of network shares and NAS drives depends on the device and how it is connected. Drives formatted for Windows can behave differently from Mac-formatted ones.
- If an external drive was recently connected, it may simply still be indexing.
- Files kept in iCloud Drive with Optimise Mac Storage turned on, or in other cloud apps that download files on demand, may not be fully searchable by content until they are downloaded.
Try safe mode
If Spotlight behaves strangely only on your own user account, or keeps crashing, starting up in safe mode can help rule out third-party software such as security tools or search add-ons. On Apple silicon Macs, shut down, press and hold the power button until startup options appear, select your startup disk, then hold Shift and choose Continue in Safe Mode. On Intel Macs, hold Shift while the Mac starts up.
When Spotlight problems point to a drive fault
Most of the time, a rebuilt index ends the problem. Be more cautious if you notice any of the following:
- The index keeps rebuilding itself, or mds is busy for days and never finishes.
- Files or folders are missing in Finder as well as in search, or open as damaged or empty.
- The Mac is very slow, freezes, or shows errors when copying files.
- Disk Utility First Aid reports errors it cannot repair.
These can be signs of file system damage or a failing SSD or hard drive. On recent Macs the storage is built into the logic board, so the data and the hardware fault are closely linked. If your files matter, make a fresh backup first (copy the most important files to an external drive or cloud storage) before running repeated repairs or reinstalling macOS. If the backup fails or files are already missing, stop using the Mac and get advice; continuing to use a failing drive can make recovery harder. Our data recovery service handles Mac SSDs and hard drives.
Need help with your Mac?
If Spotlight still isn’t working, or you suspect the drive, our engineers can check it properly. We provide Apple Mac repair for MacBook, iMac and Mac mini models, and can recover data if the storage has failed. Call 020 7237 4908, bring your Mac to our Central London repair centre, or book courier collection from anywhere in the UK. Evaluation is free, you get a fixed quote before any work, and if we can’t fix it there is no fee. You can also contact us online.