Skip to content
Help

photoanalysisd and mediaanalysisd using a lot of CPU

Photos is scanning your library for people, places and text. When it happens, how long it takes, and how to let it finish.

The short answer

photoanalysisd and mediaanalysisd are Photos looking at your pictures and videos: finding people, places, pets, text and objects, so search and Memories work. After an import or setting up iCloud Photos on a Mac, they can work for hours or days. They finish by themselves and back off while you use the Mac.

What they do

  • photoanalysisd groups your library into people, places and Memories.
  • mediaanalysisd looks inside photos and videos for search, the text in them (Live Text) and Visual Look Up, and also handles pictures in other apps.

Why they are busy now

Each new photo or video is analysed once. They get busy after you import many pictures, sign in to iCloud Photos on a Mac (which downloads and analyses the whole library), or after a macOS update brings new kinds of analysis that run over the library again. A big library can take several days to get through.

What helps

  1. Leave the Mac on and plugged in, awake, while you are not using it, for example overnight. Most of the work happens when the Mac is idle.
  2. On a laptop, keep it plugged in: on battery the work slows down or waits.
  3. Give it a few days after a large import. Once the library is done, it only handles new pictures.

When this heats the Mac, MyMacFriend's Health tab says it is macOS catching up and that it finishes by itself, instead of treating it as a runaway app.

Can I quit them?

Yes, it is safe: macOS starts them again, and they carry on later. Quitting only postpones the work, so it is better to let it finish once.

When to worry

If they keep the processor busy for more than a week with no new pictures added, restart the Mac and install pending macOS updates. A library that is damaged can keep them going: Photos can repair it if you hold Option and Command while opening Photos.

Free, small and private

Under 10 MB to download, for Apple silicon and Intel Macs on macOS 15 or later. Everything stays on your Mac.