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.
- How to rebuild the Spotlight index via System Preferences
- How to reindex Spotlight with Terminal
- 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.
- Go to the Apple menu and open System Preferences.
- Click on the Spotlight icon.
- Switch to the Privacy tab of Spotlight.
- Click on the Plus button → select the folders or disks whose index you want to refresh in Spotlight search.
- 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.
- Then click again on the folder you have just added and click the Minus “–” button to remove it from the list of Spotlight search.
- Close System Preferences. After these steps, the Spotlight indexing will be refreshed.
If you have macOS Ventura, you should do the same steps, but note that system preferences have a new design. Follow these steps: Open System Settings ➝ click Siri & Spotlight in the sidebar ➝ scroll down, and click Spotlight Privacy ➝ add and then remove items from the locations list. Your Mac will reindex Spotlight.
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.
- Open Terminal from Launchpad.
Copy and paste the following command into the Terminal window and click the Return key.
sudo mdutil -i on /
- 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.
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.
- Launch MacCleaner Pro.
- Switch to the Speed up Mac section and select Reindex Spotlight.
- Run the Spotlight reindexing task by clicking the Speed Up button.
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.