What is mds_stores on Mac? Why it uses so much CPU, and how to fix it

Updated · 2 min read · by

Quick answer

mds_stores is the part of Spotlight that maintains the search index. It works hard after macOS updates, new drives or large file copies, then settles down. Short spikes are normal. If it stays high, something is keeping it busy, and the steps below find and fix it.

What is mds_stores?

mds_stores manages Spotlight's index: the database that makes searching your Mac instant. Together with mds and the mdworker_shared processes, it reads new and changed files and records their names, contents and details so you can find them later.

When a lot changes at once, Spotlight has a lot of catching up to do, and mds_stores can use plenty of CPU and disk for a while.

Why is mds_stores using so much CPU?

How to fix high mds_stores CPU usage

  1. Confirm it in Activity Monitor. Press ⌘ Space, type Activity Monitor, open the CPU tab and sort by % CPU. Watch mds_stores for a minute: short spikes are normal, only steady high usage needs fixing.
  2. Leave your Mac on power and awake for a while. First-time indexing can take an hour or more on a full drive, then it drops to near zero.
  3. Exclude busy folders you never search, such as build folders, caches and virtual machines. Open Spotlight's settings in System Settings and add them to the privacy list (named Spotlight Privacy or Search Privacy, depending on your macOS version).
  4. Exclude external drives you only use for backups the same way.
  5. Rebuild a stuck index if it never finishes: add your startup disk to that privacy list, wait a minute, then remove it. Spotlight starts a fresh index.

More help: Why are my Mac's fans so loud?

Questions people ask

What is mds_stores on a Mac?

mds_stores is the part of Spotlight that maintains the search index. It works hard after macOS updates, new drives or large file copies, then settles down.

Can I quit mds_stores?

You can, but it restarts right away and picks up where it left off. Let indexing finish, or exclude the folders that keep it busy.

Is mds_stores a virus?

Yes. mds_stores is part of Spotlight, which is built into macOS.

How long does Spotlight indexing take?

Usually from a few minutes to a couple of hours, depending on how many files you have and how fast your drive is. After that, it only indexes what changes.