Spotlight Search Not Working? Fix It With These Steps
In this article
If Spotlight search on your Mac is not showing results, freezing, or crashing, the problem is almost always a corrupted index or a stalled indexing process, and it can usually be fixed by rebuilding the index or restarting the relevant system process. This article walks you through the most reliable fixes, from simple restarts to deleting the index files, and explains why Spotlight behaves the way it does so you can prevent the issue from coming back.
Why Spotlight Stops Working
Spotlight is the built-in search tool on macOS that indexes your files, emails, apps, contacts, and even web results. It works by creating a database of metadata (file names, contents, dates, tags, and more) for every drive and folder you choose to include. When that database becomes outdated, corrupted, or is still being built, searches return nothing or only partial results.
Common triggers for a broken Spotlight include:
- macOS updates that change how indexing works
- External drives that are unplugged while Spotlight is indexing them
- Third-party utilities that modify file metadata
- Insufficient free disk space (Spotlight needs room to write its index)
- Permissions issues on your user folder
Quick Fixes to Try First
Before you dive into deleting index files, try these fast checks. They resolve a surprising number of Spotlight problems without any risky steps.
- Restart your Mac. A simple reboot clears temporary glitches and restarts the
mdsandmdworkerprocesses that handle indexing. - Check System Settings > Siri & Spotlight. Make sure the categories you want (Applications, Documents, Mail, etc.) are still toggled on. If a category is off, Spotlight won’t search it.
- Check your storage. Spotlight needs free space for its index. If your startup disk is nearly full, free up at least 10–15 GB and try again.
- Look at the menu bar Spotlight icon. If it shows a progress bar or a dot, indexing is in progress. Give it time—indexing a large drive can take hours.
Rebuild the Spotlight Index (The Main Fix)
If the quick fixes don’t work, rebuilding the index is the standard solution. This forces macOS to delete the existing database and create a fresh one from scratch. Here’s how:
- Open System Settings (or System Preferences on older macOS) and go to Siri & Spotlight.
- Scroll down and click Spotlight Privacy.
- Click the + button and add your entire startup disk (usually named “Macintosh HD”). If you have external drives that are misbehaving, add them too.
- Wait a moment, then select the drive(s) you just added and click the – button to remove them.
- macOS will now re-index the drive. This can take anywhere from 20 minutes to several hours depending on the amount of data.
You can check progress by clicking the Spotlight icon in the menu bar—you’ll see a small progress bar. Don’t interrupt the process; let your Mac stay awake and plugged in.
Delete the Index Files Manually
If the Privacy method doesn’t work, you can delete the index files directly. This is more forceful and works when the index is corrupted beyond repair.
- Open Terminal (found in Applications > Utilities).
- Type the following command and press Enter:
sudo mdutil -E / - Enter your admin password when prompted. The
-Eflag tells Spotlight to erase its index and rebuild it. - Wait for the command to finish. You should see a message like “Indexing enabled.”
If you have external drives, run the same command with the drive’s mount point, e.g., sudo mdutil -E /Volumes/MyDrive.
If the index still won’t rebuild, you can disable and re-enable indexing entirely:
sudo mdutil -i off /
sudo mdutil -i on /Then run the erase command again.
Check for Conflicting Software
Some third-party apps interfere with Spotlight’s indexing. Utilities that clean “junk” files, manage metadata, or provide their own search features are the usual suspects. If your Spotlight broke after installing such an app, try uninstalling it temporarily to see if that restores function.
Also, verify that your Mac’s date and time are correct. An incorrect clock can cause SSL and metadata errors that make Spotlight fail. Go to System Settings > General > Date & Time and enable “Set time and date automatically.”
What to Do If Spotlight Still Fails
If you’ve rebuilt the index and removed conflicting software but Spotlight still doesn’t work, the problem may be deeper in macOS. Try these last-resort options:
- Boot into Safe Mode. Restart your Mac and hold the Shift key while it boots. Safe Mode runs a disk check and forces a partial index rebuild. After booting, restart normally and test Spotlight.
- Run First Aid on your disk. Open Disk Utility, select your startup disk, and click First Aid. This repairs file system errors that can block indexing.
- Reinstall macOS. If nothing else works, reinstalling the operating system (without erasing your data) can fix corrupted system files. This is a bigger step, so back up first.
Preventing Future Spotlight Issues
Once Spotlight is working again, a few habits reduce the chance of it breaking again:
- Eject external drives properly before unplugging them.
- Keep at least 15% of your disk space free.
- Install macOS updates when they’re available—many fixes address indexing bugs.
- Be cautious with “system cleaner” apps that promise to speed up your Mac; they often do more harm than good.
If you use multiple drives, you can also exclude folders you rarely search from Spotlight via the Privacy tab. This keeps the index smaller and faster to build.
Frequently Asked Questions
Why does Spotlight show no results even after I type something?
This usually means the index is missing or incomplete. Check if indexing is in progress (look for a dot in the menu bar icon). If not, rebuild the index using the Privacy method described above.
How long does Spotlight re-indexing take?
It depends on the size of your drive and the number of files. For a typical 256 GB SSD with average usage, expect 30 minutes to a few hours. Large external drives can take much longer.
Will rebuilding Spotlight delete my files?
No. The index is just a database of metadata; your actual files are untouched. Rebuilding only affects the search database, not your data.
Can I use Spotlight while it’s indexing?
Yes, but results will be incomplete until indexing finishes. You can keep working; the indexing runs in the background and will catch up.
Why does Spotlight search for web results but not files?
This happens when the “Spotlight Suggestions” or “Siri Suggestions” are enabled but the local file indexing is disabled. Go to System Settings > Siri & Spotlight and ensure “Applications,” “Documents,” and other local categories are checked.
Does Spotlight work differently on external drives?
Yes, external drives are indexed only when they are connected. If you disconnect a drive while Spotlight is indexing it, the index may become corrupted. Always eject drives properly and allow indexing to finish before unplugging.