What mds_stores is on a Mac, and why it uses so much CPU

mds_stores is part of Spotlight, macOS’s search. It works with mds, the metadata server, and the mdworker processes to keep the search index of your files up to date. It’s busy after a macOS update, a large copy or a new disk, and settles once indexing finishes, which Apple says can take hours or even days. Don’t quit it; leave the Mac plugged in and it calms down.

What mds_stores does

Spotlight finds your files by searching an index, not the disk itself. Several macOS processes keep that index up to date, and they live together in /System/Library/Frameworks/CoreServices.framework/…/Metadata.framework/…/Support/ on our Mac with macOS 27.0.1:

  • mds, which its manual page calls “the metadata server. It serves all clients of the metadata APIs, including Spotlight.”
  • mdworker and mdworker_shared, which, in the words of the manual page, mds uses “to scan and index files as a volume is mounted or a file changes.”
  • mds_stores, which runs as its own system user, _mds_stores. macOS starts it from a launch file labeled com.apple.metadata.mds.index: as its name says, it looks after the index stores, the files the index is kept in.

Apple doesn’t ship a manual page for mds_stores, but the others say what all of them share: “There are no configurations to mds, and users should not run mds manually.”

See whether Spotlight is indexing

  1. Open Activity Monitor: press Command-Space, type Activity Monitor and press Return.
  2. Choose View ▸ All Processes, and type md in the search field to see mds, mds_stores and the mdworker processes together.
  3. Click CPU to see how busy they are, and Disk to see how much they read and write.
  4. In Terminal, run mdutil -s / to see whether indexing is on for your startup disk.

While indexing is going on, Spotlight’s results can be incomplete.

Why mds_stores uses so much CPU

It’s busy whenever there’s a lot to add to the index:

  • After a macOS update, when Spotlight indexes the disk again. Apple says that “Depending on the amount of data on your device, Spotlight indexing can take hours or even days.”
  • After copying or downloading many files, or restoring from a backup.
  • When a new disk is connected, which Spotlight indexes as it’s mounted.
  • After you rebuild the index yourself.

Apple adds that indexing “completes more quickly” when the Mac isn’t in use and is connected to power and to the internet.

What to do when it’s high

  1. Wait, plugged in. Leave the Mac on power, ideally overnight. It’s the quickest way through.
  2. Keep folders out of Spotlight that don’t need searching, such as a folder of build files or a disk of backups: add them in System Settings ▸ Spotlight ▸ Search Privacy (on some versions, Spotlight Privacy).
  3. Rebuild the index if mds_stores stays busy for days, or search misses files. Apple’s steps, below.

Rebuild the Spotlight index

  1. Choose Apple menu ▸ System Settings, then click Spotlight in the sidebar.
  2. Scroll down and click Search Privacy.
  3. Click + and add the disk or folder to the list Spotlight won’t search.
  4. Wait a few seconds, select it in the list, and click – to remove it.
  5. Click Done and quit System Settings. Spotlight indexes it again from the start.

Expect mds_stores to be busy again while the new index is built.

Is it safe to quit mds_stores?

Don’t. It’s part of macOS, and macOS starts it again when Spotlight needs it; you’ll only interrupt the indexing and make it take longer. If you want Spotlight to leave a folder or disk alone, add it to Search Privacy instead.

Is mds_stores a virus?

No. It’s part of Spotlight, runs from inside macOS’s own Metadata framework, and runs as macOS’s own system user _mds_stores. Activity Monitor shows that user in its User column.

Why won’t my Mac sleep while mds_stores is busy?

Apple’s page on sleep and wake says that while Spotlight is indexing, the Mac won’t go to sleep. That’s often why a Mac stays awake, or a MacBook loses charge, in the first nights after an update; see what’s keeping your Mac awake and battery drain overnight on macOS 27.

Keep an eye on it

If Spotlight still can’t find files once indexing is done, see Spotlight not working on a Mac, and for every column in Activity Monitor, our Activity Monitor guide. Brello’s Health page shows macOS’s own work, Spotlight’s included, apart from the apps you use, so you can see at a glance whether it’s macOS that’s busy.

Checked on macOS 27.0.1, December 4, 2026. Menu names can change with a macOS update.

Sources: About Spotlight indexing and search results (Apple Support); If your Mac sleeps or wakes unexpectedly (Apple Support); mdutil(1), the manual page.