How to reindex Spotlight on Mac

Spotlight is a tremendously useful option provided in macOS that allows you to quickly find any file, document, app, mail, and more, on your Mac. For most users, the Spotlight search is one of the most used macOS features on a daily basis.

Spotlight usually performs its work perfectly; however, sometimes you may face an issue when the Spotlight search is not working correctly, displaying odd results or stopping the search for items you know exist. In this case, rebuilding the Spotlight index can help you to resolve the issue. Follow our Spotlight troubleshooting guide to learn how to reindex Spotlight on your Mac.

Contents:

  1. How to rebuild the Spotlight index via System Preferences
  2. How to reindex Spotlight with Terminal
  3. The quickest way to rebuild the Spotlight database

How to rebuild the Spotlight index via System Preferences

When the Spotlight search is not working on your Mac correctly, try to reindex it via System Preferences.
Here are the steps to refresh the Spotlight.

  1. Go to the Apple menu and open System Preferences.
  2. spotlight search is not working

  3. Click on the Spotlight icon.
  4. rebuild the spotlight index

  5. Switch to the Privacy tab of Spotlight.
  6. rebuild the spotlight index

  7. Click on the Plus button → select the folders or disks whose index you want to refresh in Spotlight search.
  8. Click the Choose button to add them to the list of locations prevented from being searched by Spotlight. In our case, we added the whole Macintosh HD.
  9. Note: you can also just drag and drop any folder or disk right to this list.

    refresh the spotlight

  10. Then click again on the folder you have just added and click the Minus “” button to remove it from the list of Spotlight search.
  11. spotlight search is not working on your mac

  12. Close System Preferences. After these steps, the Spotlight indexing will be refreshed.
Note: depending on the volume of your folders or disk you chose, this reindexing Spotlight may take some time. When entering a word for search, you will see the progress bar in the indexing status.

rebuild the spotlight database

How to reindex Spotlight with Terminal

Another way to rebuild the macOS Spotlight search is to use the command line in Terminal.
Here is how to rebuild the index of Spotlight using the Terminal app.

  1. Open Terminal from Launchpad.
  2. reindex spotlight

  3. Copy and paste the following command into the Terminal window and click the Return key.

    sudo mdutil -i on /

  4. rebuild the index of spotlight

  5. It may ask to enter your admin password. Enter your password and click Return. You will see the message that the indexing of the Spotlight is enabled.
  6. macos spotlight search

The quickest way to rebuild the Spotlight database

Besides the fact that the first two methods of reindexing the macOS search are not time-consuming, there is an even quicker and easier way to perform this task. This is possible with MacCleaner Pro. MacCleaner Pro allows you to fix the Spotlight search and additionally provides a wide range of options to speed up your Mac, clean up your hard drive and fix many other Mac issues.

Here is how to rebuild the Spotlight index with MacCleaner Pro.

  1. Launch MacCleaner Pro.
  2. Switch to the Speed up Mac section and select Reindex Spotlight.
  3. Run the Spotlight reindexing task by clicking the Speed Up button.
  4. how to reindex spotlight mac

That’s all. As we said, with the help of MacCleaner Pro it’s super easy and fast to reindex Spotlight!
Note, with MacCleaner Pro you can also Reindex your Mail.

MacCleaner Pro

Free Download


Articles you may be interested in: