How to fix macOS Spotlight search not returning results or indexing files correctly on your Mac
Summary
This guide helps you troubleshoot and resolve: How to fix macOS Spotlight search not returning results or indexing files correctly on your Mac. Follow the steps below to fix the issue.
Common Causes
Spotlight is the built-in search tool on macOS that allows you to quickly find files, emails, applications, and other content on your Mac. When Spotlight stops returning results or fails to index certain files correctly, it can significantly slow down your daily workflow. This guide walks you through the steps to troubleshoot and repair Spotlight indexing issues on your Mac.
Version-Specific Menu Notes
Menu paths differ depending on your macOS version. Before following the steps below, identify which version you are running:
- macOS Ventura, Sonoma, Sequoia, and later: Use System Settings (sidebar menu).
- macOS Monterey and earlier: Use System Preferences (icon grid view).
Where this guide references System Settings, users on older macOS versions should open System Preferences instead and locate the equivalent pane.
Quick Fix Steps
Before attempting more advanced troubleshooting, try these basic steps to resolve common Spotlight issues.
- Restart your Mac to clear temporary system glitches.
- Ensure your macOS is up to date. On macOS Ventura and later, go to System Settings > General > Software Update. On macOS Monterey and earlier, open System Preferences > Software Update.
- Check that your startup disk has sufficient free space. Spotlight may struggle to index if the drive is nearly full.
Detailed Instructions
Check Spotlight Privacy Settings
If specific folders or drives are not appearing in search results, they may have been added to the Spotlight Privacy list, which excludes them from indexing.
- Click the Apple menu () and select System Settings (or System Preferences on macOS Monterey and earlier).
- On macOS Ventura and later, click Siri & Spotlight in the sidebar. On macOS Monterey and earlier, open the Spotlight pane.
- Scroll down and click Spotlight Privacy....
- Review the list of items. If you see a folder or drive that should be searchable, select it and click the minus (-) button to remove it from the exclusion list.
- Click Done to save your changes.
Rebuild the Spotlight Index
If Spotlight is returning incomplete or incorrect results, forcing a reindex of your hard drive often resolves the issue.
- Open System Settings (or System Preferences) and navigate to Siri & Spotlight (or Spotlight).
- Click Spotlight Privacy....
- Drag your main hard drive (usually named
Macintosh HD) from the Finder into the Privacy list window. - Click OK to confirm you want to exclude the drive.
- Immediately select the drive in the list again and click the minus (-) button to remove it.
- Click Done. macOS will now begin reindexing the drive, which may take some time depending on the amount of data stored.
Restart the Spotlight Process
If Spotlight is unresponsive or the menu freezes when you type, restart the Spotlight indexing processes (mds and mds_store) rather than Force Quitting Finder.
- Open Activity Monitor (Applications > Utilities > Activity Monitor).
- In the search field, type
mds. - Select each process named
mdsormds_store, click the Stop (quit) button in the toolbar, and choose Quit. - macOS will automatically restart the processes. Try using Spotlight again.
Alternatively, advanced users can restart the process via Terminal:
- Open Terminal (Applications > Utilities > Terminal).
- Type the following command and press
Return:sudo killall mds - Enter your administrator password when prompted and press
Return.
Force Reindex Using Terminal
Advanced users can force a complete reindex of the startup volume using the mdutil command.
- Open Terminal (Applications > Utilities > Terminal).
- Type the following command and press
Return:sudo mdutil -E / - Enter your administrator password when prompted.
- Spotlight will erase the existing index and begin a full reindex of your startup drive.
External Drives and Time Machine Volumes
If files on an external drive are not appearing in Spotlight results, check the following:
- Ensure the external drive is connected and mounted on your desktop.
- Verify the drive is not listed in the Spotlight Privacy list (see Check Spotlight Privacy Settings above).
- For Time Machine backup drives, we recommend excluding them from Spotlight to prevent unnecessary indexing of backup data. Open System Settings > Siri & Spotlight > Spotlight Privacy..., drag your Time Machine backup volume into the list, and click OK.
Troubleshooting
Indexing is taking too long or is stuck
Large volumes of data or corrupted files can cause the indexing process to stall.
- Ensure your Mac is connected to a power source and left idle for several hours to allow the index to complete.
- If the issue persists, boot your Mac into Safe Mode to see if a third-party application is interfering with the indexing process.
- Check your drive for errors using Disk Utility (Applications > Utilities > Disk Utility). Select your startup disk and click First Aid.
If you have followed these steps and Spotlight is still not returning results or indexing files correctly, please Open a Ticket for further assistance from our support team.
Still Having Issues?
💻 Open a Ticket