What is mdworker_shared on Mac?
By Junaid, maker of Taskglass · Last reviewed
Spotlight indexing worker; modern macOS runs several at once to read files for search.
mdworker_shared is the form of the Spotlight worker that current macOS mostly uses. Spotlight starts these workers to read different kinds of files and extract text and details for search. You'll often see several at a time, and they come and go as needed.
- Category
- Apple service
- Made by
- Apple
- Safe to quit:
- With care
Shown in Activity Monitor as mdworker_shared
Also searched as “mdworker shared”.
Why is mdworker_shared using so much CPU or memory?
- Indexing after a macOS update, migration or new drive
- Many new or changed files, like downloads, photos or code
- Large or complex documents
What to do
- 1Let indexing finish with the Mac on and plugged in
- 2Exclude folders you never search in System Settings > Spotlight > Search Privacy
- 3Restart your Mac if they stay busy for days
Safe to quit? With care.
Spotlight starts new workers as needed; quitting one doesn't stop indexing.
Typical CPU and memory use
Rough ranges on Apple Silicon Macs. Yours will vary.
- CPU
- 0% when idle; can be 10–100% each while indexing
- Memory
- 10–100 MB each
Measured on an Apple M4 Mac running macOS 27.0.1 on November 17, 2026, during normal use:
mdworker_shared: 21 MB of memory (largest of 7 copies), running as your user account
Resident memory from ps at one moment. It changes with what you're doing.
Is it genuine? How to check
Malware sometimes borrows the name of a real process. The real one runs from a fixed place and carries its maker's code signature, so check both.
mdworker_shared
- Location
- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mdworker_shared
- Part of
- CoreServices (a macOS framework)
- Signed by
- Apple (part of macOS)
- Started by
- launchd job
com.apple.mdworker.shared(user agent, started on demand)
Check the signature in Terminal:
codesign -dv --verbose=2 "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mdworker_shared"
The genuine file prints these lines:
Identifier=com.apple.mdworker_shared Authority=macOS Software Signing TeamIdentifier=not set
To see where the running copy lives, run this in Terminal and compare the path:
ps -axo pid,user,comm | grep -F mdworker_shared
In Activity Monitor: select the process, click the Info button (ⓘ), then Open Files and Ports. The first line is the program's path.
Paths and signatures checked on macOS 27.0.1 (26A434), Apple M4, November 17, 2026. Other macOS versions can differ.
How to restart mdworker_shared
Quit it in Activity Monitor, or run killall mdworker_shared in Terminal. Launchd starts it again the next time an app or macOS asks for it: it is the launchd job com.apple.mdworker.shared (an agent in your user session), defined in /System/Library/LaunchAgents/com.apple.mdworker.shared.plist.
Related processes
- mdworkerA Spotlight worker that reads files and extracts searchable details for the index.
- mdsThe Spotlight metadata server: coordinates indexing so you can search your Mac instantly.
- mds_storesMaintains Spotlight's search index on disk, updating it as files change.
- corespotlightdIndexes content that apps share with Spotlight, like emails, notes and messages.
- fseventsdRecords which folders have changed so apps like Spotlight and Time Machine can react.
- mediaanalysisdAnalyses images and video for features like Live Text, Visual Look Up and photo search.
Part of the Taskglass Process Library · More Apple service processes