macos spotlight icon e1542458658324Apple has enhanced Spotlight search in macOS in recent years, with the addition of Spotlight Suggestions allowing it to tap into a variety of online data sources like weather and sports. Nevertheless, helping you find apps, documents and other files stored on your Mac is still what Spotlight does best.

That's not to say its core function is infallible, however. If Spotlight can't find files that you know exist on your Mac, or if it stops prioritizing results based on your earlier searches, then it's probably a sign that your system's search index is damaged somehow.

If you're experiencing odd behavior when using Spotlight, you should try rebuilding its search database index. There are Terminal commands that will do the job, but you can achieve the same result via the regular macOS user interface in just a few quick steps. Here's how.

  1. Select System Preferences... from the Apple () menu at the top left of your screen.
    how to reindex spotlight00

  2. Click the Spotlight pane.
    how to reindex spotlight01

  3. Click the Privacy tab.
  4. Click the Add (+) button.
    how to reindex spotlight02

  5. Select the folder or disk whose index you wish to re-build, then click Choose. Alternatively, drag the folder or disk into the list. We've chosen Documents in our example.
    how to reindex spotlight03

  6. In the same list, click the folder or disk that you just added and then click the Remove (-) button.
    how to reindex spotlight04

  7. Click the red traffic light button to close System Preferences.

Once you've completed these steps, Spotlight will begin reindexing the contents of the folder(s) or disk(s) you chose, which may take some time and a few processor cycles. Depending on which version of macOS you're running, you may see a rebuild progress indicator in Spotlight's menu bar item. With a bit of luck, your Spotlight problems will have been resolved once indexing is complete.

You can also perform a system-wide re-index of the Spotlight database, among many other optimizations, using Titanium Software's free Onyx utility, which is available for all recent versions of macOS.

Top Rated Comments

Weaselboy Avatar
40 months ago
You can also perform a system-wide re-index of the Spotlight database, among many other optimizations, using Titanium Software's free Onyx utility ('https://www.titanium-software.fr/en/onyx.html'), which is available for all recent versions of macOS.
You can also just run this command in Terminal and it will do a system-wide Spotlight reindex.

sudo mdutil -E /

I've tried this rebuild previously and found it did not change anything.
Anyone with different experience?
One issue I have noticed a Spotlight reindex will often fix is if you are getting an incorrect readout for Storage in System Report. If the Spotlight index is corrupted it will make that storage readout all wrong and a reindex can fix it.



Attachment Image
Score: 13 Votes (Like | Disagree)
VictorTango777 Avatar
40 months ago
It seems that Apple assumes Mac users only need to search Mac formatted drives that are connected directly to Mac computers running Mac OS. Forget about shared folders on Windows servers or read-only volumes such as NTFS drives or DVD media. Even with simple filename based searches, Mac OS 9 from 20 years ago or even Unix find seems to find filenames better than Spotlight when searching "non Apple approved" volumes.

Also, what search engine does Apple use on their own Support website? Trying to search for a simple phrase returns hundreds of pages of irrelevant results. It also seems like their website search uses implicit "OR" instead of "AND" for searches containing multiple words. It's pathetic that I have to use an external Google search to find stuff inside Apple's own website.
Score: 6 Votes (Like | Disagree)
kwikdeth Avatar
40 months ago
Onyx is a great utility, been using it for years. It also gives you access to enable a bunch of other hidden settings and options. For example, One option I like to enable is turning launchpad's background to greyscale. I find this makes it easier and faster to locate items on the launchpad that I don't frequently access.
Score: 5 Votes (Like | Disagree)
macdaddy44 Avatar
40 months ago
This is a more extensive rebuild as it removes a possibly corrupt index database -

• mdutil -i off /
• sudo rm -rf /.Spotlight-V100
• sudo rm -rf /.Spotlight-V200
• mdutil -i on /
• mdutil -E /
Score: 5 Votes (Like | Disagree)
djlythium Avatar
40 months ago
I never knew this was possible.

I love these tutorials!
Score: 3 Votes (Like | Disagree)
Mr_Brightside_@ Avatar
40 months ago
Weird timing. I was having an issue with two of my Sierra Macs where the Spotlight window would disappear right after beginning to type. I forced a re-index and it seems to have fixed the issue.
Score: 2 Votes (Like | Disagree)

Related Stories

General black friday 20 sale feature 2

Best Black Friday Deals on Apple Watch, AirPods Pro, MacBook Pro, More

Wednesday November 24, 2021 8:06 am PST by
Black Friday 2021 has kicked off, and you can now get some of the year's best deals on numerous Apple products. In this article we're providing a quick summary of all the best sales we've seen so far this season. For more on the best sales happening this week, visit our Black Friday Roundup. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a...
iphone holiday

Best Black Friday iPhone Deals Still Available

Friday November 26, 2021 4:58 am PST by
Cellular carriers have always offered big savings on the newest iPhone models in holidays past, and Black Friday 2021 is no different. Right now we're tracking notable offers on the iPhone 13 and iPhone 13 Pro devices from AT&T, Verizon, and T-Mobile. For even more savings, keep an eye on older models like iPhone SE. Note: MacRumors is an affiliate partner with some of these vendors. When you...
airpods pro blue holiday 3

Black Friday: AirPods Pro With MagSafe Drop to $159 on Amazon

Tuesday November 23, 2021 9:12 am PST by
Amazon is now matching Walmart's price on the AirPods Pro with MagSafe, available for $159.00, down from $249.00. These are shipped and sold directly from Amazon, and although stock is low you can still get them in time for the holidays (mid December as of writing). Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a...
apple wallet drivers license feature

Apple Delays iOS 15 Feature for Adding Your Driver's License to Your iPhone Until Early 2022

Tuesday November 23, 2021 9:35 am PST by
Apple recently updated its website to indicate that an upcoming iOS 15 and watchOS 8 feature that will let you add your driver's license or state ID to your iPhone and Apple Watch in participating U.S. states has been delayed until early 2022. Apple previously said the feature would launch in late 2021. In September, Apple said Arizona and Georgia would be among the first states to introduce ...
airpods 3 blue holiday 2

Black Friday: AirPods 3 Hit Record Low Price of $149.99 ($29 Off)

Thursday November 25, 2021 6:10 am PST by
Amazon has introduced a new record low price on the AirPods 3, available for $149.99, down from $179.00. At $29 off, this sale price beats the one that we were tracking earlier this week by about $5 and it's only available on Amazon as of writing. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which ...
airpods pro pink holiday

Black Friday: AirPods Pro With MagSafe Hit Lowest Ever Price

Tuesday November 23, 2021 7:47 am PST by
Apple's AirPods Pro with the new MagSafe Charging Case is now available for its lowest ever price thanks to Black Friday sales. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running. The limited-time deal is available at both Amazon and Walmart, which are both...
apple watch cellular holiday

Best Black Friday Apple Watch Deals Still Available

Friday November 26, 2021 4:55 am PST by
The Apple Watch always makes a great gift around the holiday season, and for Black Friday 2021 we're tracking a few solid offers on numerous models of the Apple Watch. In this article, you'll find the best Black Friday sales on the new Apple Watch 7, but the best money-saving discounts will be found on older models like the Apple Watch Series 3 and SE. Note: MacRumors is an affiliate partner...
iPads black friday 20 sale feature

Best Black Friday iPad Deals Still Available

Friday November 26, 2021 4:48 am PST by
Although Black Friday sales began as early as October in 2021, the shopping holiday is now officially underway and we're highlighting the best sales for each of Apple's product lines. In this article, you'll find the best Black Friday sales on iPad Pro and iPad mini. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a...