What is the Spotlight index on a Mac?
Last reviewed: 19 November 2026.
The Spotlight index is a database macOS keeps on each indexed volume, recording file names, text content and metadata such as dates, authors and image details, so searches return results at once. Building and updating it is the work you see from mds_stores and mdworker_shared in Activity Monitor. mdutil -s / in Terminal shows whether indexing is on for the startup disk.
Which processes build the Spotlight index?
| Process | Role |
|---|---|
| mds | The metadata server. Its manual says it serves all clients of the metadata APIs, including Spotlight, and decides which files need indexing. |
| mds_stores | Owns the index stores on each volume and writes what the workers find into them. |
| mdworker_shared | Worker processes that read files and return their text and metadata. The mdworker manual describes them scanning files as a volume is mounted or a file changes. |
| corespotlightd | Holds the index of items that apps add through Core Spotlight, such as messages and notes. |
On the startup disk, the index is stored in a hidden folder named .Spotlight-V100 at the top of the Data volume.
Why does indexing use so much CPU and disk?
Spotlight reads every new or changed file to extract its contents. After a macOS update, a migration, restoring from a backup or connecting a new drive, that can mean reading the whole disk, which takes hours on a large one. During that time the Mac may be warm and search results incomplete. Once caught up, Spotlight only indexes files as they change, and its processes drop to near 0% CPU most of the time.
Indexing runs as background work, so it yields to the app you are using; see quality of service.
How do you control the Spotlight index?
- To exclude a folder or disk, open System Settings > Spotlight, click Search Privacy…, and add it. The settings describe this list as preventing Spotlight from searching these locations.
- To see indexing status:
mdutil -s /prints whether indexing is enabled for the startup disk. - To rebuild a damaged index:
sudo mdutil -E /erases the store, and its manual says it will be rebuilt. Expect a long indexing period afterward.
mdutil -s /
mdutil -s -a
How can Thrum help?
Thrum keeps a live CPU graph in the menu bar. One click shows the eight processes using the most CPU. An optional alert tells you when a process stays above a CPU level you choose (50 to 200% of one core) for 1 to 10 minutes.
Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.
Questions
Should I turn Spotlight off to speed up my Mac?
Usually not. Indexing is heavy only while it catches up. Mail, Photos, Finder search and other apps also rely on the index, and the Spotlight settings warn that excluding a location can stop search working in some apps.
How long does indexing take?
It depends on how many files there are and how fast the disk is. Watch mds_stores in Activity Monitor: when its CPU drops back near zero, indexing has caught up.
Sources
- mdutil(1), mds(8) and mdworker(8) man pages: run man mdutil in Terminal
- System Settings Spotlight strings (Search Privacy), macOS 26.3.1