How to fix Spotlight search not working or returning wrong results on macOS
Summary
This guide helps you troubleshoot and resolve: How to fix Spotlight search not working or returning wrong results on macOS. Follow the steps below to fix the issue.
Common Causes
Spotlight is the built-in search feature on macOS that helps you find apps, documents, emails, and system settings quickly. When it stops working, returns incorrect results, or fails to launch applications, the issue is almost always related to a corrupted or outdated index. This guide walks you through the steps to rebuild the Spotlight index and resolve the most common search problems on your Mac.
Quick Fix Steps
If Spotlight is misbehaving, try these steps in order before moving to the detailed instructions below:
- Restart your Mac to clear temporary glitches.
- Confirm Spotlight is enabled in System Settings > Siri & Spotlight.
- Add or remove a folder from the Spotlight privacy exclusions to force a partial reindex.
- Rebuild the Spotlight index using
mdutilin Terminal.
Detailed Instructions
Step 1: Restart Your Mac
A simple restart resolves many transient issues. Choose Apple menu > Restart, then test Spotlight again using Command + Space.
Step 2: Check Spotlight Privacy Settings
Spotlight will not index any folder or drive that has been added to the privacy list. If your files have stopped appearing, something may have been added by accident.
- Open System Settings > Siri & Spotlight.
- Scroll down and click Privacy.
- Review the list of excluded locations. If you see a folder or volume that should be searchable, select it and click the minus (-) button.
- Close the window and wait several minutes for Spotlight to reindex the removed location.
Step 3: Rebuild the Spotlight Index Using System Settings
If the privacy list looks correct but searches are still wrong, you can rebuild the index through the macOS interface.
- Open System Settings > Siri & Spotlight.
- Scroll down and click Privacy.
- Click the plus (+) button and add your entire Macintosh HD (or the volume where your files are stored). You may need to click Show All Volumes first.
- Wait a few seconds, then select the volume and click the minus (-) button to remove it.
- Quit System Settings. Spotlight will begin reindexing in the background.
Step 4: Rebuild the Spotlight Index Using Terminal
If the System Settings method does not trigger a rebuild, use the mdutil command-line tool. This is often more reliable on managed or remote Macs.
- Open Terminal from Applications > Utilities.
- Turn indexing off for the startup volume by typing:
sudo mdutil -i off /and pressing Return. Enter your administrator password when prompted. - Delete the existing index by typing:
sudo mdutil -E /and pressing Return. - Turn indexing back on by typing:
sudo mdutil -i on /and pressing Return. - Quit Terminal and allow time for the index to rebuild.
mdutil -E command both erases and rebuilds the index in one step on most modern macOS versions. If you prefer to erase only, use sudo mdutil -i off / followed by sudo rm -rf /.Spotlight-V100 (hidden folder), then re-enable indexing.Troubleshooting
Spotlight Does Not Open at All
If pressing Command + Space does nothing, the Spotlight process may have stalled.
- Open Activity Monitor from Applications > Utilities.
- Search for
Spotlightand select any matching processes. - Click the stop button at the top of the window and choose Force Quit.
- Try the keyboard shortcut again. macOS will relaunch the process automatically.
Spotlight Opens but Returns No Results
This usually indicates the index is empty or corrupted. Confirm that indexing is actually enabled:
- Open Terminal.
- Type
mdutil -s /and press Return. - If the response is
Indexing disabled., runsudo mdutil -i on /to re-enable it.
Spotlight Only Finds System Items, Not Personal Files
Your home folder or user library may have been excluded. Check the Privacy list in System Settings > Siri & Spotlight > Privacy and remove any entries that point to your /Users/your-username directory.
Spotlight Results Are Slow or Stale
If results appear but take a long time, the index may be fragmented or your drive may be under heavy load. Try the following:
- Ensure your Mac has at least 10% free disk space. Spotlight needs working room to store the index.
- Quit any backup or sync software (such as Time Machine, Backblaze, or Dropbox) temporarily while the index rebuilds.
- Restart your Mac in safe mode by holding Shift during startup, then restart normally. This clears several system caches.
Spotlight Still Will Not Work After Rebuilding
If the index has rebuilt successfully but searches are still incorrect, the issue may be with a third-party kernel extension or system modification. Consider the following:
- Boot into safe mode and test Spotlight. If it works correctly there, a login item or background process is interfering.
- Check System Settings > General > Login Items and remove anything you do not recognise.
- Install any pending macOS updates via System Settings > Software Update. Apple frequently fixes Spotlight bugs in point releases.
If you have completed all the steps above and Spotlight is still not functioning correctly, our support team can investigate further. Please Open a Ticket with the following details:
- The macOS version you are running (click Apple menu > About This Mac).
- When the problem first started.
- Any error messages or unusual behaviour you have noticed.
- Whether the issue affects all searches or only specific file types.
Still Having Issues?
💻 Open a Ticket