SiftMac
What is this process? · Updated 1 December 2026

What is mdsync, and why is it using CPU?

By Mohit Nippanikar, who makes SiftMac

The short answer

Check your own Mac. SiftMac’s free scan lists what’s using space and says, for each item, whether it comes back on its own.

Download the free scanMac · macOS 13+ · nothing leaves your Mac

On this page
  1. What mdsync is
  2. Why it’s busy
  3. What to do about it
  4. Should you quit or disable it?
  5. Questions

1. What mdsync is

The program is /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdsync, beside mds, mds_stores and the mdworker processes. launchd starts it from /System/Library/LaunchDaemons/com.apple.metadata.mds.scan.plist, a job labelled com.apple.metadata.mds.scan that belongs to Spotlight. Being a LaunchDaemon, it serves the whole Mac rather than one user.

Apple doesn’t document mdsync, so its launchd job is the best description available. That job passes it the names mdworker-scan and MDSSyncScanWorker, and the program’s version string names the Spotlight project. Put together: it is the worker Spotlight’s server hands disk scans to, walking a volume to find what needs indexing, while mdworker_shared reads the contents of individual files.

Oakley’s article on rebuilding Spotlight indexes lists it in one line among the other services involved in indexing, alongside mdwrite. Beyond that, little is published, so treat any detailed claim about it with care.

2. Why it’s busy

Apple says Spotlight indexes at first setup, after software updates or upgrades, and as data changes. Scans are the first stage of that, so mdsync shows up when Spotlight has a whole volume to go through:

A scan that ends in hours or a day is expected. One that runs for days and starts over each time is not.

3. What to do about it

First see what Spotlight thinks of each volume. These only read:

mdutil -s /
mdutil -s -a

The first reports whether indexing is enabled for the startup disk; the second does the same for every mounted volume. A disk you don’t expect to be indexed is a candidate for exclusion.

  1. Leave it on power and awake. Apple says indexing finishes sooner when the Mac is idle, plugged in and online.
  2. Exclude what you never search. Apple’s steps: System Settings › Spotlight (or Siri & Spotlight), click Search Privacy at the bottom, and drag in the disk or folder. Backup disks, build folders and archives are good candidates.
  3. Restart the Mac if the scan seems stuck rather than slow.
  4. Rebuild only when the index is damaged. Oakley’s view is that rebuilding is justified only when searches are known to be broken, not when indexing seems slow, since a rebuild usually takes longer. Apple’s way is to add the disk to Search Privacy, wait a few seconds, then remove it again; Spotlight reindexes it.

4. Should you quit or disable it?

Don’t try to remove it. It is part of Spotlight on the sealed system volume, and macOS starts it whenever Spotlight needs a scan. Stopping it in Activity Monitor only means the scan starts again later.

The supported way to give it less work is Search Privacy: anything in that list isn’t scanned or indexed. Turning Spotlight indexing off for a whole disk with mdutil also stops scans there, but then Spotlight, and the apps that search through it, can’t find anything on that disk.

If mdsync keeps scanning the same disk over and over, run Disk Utility’s First Aid on that disk. It is a quick, safe check that rules out a damaged volume before you rebuild anything.

Questions

Is mdsync a virus?

No. It sits in Spotlight’s folder inside CoreServices.framework and is started by launchd from com.apple.metadata.mds.scan.plist.

What is the difference between mdsync and mdworker?

From its launchd job, mdsync is Spotlight’s scan worker, which goes through volumes. mdworker_shared processes import the contents of individual files into the index.

How long does Spotlight indexing take?

Apple says it can take hours or even days, depending on how much data there is, and that later updates are faster.

Can I stop mdsync from scanning my external drive?

Yes. Add the drive to Search Privacy in Spotlight settings. Spotlight then won’t index it, and won’t find files on it.

How SiftMac handles it. SiftMac has no hand in mdsync: it doesn’t manage or stop processes, CPU or memory, and it leaves Spotlight’s index alone. It scans the disk on its own terms and shows what fills it.

Download SiftMac · scanning is free, and so is up to 20 GB of cleaning for 7 days · See how it works