What is mediaanalysisd on Mac? High CPU explained

Safe to quit? SometimesMade by Applemediaanalysisd

mediaanalysisd is an Apple process that analyses photos and videos on your Mac. What it does, how to check it is genuine, and how to calm it.

Updated 16 November 2026 · 4 min read

mediaanalysisd is a macOS process that analyses photos and videos on your Mac, the kind of work that lets the system recognise faces, scenes and text in your pictures. It is made by Apple, it is not a virus, and high CPU from it usually means it has a pile of new images or videos to get through.

Apple does not publish a manual page for it, so this page sticks to what can be checked on a Mac and says so where details are uncertain.

What mediaanalysisd does

mediaanalysisd belongs to MediaAnalysis, one of Apple's private frameworks, so it is a building block of macOS rather than an app. On the Mac we checked (macOS 15.5), the program contains code for face and scene analysis, text recognition, video analysis, captions and visual search. Apple's own apps use that kind of analysis for things such as searching your Photos library by what is in a picture.

It works alongside photoanalysisd, which Apple describes as the photo library analysis agent for Memories, People and search. If both are busy at once, Photos is probably processing a batch of new pictures.

It runs under your own user account, started on demand by macOS, and on the Mac we checked it held about 11 MB of memory while idle.

Is mediaanalysisd a virus?

No. The real program lives at:

/System/Library/PrivateFrameworks/MediaAnalysis.framework/Versions/A/mediaanalysisd

To see where the running copy is, use Terminal. This only reads:

ps -Ao pid,comm | grep mediaanalysisd

To check the signature:

codesign -dvv /System/Library/PrivateFrameworks/MediaAnalysis.framework/Versions/A/mediaanalysisd 2>&1 | grep -E "Identifier|Authority"

A genuine copy shows:

Identifier=com.apple.mediaanalysisd
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA

The file sits on the sealed system volume, which macOS checks at startup, so an app cannot quietly swap it. If you find a process with this name outside /System, read the guide to checking a Mac for malware.

Why mediaanalysisd uses high CPU or energy

Analysing images and video is heavy work, and mediaanalysisd gets busy when there is a lot of it:

  • Importing many photos or videos into Photos.
  • Turning on iCloud Photos, which brings a whole library onto the Mac.
  • Migrating to a new Mac, or restoring a library from a backup.
  • A macOS update, after which some analysis may run again.

Video takes longer than still photos, so a library with lots of clips keeps it busy for longer. On a MacBook it shows in the Energy tab while it works.

What is normal

Little or no CPU most of the time, with busy spells after imports or updates. Apple says People and pets detection in Photos happens while you are not using the app and can take up to a few days on a big library, as described in finding pets in People & Pets. Constant high CPU for weeks on a library that has not changed is worth looking into. A long analysis run can also warm the Mac enough to push kernel_task up the CPU list, which is macOS cooling the chip rather than a second problem.

How to calm mediaanalysisd down

  1. Let it finish. Quit Photos and leave the Mac on power, for example overnight.
  2. Restart. Apple menu > Restart clears a run that seems stuck.
  3. Check iCloud Photos status. In Photos, click Library, choose All Photos and scroll to the bottom. Apple's guide to checking library status shows where syncing can be paused for a while.
  4. Look after the library. If analysis starts over and over without progress, Apple's Photos library repair guide explains the repair tool. Back up the library first.
  5. Install updates. System Settings > General > Software Update. Bug fixes for background processes arrive this way.

What not to do

  • Do not delete mediaanalysisd or its framework. It lives in /System, which System Integrity Protection protects, and features that depend on it would break.
  • Do not turn off SIP to try to stop it. That weakens your Mac's protection and does not solve the backlog.
  • Do not keep force quitting it. The work resumes later and takes longer overall.

How to see mediaanalysisd in Activity Monitor

  1. Open Activity Monitor from Applications > Utilities.
  2. Choose View > All Processes.
  3. Type analysis in the search field to see mediaanalysisd and photoanalysisd together.
  4. Use the CPU tab for processor time and the Energy tab for its effect on battery.
  5. Double-click it and open Open Files and Ports to see its program file and what it is reading.

How Headroom helps

mediaanalysisd is part of macOS, so it never appears in Headroom's Speed list, which shows the apps you installed with their helpers added up. The Speed screen still tells you what you need to know: how busy the whole Mac is, memory pressure, and whether it is running cool, warm or hot. On a MacBook, the Battery screen shows what is using energy and a week of charge history. Both screens are free.

Download Headroom, see the Mac performance monitor, or check the price for the clean-up tools.

Questions

What is mediaanalysisd?

It is part of Apple's MediaAnalysis framework in macOS. It analyses images and videos, for example to recognise faces, scenes and text, which features in Photos and elsewhere rely on.

Is mediaanalysisd a virus?

No. The real one runs from /System/Library/PrivateFrameworks/MediaAnalysis.framework and is signed by Apple. A copy anywhere else would be suspicious.

Why is mediaanalysisd using so much CPU?

It has a backlog of photos or videos to analyse, typically after a large import, turning on iCloud Photos, or a macOS update. It eases off once it catches up.

Can I force quit mediaanalysisd?

It does no lasting harm, but macOS starts it again and the analysis carries on later. Letting it finish while the Mac is idle is the better option.