# What is mds_stores, and why is it using so much CPU?

What is this process? · Updated 22 November 2026. By Mohit Nippanikar, who makes SiftMac.

## The short answer

- **Leave it running.** `mds_stores` is part of Spotlight. Together with `mds` and the `mdworker` helpers, it reads your files and keeps the search index current. A burst of CPU and disk activity means it’s catching up, and it calms down by itself.
- **When it’s normal:** after a macOS update, a migration, copying or unzipping a lot of files, or plugging in a big drive. Apple says indexing can take hours, or even days, depending on how much there is.
- **When to act:** if it stays busy for days with nothing new on the disk, rebuild the index once, and keep build folders, virtual machines and backup drives out of it.

## 1. What mds_stores is

Spotlight isn’t one process but a small family, all started by macOS’s launchd and all living in `/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/`:

- **`mds`**, the metadata server. Its manual page says it serves every client of the metadata APIs, Spotlight included. launchd starts it from `/System/Library/LaunchDaemons/com.apple.metadata.mds.plist`.
- **`mdworker_shared`** (and `mdworker`): the workers `mds` sends to read and index files when a disk is mounted or a file changes. Several at once is normal, and they come and go.
- **`mds_stores`**: runs as root and looks after the index stores themselves, what `mdutil` calls the metadata stores. On disk each indexed volume keeps its store in a hidden [.Spotlight-V100](https://siftmac.com/safe-to-delete/spotlight-index) folder.

So when `mds_stores` is high in Activity Monitor, the workers have found new or changed files and their results are being written into the index.

## 2. Why it’s busy

Apple says indexing happens when you first set up a Mac, after a software update or upgrade, and as data changes. In practice, the busy spells line up with things like:

- A macOS update or upgrade, after which Spotlight looks at the disk again.
- Migration Assistant, or restoring from a backup: a whole Mac’s worth of files arrives at once.
- Unzipping an archive, cloning a repository or running `npm install`: tens of thousands of small files in minutes.
- Plugging in an external drive Spotlight hasn’t indexed before.
- Apps that rewrite many files all the time, such as build tools, virtual machines and sync clients.

Apple adds that indexing finishes sooner when the Mac isn’t in use, is connected to power, and is online by Wi-Fi or Ethernet, in case mail or other data has to be downloaded first.

## 3. What to do about it

1. **Check that it’s indexing.** Press Command-Space: while indexing runs, Apple says a progress indicator appears at the top of the Spotlight window.
2. **Give it time on power.** Plug a laptop in and leave it alone for a while; a first index after an update or migration is the slow one.
3. **Keep out what you never search.** In System Settings › Spotlight (Siri & Spotlight on older versions), click Search Privacy and add build folders, virtual machines and folders you constantly unzip into.
4. **Turn indexing off for backup drives.** For an external drive you never search, put its name in: `sudo mdutil -i off /Volumes/DriveName`.
5. **Rebuild if it never settles.** If it’s been busy for days, or searches miss files you know are there, have Spotlight start over.

To see each volume’s indexing state, then rebuild the startup disk’s index:

```
mdutil -sa
sudo mdutil -E /
```

The index takes real space on the data volume. Measuring it needs an administrator password:

```
sudo du -sh /System/Volumes/Data/.Spotlight-V100
```

A rebuild is the clean way to shrink an index that has grown far beyond what your files explain. Don’t delete `.Spotlight-V100` in Finder or with `rm`.

## 4. Should you quit or disable it?

Quitting `mds_stores` in Activity Monitor buys nothing: launchd starts it again within moments and the indexing carries on. Its launch files sit on macOS’s sealed, read-only system volume, protected by System Integrity Protection. Don’t turn SIP off to get at them.

Switching indexing off for the startup disk, with `sudo mdutil -i off /`, does stop the activity, but at a cost: Finder’s search field, Mail’s search, the search in Open dialogs and apps that ask Spotlight about your files all stop finding things. For a busy spell that will end on its own, that trade isn’t worth it. Turn it back on with `sudo mdutil -i on /`.

Where turning it off makes sense is on drives you never search: backup disks, archive drives, disks full of virtual machines.

## Questions

### What’s the difference between mds, mds_stores and mdworker?

`mds` is the metadata server that answers searches, `mdworker_shared` and `mdworker` read files and extract what’s in them, and `mds_stores` maintains the index files on each disk. All three are Spotlight.

### Is mds_stores a virus?

No. To be sure it’s Apple’s, check its path: `ps -axo pid,user,comm | grep mds_stores` should show it running as root from the `Metadata.framework/Versions/A/Support` folder inside `/System/Library/Frameworks/CoreServices.framework`.

### How long does Spotlight indexing take?

Apple says hours or even days on a full disk, with later updates much faster. It goes quickest with the Mac idle, on power and online.

### Why does mds_stores start up after I delete lots of files?

Removing files changes the disk as much as adding them, so the index has to be updated. It settles once the change is recorded.

## How SiftMac handles it

SiftMac doesn’t touch the Spotlight index, but it leans on it: Unused apps uses Spotlight’s record of when each app was last opened, and plain-words search runs as a Spotlight query. Both answer better once indexing has finished.

Download: https://siftmac.com/SiftMac.dmg (scanning is free, and so is the first 2 GB of cleaning).

## Sources

- [Apple: About Spotlight indexing and search results](https://support.apple.com/en-us/102321)
- [mdutil(1) manual page](https://keith.github.io/xcode-man-pages/mdutil.1.html)
- [mds(8) manual page](https://keith.github.io/xcode-man-pages/mds.8.html)
- [mdworker(8) manual page](https://keith.github.io/xcode-man-pages/mdworker.8.html)

## Related

- [Is it safe to delete .Spotlight-V100 (the Spotlight index)?](https://siftmac.com/safe-to-delete/spotlight-index)
- [What is corespotlightd, and why is it using so much memory?](https://siftmac.com/process/corespotlightd)
- [Why is kernel_task using so much CPU on my Mac?](https://siftmac.com/process/kernel-task)
- [Is it safe to delete node_modules?](https://siftmac.com/safe-to-delete/node-modules)
- [How to clear System Data on a Mac, safely](https://siftmac.com/guides/system-data-on-mac)

Canonical: https://siftmac.com/process/mds-stores
