How to Rebuild the Spotlight Index on Your Mac - MacRumors
Skip to Content

How to Rebuild the Spotlight Index on Your Mac

by

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
104 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: 14 Votes (Like | Disagree)
104 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)
macdaddy44 Avatar
104 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: 6 Votes (Like | Disagree)
104 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)
djlythium Avatar
104 months ago
I never knew this was possible.

I love these tutorials!
Score: 3 Votes (Like | Disagree)
104 months ago
when you combine spotlights PDF indexing with the Fujitsu Snapscan with OCR and coverflow, the results are amazeballs.

Apple should advertise this functionality. It’s an amazing paperless workflow. If apple added AI bill, business card, and receipt recognition to spotlight that would be even better.

That’s all I got to say about spotlight! Long live coverflow!
Score: 2 Votes (Like | Disagree)

Popular Stories

iphone duo screen crack

Apple Responds to iPhone Duo Display Cracking Reports

Monday October 26, 2026 10:20 am PDT by
Shortly after the iPhone Duo launched, a few users reported hinge issues that were causing cracks in the inner display. Apple has now responded to the reports in a statement to MacRumors, saying a small number of units are affected. The response to iPhone Duo from early users has been incredibly positive, and we are seeing exciting things from developers who are rapidly updating their apps...
iphone duo screen crack in store

Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge

Friday October 23, 2026 11:05 am PDT by
Some iPhone Duos are already experiencing hinge issues that cause display cracks, based on photos shared on Reddit and the MacRumors forums. Almost all of the display faults are right along the hinge, and most result in a line of bright pixels across one side of the screen. An iPhone Duo owner in Australia said his device cracked after being opened fewer than 20 times, and there was no...
jerryrigeverything iphone duo dust

iPhone Duo Fails JerryRigEverything's Dusty Durability Test

Saturday October 24, 2026 11:27 am PDT by
Apple's iPhone Duo has failed JerryRigEverything's latest durability test. Despite its IP68 dust-resistance rating, dust entered the hinge through several ingress points, overwhelming the magnets that hold the phone shut. The bend test then left a permanent green line across the inner display, before the screen became unresponsive. The outer screen with Ceramic Shield 2 scratched at level 7...
Latest Stories
Apple Fixes Possibly Exploited CoreGraphics Flaw on Older iPhones
Apple Fixes Possibly Exploited CoreGraphics Flaw on Older iPhones
1 minute ago
Apple's MacBook Pro Touch Bar Was Announced 10 Years Ago Today
Apple's MacBook Pro Touch Bar Was Announced 10 Years Ago Today
2 hours ago
iPhone 18e Could Get Two Key Upgrades While Keeping 60Hz Display
iPhone 18e Could Get Two Key Upgrades While Keeping 60Hz Display
2 hours ago
New iMac and 14-Inch MacBook Pro With M6 Chip Expected Tomorrow
New iMac and 14-Inch MacBook Pro With M6 Chip Expected Tomorrow
10 hours ago
JAŸ-Z to Headline 2027 Apple Music Super Bowl LXI Halftime Show
JAŸ-Z to Headline 2027 Apple Music Super Bowl LXI Halftime Show
10 hours ago
macOS 27.2 Stops Upgrades From Removing Rosetta
macOS 27.2 Stops Upgrades From Removing Rosetta
10 hours ago
Older Siri Remotes Now Show Up in Find My With iOS 27.2
Older Siri Remotes Now Show Up in Find My With iOS 27.2
12 hours ago
iPhone Duo Features Independent Rotation Lock Controls
iPhone Duo Features Independent Rotation Lock Controls
12 hours ago
iOS 27.2 Features: Everything New in iOS 27.2
iOS 27.2 Features: Everything New in iOS 27.2
13 hours ago
Why Can't iPhone Duo Users Make Eye Contact on FaceTime?
Why Can't iPhone Duo Users Make Eye Contact on FaceTime?
13 hours ago
iOS 27.2 Fixes Over 160 Security Vulnerabilities
iOS 27.2 Fixes Over 160 Security Vulnerabilities
14 hours ago
iPhone AI Images and Edits Now Have a Hidden Watermark
iPhone AI Images and Edits Now Have a Hidden Watermark
15 hours ago
iOS 27.2 Lets You Watch Four Live Sports Streams on iPhone
iOS 27.2 Lets You Watch Four Live Sports Streams on iPhone
16 hours ago
iOS 27.2 Expands Dual Capture to Group FaceTime
iOS 27.2 Expands Dual Capture to Group FaceTime
17 hours ago
Here's Why Apple's Next Pre-Orders Begin on Wednesday at 10:10 AM
Here's Why Apple's Next Pre-Orders Begin on Wednesday at 10:10 AM
17 hours ago
Apple Says Siri AI Will Support Even More Languages Later This Year
Apple Says Siri AI Will Support Even More Languages Later This Year
17 hours ago
Apple Releases iOS 27.2 With New Siri AI Languages
Apple Releases iOS 27.2 With New Siri AI Languages
18 hours ago
Apple Releases macOS Golden Gate 27.2
Apple Releases macOS Golden Gate 27.2
18 hours ago
Apple Releases watchOS 27.2 With Siri AI Enhancements
Apple Releases watchOS 27.2 With Siri AI Enhancements
18 hours ago
Apple Releases HomePod 27.2 Software With Sound Glow for Existing HomePods
Apple Releases HomePod 27.2 Software With Sound Glow for Existing HomePods
19 hours ago
Apple Releases tvOS 27.2 With HomePod Surround Sound Support
Apple Releases tvOS 27.2 With HomePod Surround Sound Support
19 hours ago
Apple Releases visionOS 27.2
Apple Releases visionOS 27.2
19 hours ago
iPad Mini 2024 vs. 2026 Buyer's Guide: Should You Upgrade?
iPad Mini 2024 vs. 2026 Buyer's Guide: Should You Upgrade?
19 hours ago
Apple Responds to iPhone Duo Display Cracking Reports
Apple Responds to iPhone Duo Display Cracking Reports
19 hours ago
iPhone Duo: Watch Video Above an App in Portrait Mode
iPhone Duo: Watch Video Above an App in Portrait Mode
19 hours ago
AirPods Pro Hearing Aid Feature Launching in These Canadian Provinces
AirPods Pro Hearing Aid Feature Launching in These Canadian Provinces
20 hours ago
New iPad Mini Announced Today Has More Than 12 New Features
New iPad Mini Announced Today Has More Than 12 New Features
21 hours ago
Apple Raises iPad and Mac Trade-In Values
Apple Raises iPad and Mac Trade-In Values
21 hours ago
New iPad Mini Gains Adaptive True Tone Flash
New iPad Mini Gains Adaptive True Tone Flash
21 hours ago
Quickly Silence iPhone Duo Without a Ring/Mute Switch
Quickly Silence iPhone Duo Without a Ring/Mute Switch
22 hours ago