mdworker is the Spotlight helper that opens files and pulls out their metadata for the search index; several copies at once are normal, and it's part of macOS. If copies keep crashing or indexing never finishes, a damaged file or a third-party Spotlight importer is the usual cause.
Last reviewed · 2 sources
One Mac, macOS 26.5 (25F71) on Apple silicon, read with ps and codesign on October 29, 2026
| Path | /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mdworker |
|---|---|
| Runs as | your user account and _spotlight, a macOS system account |
| Signed by | Apple (Software Signing), identifier com.apple.mdworker |
mdworker is a helper process spawned by the Spotlight metadata server (mds). While mds_stores manages the search index database, mdworker processes handle the actual work of reading individual files and extracting their metadata — file type, content text, author, dates, dimensions, and other attributes. Multiple mdworker instances run in parallel to index files faster.
Multiple mdworker processes consuming high CPU simultaneously during indexing
mdworker_shared crashing repeatedly on specific file types
Disk I/O saturation from reading many files during a reindex
Memory pressure from many mdworker instances running in parallel
After a macOS update, large file copy, or drive connection, mdworker processes will be busy extracting metadata. This is temporary. Check indexing progress with 'mdutil -s /' in Terminal — once complete, mdworker usage will drop to near zero.
If mdworker_shared crashes repeatedly, open Console.app and filter for 'mdworker.' The crash logs will reference the specific Spotlight importer plugin and often the file path that triggered the crash, letting you exclude that file or folder.
Developer build directories (node_modules, .git, build/), virtual machines, and large media libraries cause excessive mdworker activity. Add them in System Settings > Spotlight (Siri & Spotlight on older macOS) > Search Privacy (Spotlight Privacy) to skip indexing.
Third-party Spotlight importer plugins in /Library/Spotlight/ can cause mdworker crashes. Move any non-Apple .mdimporter bundles out of that directory and restart to see if the crashes resolve.
Multiple mdworker processes running after file changes or updates is perfectly normal — that's how Spotlight indexes efficiently. Be concerned if mdworker processes keep crashing and respawning continuously without the index ever completing, which indicates a corrupt file or broken importer plugin.
mds_stores is a core macOS system process responsible for maintaining the Spotlight search index. It reads file metadata...
fseventsd is the macOS daemon that monitors and records file system changes as they happen. It maintains a persistent lo...
launchd is the first process that runs when macOS boots (PID 1) and serves as the system's init and service management f...
Spotlight spawns multiple mdworker processes to index files in parallel, which speeds up the indexing process. During a reindex, you may see 4-8 or more mdworker instances. This is normal behavior that allows Spotlight to utilize multiple CPU cores. The number of workers scales with your CPU core count and the volume of files to index.
No. mdworker is a legitimate Apple system process that is part of the Spotlight search infrastructure. It extracts metadata from files so they can appear in Spotlight search results. It's code-signed by Apple and located in the CoreServices framework.
The most effective approach is to exclude folders that don't need indexing from Spotlight. Go to System Settings > Spotlight (Siri & Spotlight on older macOS), click Search Privacy (Spotlight Privacy), and add large directories like developer build folders, virtual machines, or media libraries. You can also temporarily pause indexing with 'sudo mdutil -i off /' though this disables Spotlight search.
CoreLock's scan of running apps, network, permissions, startup items, AI agents and Downloads is free, with no account.
Apple silicon build 2.0.7 · Intel Mac?
For your Mac, not this phone ·
Count which apps can record your screen, use your mic or camera, or read your files, and get a free 0–100 estimate in your browser.
Estimate your Security ScoreFree · Calculated in your browser