Skip to content

Guide

What is mediaanalysisd on a Mac?

mediaanalysisd is macOS looking through your photos and videos so you can search them, copy text out of them and look up what's in them. It does the work on your Mac, so it shows up as CPU use.

By the iKnowMyMac team · Updated · 4 min read

The short answer

mediaanalysisd is part of macOS. It analyses the photos and videos in your library for text (Live Text), objects, scenes and Visual Look Up, so Photos and Spotlight can search them. It gets busy after you import a lot of photos, turn on iCloud Photos, move to a new Mac or install a macOS update with new analysis models, and it mostly waits until the Mac is idle. High CPU for a few hours or days after one of those is normal. Let it finish: keep the Mac plugged in and idle with Photos closed. Quitting it only pauses the work, because macOS starts it again.

On this page

What mediaanalysisd does

mediaanalysisd belongs to the MediaAnalysis part of macOS. It reads each photo and video once and stores what it found, so later searches are instant. It's a system process and runs from /System/Library/PrivateFrameworks.

  • Search in Photos and Spotlight

    What mediaanalysisd works out
    Objects and scenes, so a search for “beach” or “dog” finds the right photos.
  • Live Text

    What mediaanalysisd works out
    Text inside photos and video frames, so you can select and copy it.
  • Visual Look Up

    What mediaanalysisd works out
    Plants, animals, landmarks and artwork it can tell you more about.
  • Memories and suggestions

    What mediaanalysisd works out
    Shared with photoanalysisd, which handles people and pets.
What the analysis is used for

Why mediaanalysisd is using so much CPU

It works through everything that hasn't been analysed yet, so busy spells follow anything that adds a lot of new work:

  • Importing a lot of photos or videos at once.
  • Turning on iCloud Photos, when the library downloads to this Mac.
  • Setting up a new Mac or restoring a library from a backup.
  • A macOS update that brings new analysis models, so the whole library is read again.

Apple says this kind of Photos analysis happens while you aren't using the app and can take up to a few days on a large library. A Mac that's rarely left idle takes longer to get through it.

How to check it

mediaanalysisd and the other Photos processes, by CPU
top -l 2 -o cpu -n 30 -stats pid,command,cpu,time | grep -E "mediaanalysisd|photoanalysisd|photolibraryd"

In Activity Monitor, open the CPU tab and type “analysis” in the search field. The % CPU column is how busy it is now and CPU Time is how long it has worked in total. A large CPU Time that stops growing means it has finished.

Is it safe to quit mediaanalysisd?

Yes, but it doesn't help. Quitting it from Activity Monitor breaks nothing, and macOS starts it again the next time there's work to do. The library still has to be analysed, so quitting only makes it take longer.

How to get it to finish

  1. Close Photos and leave the Mac idle and plugged in for a few hours. Analysis waits while you use the Mac, and runs much faster when it's idle.
  2. Give a large library a few nights. Leaving the Mac awake and plugged in overnight is often enough.
  3. If it stays busy for days with no new photos, restart once and leave it idle for an hour.
  4. If it still never settles, the library may be damaged. Back it up, then hold Command and Option while you open Photos to run the Repair Library tool.

The faster way: “What is this?” in iKnowMyMac

iKnowMyMac groups the Photos background processes under Photos, adds up their CPU, and explains in one line what they're doing, whether they're safe to quit, and what helps.

FAQ

Questions

Something else? support@iknowmymac.com

Is mediaanalysisd a virus?

No. It's part of macOS and lives in /System/Library/PrivateFrameworks. Apple signs it, and System Integrity Protection stops other software from changing it.

Can I turn mediaanalysisd off?

Not in System Settings. You can't remove a system process, and stopping it only delays the analysis. Letting it finish once is the quickest way to make it go quiet.

What's the difference between mediaanalysisd and photoanalysisd?

photoanalysisd recognises people and pets and builds Memories. mediaanalysisd reads photos and videos for text, objects, scenes and Visual Look Up. They often run at the same time after a big import.

Know why your Mac is slow.

macOS 15 Sequoia or later · Apple silicon. A 11.5 MB native app, notarized by Apple. No account, no analytics, no telemetry.

One-time purchase · every feature · 14-day refund