Skip to content

What is mds on Mac?

By Junaid, maker of Taskglass · Last reviewed

The Spotlight metadata server: coordinates indexing so you can search your Mac instantly.

mds is the metadata server behind Spotlight. It coordinates indexing of your files, hands work to mdworker processes that read the files, and answers searches from Spotlight, Finder and other apps. Heavy activity is normal after a macOS update, after restoring or migrating files, or when you connect a new drive, and it settles once indexing is done.

Category
Apple service
Made by
Apple
Safe to quit:
With care

Shown in Activity Monitor as mds

Why is mds using so much CPU or memory?

  • Indexing after a macOS update, migration or restore
  • A new external drive connected, or large numbers of files added or changed
  • Cloud folders or developer folders with many files changing constantly
  • A damaged index being rebuilt

What to do

  1. 1Let it finish: keep the Mac on and plugged in; indexing can take hours on large disks
  2. 2Exclude folders you never search (build folders, VM images, backups) in System Settings > Spotlight > Search Privacy
  3. 3If it runs for days, rebuild the index: add your disk to Search Privacy, then remove it again
  4. 4Restart your Mac

Safe to quit? With care.

macOS relaunches it right away; search may be incomplete while indexing continues.

Typical usage

Rough ranges on Apple Silicon Macs. Yours will vary.

CPU
Near 0% when idle; 10–100%+ while indexing
Memory
20–200 MB

Related processes

Part of the Taskglass Process Library

See it live in Taskglass.

Taskglass shows what mds is doing on your Mac right now, explains it in plain English, and tells you if it's safe. It does the same for 213 other processes.