Home › Knowledgebase › KB-196

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.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

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:

  1. Restart your Mac to clear temporary glitches.
  2. Confirm Spotlight is enabled in System Settings > Siri & Spotlight.
  3. Add or remove a folder from the Spotlight privacy exclusions to force a partial reindex.
  4. Rebuild the Spotlight index using mdutil in 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.

  1. Open System Settings > Siri & Spotlight.
  2. Scroll down and click Privacy.
  3. Review the list of excluded locations. If you see a folder or volume that should be searchable, select it and click the minus (-) button.
  4. Close the window and wait several minutes for Spotlight to reindex the removed location.
Removing a folder from the Privacy list forces Spotlight to reindex that location, which can also fix stale results without a full rebuild.

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.

  1. Open System Settings > Siri & Spotlight.
  2. Scroll down and click Privacy.
  3. 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.
  4. Wait a few seconds, then select the volume and click the minus (-) button to remove it.
  5. Quit System Settings. Spotlight will begin reindexing in the background.
Reindexing can take several hours depending on the size of your drive. Your Mac will remain usable, but search results will be incomplete until the process finishes. You can monitor progress by clicking the Spotlight icon in the menu bar; a small progress bar appears at the bottom of the results window.

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.

  1. Open Terminal from Applications > Utilities.
  2. Turn indexing off for the startup volume by typing: sudo mdutil -i off / and pressing Return. Enter your administrator password when prompted.
  3. Delete the existing index by typing: sudo mdutil -E / and pressing Return.
  4. Turn indexing back on by typing: sudo mdutil -i on / and pressing Return.
  5. Quit Terminal and allow time for the index to rebuild.
The 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.

Spotlight Opens but Returns No Results

This usually indicates the index is empty or corrupted. Confirm that indexing is actually enabled:

  1. Open Terminal.
  2. Type mdutil -s / and press Return.
  3. If the response is Indexing disabled., run sudo 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:

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:

If your Mac is managed by 220 Internet Services, do not uninstall system components or modify files outside your user folder. Open a support ticket so we can assist without affecting your managed configuration.

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:

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket