What is mds on Mac, and why is it using so much CPU?

By Anil Gautam · Updated

mds is a macOS system process that runs Spotlight search and decides what to index.

Spotlight · Leave it · Settles on its own
mds at a glance
Shown in Activity Monitor asmds
Made byApple, part of macOS
WhySlow's verdictLeave it. Settles on its own

See what’s slowing your Mac right now: download WhySlow free. One-click fixes cost $10, once or yearly.

WhySlow process list on a real Mac with a plain-English verdict for every process
Real screenshot: WhySlow lists every process with a verdict. Search for mds to see it explained on your Mac.

Why is mds using so much CPU?

Busy after a macOS update, a large file copy, or plugging in a drive.

What mds does

Spotlight's server process is mds. It coordinates indexing and answers searches from the menu bar, Finder and apps, and it leaves reading files to mdworker_shared and storing the index to mds_stores. When all three are busy, Spotlight is indexing.

Should you quit mds?

No. mds is part of macOS. Quitting it can break things, and macOS starts it again anyway. When it is busy, it usually settles on its own.

Check that search still finds your files

Try finding a file you know exists and note whether the result is missing. Indexing after an update or large transfer can take time without indicating a fault. If you exclude a folder in Search Privacy, its contents will no longer appear in Spotlight results; choose folders deliberately.

Rebuilding is a troubleshooting step for unexpected search results. It can make indexing activity increase before it settles. Follow Apple’s current instructions for your macOS version and allow that new pass to finish before judging the result.

Is mds a virus?

The name mds alone can't prove a process is genuine, and this page isn't a security scan. Check where it runs from: genuine macOS processes run from system folders such as /System/Library and /usr/libexec. In Activity Monitor, double-click mds and choose Open Files and Ports to see its location. If it appeared right after you installed something unexpected, don't grant it more permissions, and ask the software vendor or Apple Support.

How to check mds on your Mac

Open Activity Monitor (Applications › Utilities), choose the CPU tab and type mds in the search field. The % CPU column shows how busy it is: 100% means one full processor core. Watch it for a minute while you repeat the task that felt slow.

What to do if mds stays busy

How WhySlow helps with mds

See what's slowing your Mac right now

Free to explain. One-click fixes cost $10, once or yearly.

Download free

Sources

The process description comes from WhySlow’s app catalog. Diagnosis depends on your workload and the version of macOS or the app you use. For an unfamiliar process, start with Apple’s guide to inspecting processes and reading CPU activity.

For indexing problems, follow Apple’s Spotlight guidance. Duration varies; a fixed three-hour cutoff is not a reliable diagnosis.

Need a broader starting point? Follow the slow Mac checklist or learn about memory pressure.

Related processes