mdworker (Metadata Worker) is a safe macOS storage process. 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 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.
Metadata Worker
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 to System Settings > Siri & Spotlight > 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.
CoreLock monitors Spotlight indexing health and can detect when mdworker processes are stuck in crash loops. It identifies the specific files or importer plugins causing problems and helps you resolve indexing issues that degrade system performance.
Download CoreLock Freemds_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 in real time. It maintains a persistent log ...
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. Malware does not typically impersonate mdworker.
The most effective approach is to exclude folders that don't need indexing from Spotlight. Go to System Settings > Siri & Spotlight > 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.
Download CoreLock to identify suspicious processes, detect threats, and keep your Mac running smoothly.
Download CoreLock FreeAvailable for macOS and Windows