What is mds on Mac, and why is it using so much CPU?
mds is a macOS system process that runs Spotlight search and decides what to index.
| Shown in Activity Monitor as | mds |
|---|---|
| Made by | Apple, part of macOS |
| WhySlow's verdict | Leave it. Settles on its own |
See what’s slowing your Mac right now: download WhySlow free. One-click fixes cost $10, once or yearly.

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
- Allow indexing to finish after an update or a large file transfer. Apple says it can take hours or days, depending on how much information is being indexed.
- Keep busy folders out of the index: open System Settings › Spotlight › Search Privacy and add folders like Xcode DerivedData, Docker data or virtual machine folders.
- See whether indexing is on and still running: in Terminal, mdutil -s / reports the indexing status of your startup disk.
- If Spotlight search results remain incomplete or unexpected after indexing, follow Apple’s rebuilding instructions (System Settings, or sudo mdutil -E / in Terminal). High CPU alone does not mean the index is broken; rebuilding starts the indexing work again.
How WhySlow helps with mds
- Shows how much CPU and memory mds is using right now, in plain English.
- Opens Spotlight settings so you can keep big folders out of the index.
- Offers a Spotlight index rebuild when search results need repair; rebuilding starts a fresh indexing pass.
Free to explain. One-click fixes cost $10, once or yearly.
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.