What is corespotlightd on Mac? Spotlight for apps
Safe to quit? SometimesMade by Applecorespotlightd
corespotlightd adds content from apps such as Mail and Notes to Spotlight search. Why it uses CPU or memory and how to calm it down safely.
corespotlightd is the macOS service that adds content from apps, such as emails, notes and messages, to Spotlight search. It is made by Apple, it is not a virus, and it runs under your user account whenever an app has something new to make searchable.
High CPU from it means an app is handing Spotlight a lot of items at once. It usually settles when that app has caught up.
What corespotlightd does
Spotlight indexes two kinds of things. Files on disk are handled by mds and its mdworker_shared workers. Content that lives inside an app, such as a message in Mail or a note, is different: the app itself describes each item and passes it to Spotlight.
Apple's developer framework for that is Core Spotlight, and corespotlightd is the service that receives those items, stores them and returns them when you search. Apple's own apps use it, and so can any third-party app.
You may see related processes nearby. On the Mac we checked, Mail's Spotlight index extension was running alongside corespotlightd, together with spotlightknowledged and managedcorespotlightd. The process called simply Spotlight is the search bar you open with Command-Space.
Is corespotlightd a virus?
No. The real one runs from:
/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/corespotlightd
To check where the running copy lives, use Terminal. This only reads:
ps -Ao pid,comm | grep corespotlightd
To check its signature:
codesign -dvv /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/corespotlightd 2>&1 | grep -E "Identifier|Authority"
A genuine copy shows:
Identifier=com.apple.corespotlightd
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA
The file sits on the sealed system volume, which macOS verifies at startup. A process with this name in any other location is not Apple's. The guide to checking a Mac for malware covers the next steps.
Why corespotlightd uses high CPU or memory
It gets busy when an app adds or changes many searchable items:
- After a macOS update, when apps may refresh what they have given Spotlight.
- After setting up an account, such as a new Mail account downloading years of messages.
- After importing data into a notes, contacts or document app.
- An app stuck in a loop, re-adding the same items again and again. This is a bug in that app, and updates often fix it.
Its memory use grows with how many items it holds and how much it is doing at that moment.
What is normal
Most of the time corespotlightd uses little or no CPU. A spell of heavy work after a big import or an update is expected. Constant high use for days, with no new mail or data, points to an app that keeps re-indexing.
How to fix high corespotlightd CPU
- Wait. If you have just added an account or imported data, let it finish while the Mac is awake and on power.
- Restart. Apple menu > Restart clears a stuck session.
- Find the app. Think about what changed: a new Mail account, a freshly installed note app, an app that updated today. Quit that app for a while and see whether corespotlightd settles.
- Update the app and macOS. System Settings > General > Software Update, plus the App Store or the app's own updater.
- Rebuild Spotlight's index if search results are wrong. Apple's method is in About Spotlight indexing. Expect a busy period afterwards.
- Exclude folders you never search, which cuts the overall indexing load. Apple explains how in preventing Spotlight searches in files.
What not to do
- Do not delete Spotlight data inside /System or the hidden index folders. Use Apple's rebuild method.
- Do not turn off System Integrity Protection. SIP protects /System and plays no part in indexing speed.
- Do not repeatedly force quit it. macOS starts it again the next time an app asks.
How to see corespotlightd in Activity Monitor
- Open Activity Monitor from Applications > Utilities.
- Choose View > All Processes.
- Type spotlight in the search field to see corespotlightd, the Spotlight bar and related helpers together.
- Check the CPU and Memory tabs. The CPU guide explains each column.
- Double-click corespotlightd and open Open Files and Ports to see its program file and the data it has open.
How Headroom helps
corespotlightd belongs to macOS, so Headroom's Speed screen does not list it. It lists the apps you installed instead, with every helper counted as part of its app, so a third-party app busy feeding Spotlight can show up near the top. Apple's own apps, such as Mail, are left out too. You also get live CPU, memory pressure and whether the Mac is running cool, warm or hot. The Speed screen, including each app's Quit button, is free.
Download Headroom, see the Mac performance monitor, or view the price.
Questions
What is corespotlightd?
It is the macOS service behind Core Spotlight, which lets apps add their own content, such as emails, notes or messages, to Spotlight search. It runs under your user account and is part of macOS.
Is corespotlightd the same as the Spotlight process?
No. The process called Spotlight is the search bar you open with Command-Space. corespotlightd stores content that apps hand to Spotlight, while mds and its workers index your files.
Why is corespotlightd using high CPU?
An app is adding or updating a lot of searchable items. That often follows a macOS update, setting up a new Mail account, or an app rebuilding its own search data.
Is it safe to force quit corespotlightd?
It does no lasting harm, as macOS starts it again when an app needs it, but it rarely helps. Waiting, restarting the Mac or updating the app doing the indexing works better.