What is mediaanalysisd, and why is it using so much CPU on my Mac?
Last reviewed: 19 November 2026. Path and launchd job checked on macOS 26.3.1.
mediaanalysisd is the macOS daemon that analyzes the content of images and videos, for example finding faces in your Photos library. It runs in the background, mostly while you are not using the Mac, and uses a lot of CPU after you add many photos or videos. It is part of macOS and safe; letting it finish is the fix.
mediaanalysisd at a glance
| mediaanalysisd | |
|---|---|
| Made by | Apple (part of macOS, Media Analysis) |
| Type | Launch agent (background process for your user) |
| Location | /System/Library/PrivateFrameworks/MediaAnalysis.framework/Versions/A/mediaanalysisd |
| Runs as | your user |
| Started by | launchd job com.apple.mediaanalysisd |
| Can you quit it? | Yes, but launchd starts it again for its next scheduled run or when an app asks for analysis. |
What is mediaanalysisd?
mediaanalysisd belongs to Apple's private MediaAnalysis framework and has no man page. Its launchd job offers services for Photos, for video sessions, for HomeKit, for a compute service and an embedding store, and a store named for a visual index. Photos' own analysis agent, photoanalysisd, waits for mediaanalysisd's face analysis of the library before it runs its main task.
launchd runs its background scheduler about once an hour, only while you are not using the Mac. Unlike photoanalysisd, that scheduler does not require external power, so it can also run on battery.
Is mediaanalysisd safe?
Yes. It is in the MediaAnalysis framework on the read-only system volume and runs as your user. Apple's research on Photos describes face recognition as running on the device, not on Apple's servers.
Why does mediaanalysisd use so much CPU?
- New photos and videos. Each new photo and video in your Photos library is analyzed once, so a large import queues a lot of work.
- Idle time. Its scheduler runs when the Mac is not in use, so you may see it start as soon as you step away and stop when you come back.
- A short start-up task. Its launchd job also has a one-off task named preheat that may run soon after it is scheduled, without waiting for the Mac to be idle, and is allowed during Power Nap.
How much CPU is normal for mediaanalysisd?
Long runs of high CPU after adding many photos or videos are normal. Once it has caught up, it typically runs briefly when new media arrives and idles otherwise.
How do you stop mediaanalysisd from using so much CPU?
- Leave the Mac idle and awake. Its scheduled work waits for user inactivity. Leaving the Mac awake and unused, ideally on power, lets it catch up faster.
- Add photos and videos in batches. Large imports queue hours of analysis. Smaller batches spread it out.
- Let photoanalysisd follow. After mediaanalysisd finishes faces, photoanalysisd runs its own tasks when the Mac is on power. Both settle once the library is caught up.
When should you worry about mediaanalysisd?
Look closer if mediaanalysisd stays at high CPU for days while you are using the Mac and no new photos or videos are arriving. Restarting the Mac is the first step; if the pattern continues, report it to Apple with Feedback Assistant.
How do you check mediaanalysisd in Activity Monitor and Terminal?
Open Activity Monitor (Applications > Utilities), and type mediaanalysisd in the search field. The CPU tab shows its % CPU. Double-click the row for its parent process, memory details and open files.
In Terminal, the first command lists every mediaanalysisd process with its PID, user, CPU and memory (RSS is resident memory in kilobytes).
ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'mediaanalysisd' | grep -v grep
How can Thrum help with mediaanalysisd?
Thrum keeps a live CPU graph in the menu bar. One click shows the eight processes using the most CPU, so you can see when mediaanalysisd is among them and how much it takes. An optional alert tells you when a process stays above a CPU level you choose (50 to 200% of one core) for 1 to 10 minutes. Click mediaanalysisd in the list for its PID, threads and memory, and Quit or Force Quit it after a confirmation.
Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.
Questions about mediaanalysisd
Can I turn off mediaanalysisd?
macOS has no setting to turn it off. It does its work once per item, so the load falls when your library is fully analyzed.
Does mediaanalysisd send my photos to Apple?
Apple describes face recognition in Photos as running entirely on the device. Uploading photos is cloudphotod's job and only happens with iCloud Photos on.
Sources
- launchd job: /System/Library/LaunchAgents/com.apple.mediaanalysisd.plist
- Apple Machine Learning Research: Recognizing People in Photos Through Private On-Device Machine Learning