How to Fix Spotlight Search Not Working on Mac
Spotlight stopped finding files or showing results? Here's why it breaks and how to rebuild the index on any macOS version.
Spotlight is one of macOS's most useful features — until it stops working. When Spotlight can't find files you know exist, returns incomplete results, or takes forever to respond, the issue is almost always a corrupted or stale index.
Why Spotlight breaks
Spotlight maintains an index of every file on your Mac. This index can become corrupted or outdated for several reasons:
- macOS updates — Major updates sometimes don't fully reindex changed system files
- Large file operations — Moving, copying, or deleting thousands of files can overwhelm the indexer
- External drives — Connecting and disconnecting drives with large file collections
- Permission issues — If Spotlight can't read certain directories, those files won't be indexed
- Disk errors — File system issues can corrupt the index database
Symptoms of a broken Spotlight index
- Files you recently saved don't appear in search results
- Search returns no results or incomplete results
- Spotlight suggestions are outdated or irrelevant
- The Spotlight window takes a long time to show results
- CPU usage spikes from the
mdsormds_storesprocess without resolving
The manual fix: rebuilding the index
The standard fix is to delete the Spotlight index and let macOS rebuild it from scratch.
Using Terminal:
bash
sudo mdutil -E /
This erases the index for your main volume. Spotlight will begin reindexing immediately, which can take anywhere from 30 minutes to several hours depending on how many files you have.
Using System Settings: 1. Open System Settings > Spotlight (or Siri & Spotlight on newer macOS) 2. Click "Spotlight Privacy" 3. Add your main drive (Macintosh HD) to the privacy list 4. Wait a moment, then remove it 5. Spotlight will reindex
macOS version differences
The Spotlight rebuild process has changed across macOS versions:
- macOS 14 (Sonoma) and later — The
mdutil -E /command works, but you may need to also reset the Spotlight data folder - macOS 15 (Sequoia) — Same as Sonoma, with possible sealed volume considerations
- Sealed system volumes — Since macOS Catalina, the system volume is read-only. Spotlight indexes the data volume separately. This means you may need to target the data volume specifically
Checking Spotlight status
You can check if Spotlight is currently indexing:
mdutil -s /This shows whether indexing is enabled, the index status, and scan progress.
Preventing future issues
Some tips to keep Spotlight healthy:
- Avoid mass file operations during active Spotlight indexing
- Let reindexing complete after macOS updates — don't restart or shut down during this process
- Check disk health periodically using Disk Utility's First Aid feature
- Exclude unnecessary folders from Spotlight indexing (large media folders, virtual machine images) through Spotlight Privacy settings
A guided approach
The Terminal commands for rebuilding Spotlight require sudo access and knowledge of your specific macOS version. CleanMyMacOS provides a guided Spotlight rebuild task that shows you the exact command for your macOS version, explains what it does, and provides version-aware instructions. Since the app is sandboxed, it can't run the command directly — instead, it displays it for you to copy and run in Terminal, keeping you in full control.
CleanMyMacOS can help with this — download it free from the Mac App Store.