mediaanalysisd on Mac: what it is, why it is high, what to do
mediaanalysisd is macOS looking through your photos and videos so you can search for what is in them: "dog", "beach", text in a screenshot. It powers Visual Look Up and Live Text. It runs when the Mac is idle, usually around 100 percent of one core, and stops when the library is done: an hour or more after a big import, up to a day or two for tens of thousands of items. The safe fix is to plug in, leave the Mac awake overnight, and let it finish. Still at 100 percent after a week? That is a bug, usually triggered by a network drive full of images.
- What it is
- The on-device analysis engine behind Visual Look Up, Live Text and object search in Photos, Finder and Safari.
- Normal
- 50 to 150 percent CPU while idle after an import or update, then near zero. Often an hour or more for a big library.
- Not normal
- 100 percent every day for weeks, or a cache in ~/Library/Caches/com.apple.mediaanalysisd of tens of GB.
- Safe to quit?
- It restarts and resumes. Harmless, pointless.
- The one safe fix
- Open Photos, or plug in and leave the Mac awake overnight so it can finish.
- Runs on battery?
- Yes, since Ventura it can analyze on battery too, which is why it shows up in battery drain complaints.
What mediaanalysisd does
Every time you point at a photo and macOS offers to tell you what the flower is, copy the text out of a screenshot, or find "receipts" in Photos without you ever tagging anything, that is the result of mediaanalysisd having looked at the image earlier. It runs machine-learning models on the device, not in the cloud, which is good for privacy and bad for your CPU: the work has to happen somewhere, and that somewhere is your Mac.
It analyzes the Photos library first, but not only that. Images in Finder that you preview, videos, screenshots, and on recent versions anything on a mounted volume that Spotlight can reach can be handed to it. It is a sibling of photoanalysisd, which handles faces, scenes and Memories inside Photos specifically. The two often run together after an import, which is why people see both near the top of Activity Monitor and assume something is broken.
It keeps a cache of what it has already analyzed in ~/Library/Caches/com.apple.mediaanalysisd so it does not repeat work. When that cache is behaving, it stays small. When it is not, it is one of the clearer signs something is wrong, as the section on when to worry explains.
Why mediaanalysisd is using CPU right now
- You imported photos or videos. A camera card, a phone backup, a folder of scans. Each new item gets analyzed once. Video takes far longer than stills.
- You updated macOS. New versions ship new models, and the library gets re-analyzed with them. Expect a busy day or two after a major update.
- iCloud Photos finished downloading. On a new Mac, the library arrives over hours, and analysis follows.
- The Mac went idle. This one surprises people. It is scheduled to run when you are not using the Mac. One user described it starting "after about 10 minutes of no interaction, using about 130% of the processor." You walk back to a warm laptop and assume it was busy the whole time.
- A network or external drive with lots of images. On Tahoe in particular, people have reported that attaching a NAS or a large external volume sends it into analysis of everything it can see, which never seems to end.
- A bug in a specific version. Sequoia 15.1 had a well-documented case where the cache folder grew to tens or hundreds of GB and the daemon stayed busy. Paul Hudson reported it "regularly been sitting on ~100% CPU for over a week now."
The first four settle. The last two are what the long forum threads are about.
What normal looks like, and what is not
How much work is left is the only thing that matters. Here is how long analysis typically takes on an Apple silicon Mac, plugged in and idle:
The healthy pattern: high while idle, drops to nothing when you start working, and over a few days the idle bursts get shorter until they stop. The stuck pattern: the same 100 percent every idle period, week after week, while Photos says it has finished. A Catalina user caught exactly that contradiction: "This is clearly a bug and is not working as intended, especially because Photos says it has concluded its face-searching."
Second check: Finder, ⇧⌘G, paste ~/Library/Caches/com.apple.mediaanalysisd, Get Info. A few hundred MB is fine. Tens of GB is the Sequoia bug; one report put it at "no less than 143GB" for a 27 GB photo library.
Is it safe to quit mediaanalysisd?
Yes, in the sense that nothing breaks. It restarts on its own and picks up where it stopped. No, in the sense that it achieves nothing: the queue of unanalyzed items is still there, and it will try again the next time the Mac is idle. Quitting it every evening is a ritual, not a fix.
What you should not do is the Terminal advice in older threads: unloading its launch agent needs System Integrity Protection off and comes back after every update. The decision tree below is the general rule.
For this process the useful lever is not quitting. It is deciding when it runs (give it a night on power) and what it can see (unplug the drive full of images).
What to do, in order
- Open Photos
While Photos is open in front of you, background analysis pauses so the app stays responsive. If you need the Mac quiet for a video call or a deadline, leave Photos open and the daemon backs off. This is the one-click option in the KB for a reason.
- Plug in and leave it awake overnight
Connect power, turn off sleep for the night (System Settings, Lock Screen, set "Turn display off when inactive" and let the Mac stay awake, or just leave the lid open), and let it work. 9to5Mac's advice for the macOS 26.5 version of this problem was the same: "connect to power overnight and let the machine get on with it."
- Unplug external and network drives full of images
If analysis started when you attached a NAS, a photo archive drive or a camera card, eject it and watch Activity Monitor for ten minutes. If CPU drops, add that volume to Spotlight's Search Privacy list (System Settings, Spotlight) so it stays out of reach.
- Check Photos is not stuck itself
Open Photos and scroll to the bottom of the Library view. It shows what it is doing: "Analyzing", "Updating" or nothing. If it says it is finished but mediaanalysisd still burns CPU for days, you are in bug territory. Restart first.
- Restart
Clears a daemon stuck on one corrupt video. If the next idle period is quiet, done.
- Update macOS
The worst versions of this (the Sequoia 15.1 cache growth) were fixed in later point releases. System Settings, General, Software Update.
- Reduce what Photos analyzes
In Photos, Settings, General, you can turn off Memories and Featured Photos and Siri suggestions. This trims the related work but does not stop Visual Look Up analysis. It is a small help, not a switch.
When to worry
mediaanalysisd is never a security problem and does not touch your photos themselves; it only reads them. The side effects are what deserve attention:
- Battery. Since Ventura it runs on battery too. If your MacBook loses 20 percent in an hour in your bag, this and photoanalysisd are the first suspects. The fix is to let it finish on power.
- Disk space. A cache folder in the tens of GB is the Sequoia bug. Updating macOS is the supported fix; the folder is safe to leave.
- Heat. Sustained analysis brings in kernel_task throttling on a laptop. Not harmful, but a sign to give it a night on a desk rather than a duvet.
- More than a week with nothing new. Then it is looping, and the usual cause is a volume it can see but never finishes: a NAS, an external archive. Unplug or exclude it. Safe to Quit records how many hours per day each process ran, so you can tell "finished on Tuesday" from "runs every night" without checking Activity Monitor at 2 a.m.
What is not a worry: an hour at 130 percent the evening after you imported a holiday's worth of video. That is the feature working.
What people hit, in their words
“mediaanalysisd grinds my system to a halt.”
“This is clearly a bug and is not working as intended, especially because Photos says it has concluded its face-searching.”
“mediaanalysisd has regularly been sitting on ~100% CPU for over a week now.”
“On my machine, com.apple.mediaanalysisd is using no less than 143GB.”
Questions people ask
How do I turn off mediaanalysisd on my Mac?
There is no supported switch. It is part of macOS and comes back after every update, and the Terminal methods in old threads require turning off System Integrity Protection, which is a bad trade for a background job that finishes on its own. What you can do: open Photos to pause it while you work, let it finish overnight on power, exclude external drives in Spotlight's Search Privacy, and turn off Memories and Siri suggestions in Photos settings to trim related work.
Why is mediaanalysisd using so much memory on my Mac?
It loads machine-learning models and the image it is working on into memory, so 500 MB to 2 GB during a run is normal, especially with video. The memory is released when it finishes. If it holds many GB for days, or the cache folder in ~/Library/Caches/com.apple.mediaanalysisd is in the tens of GB, you are seeing the bug that affected Sequoia 15.1; a restart clears the memory and a macOS update is the lasting fix.
What can I quit on a Mac Activity Monitor?
Apps you recognize and their helper processes. Background analysis jobs like mediaanalysisd and photoanalysisd can be quit without harm but restart and resume, so there is little point. System daemons owned by root, WindowServer and kernel_task should be left alone: quitting them fails, logs you out or restarts them. When in doubt, quit the app rather than the process underneath it.
Why is my CPU load so high on my Mac when idle?
Because several macOS jobs are designed to wait until you stop using the Mac: photo and media analysis, Spotlight indexing, iCloud sync, Time Machine, and the daily XProtect malware scan. Sort Activity Monitor by % CPU with All Processes shown. If the top entry is mediaanalysisd, photoanalysisd, mds_stores or corespotlightd, it is doing deferred work and will stop. If the top entry is kernel_task, the Mac is hot.
Does mediaanalysisd run on battery?
Yes. Before Ventura, media analysis waited for mains power; since Ventura it can run on battery when the Mac is idle, which is why it appears in battery drain complaints. If you want to control when it runs, keep the Mac on power during the day after a big import so it finishes there, and it will have nothing left to do when you unplug. Closing the lid stops it entirely.
Sources and further reading
- mediaanalysisd using 95 percent CPU for weeks, Apple Community
- mediaanalysisd cache and CPU reports, Michael Tsai collects the Sequoia cache-growth reports and Paul Hudson's week-long 100 percent
- Mac beachballs or lagging performance? AI photo scanning may be the reason, 9to5Mac the macOS 26.5 version of the problem and the plug-in-overnight advice
- com.apple.mediaanalysisd files filling drive in macOS 15.1, Apple Community
- mediaanalysisd starts after 10 minutes idle, Apple Community