What is photoanalysisd, and why is it using so much CPU on my Mac?
Last reviewed: 19 November 2026. Path, launchd job and man page checked on macOS 26.3.1.
photoanalysisd is the photo library analysis agent in macOS: it processes your Photos library in the background for Memories, People and searching by scene or object. It uses a lot of CPU after you import many photos or turn on iCloud Photos, and its heavy tasks run only when the Mac is on power. It is part of macOS and safe; the quickest way through is to leave the Mac plugged in so it can finish.
photoanalysisd at a glance
| photoanalysisd | |
|---|---|
| Made by | Apple (part of macOS, Photos) |
| Type | Launch agent (background process for your user) |
| Location | /System/Library/PrivateFrameworks/PhotoAnalysis.framework/Versions/A/Support/photoanalysisd |
| Runs as | your user |
| Started by | launchd job com.apple.photoanalysisd |
| Can you quit it? | Yes, but launchd runs it again at its next scheduled time and the analysis resumes. |
What is photoanalysisd?
Its man page says photoanalysisd handles background processing of photo libraries for Memories, People, and scene or object based search. It builds the information Photos uses to suggest Memories and featured photos, group faces in People & Pets, and answer searches such as "beach" or "dog".
Its launchd job defines about ten background tasks, run between every two hours and once a day. All of them require external power, most are marked resource intensive, and they may run during Power Nap. Its main analysis task starts only after mediaanalysisd has finished analyzing faces, so the two often appear together.
Is photoanalysisd safe?
Yes. photoanalysisd is in the PhotoAnalysis framework on the read-only system volume and runs as your user. Apple's machine learning research describes the People feature as running privately on the device.
Why does photoanalysisd use so much CPU, energy and memory?
- A large import or a new library. Every new photo and video is analyzed. Importing thousands of items, or opening a library on a new Mac, queues a lot of work.
- iCloud Photos downloading items. Turning on iCloud Photos brings in photos from other devices, and each one is analyzed on this Mac as it arrives.
- Work saved for when the Mac is plugged in. Its tasks require external power, so on a laptop analysis happens in long runs whenever you plug in, often when you are not using the Mac.
- Building the knowledge graph. Memories and People are built from relationships between photos, people, places and dates. On a large library this uses a lot of memory while it runs.
How much CPU is normal for photoanalysisd?
Hours of high CPU after a big import or a new library are expected, especially on large libraries. Once analysis has caught up, it runs in short sessions while the Mac is on power and typically sits idle otherwise.
How do you stop photoanalysisd from using so much CPU?
- Leave the Mac on power. Because its tasks require external power, plug in a laptop and leave it awake, for example overnight. Apple's research article says People clustering typically runs overnight while the device is charging.
- Keep Photos open for a while. Leave Photos open with nothing else heavy running, so the analysis can make progress.
- Import in smaller batches. Importing a few thousand items at a time, instead of a whole archive, spreads the work over several sessions.
- Check progress in People & Pets. In Photos, click Collections in the sidebar, then click People & Pets. New faces appearing there show that analysis is moving.
When should you worry about photoanalysisd?
Look closer if photoanalysisd runs at high CPU for many days with no new photos and the library has had time to catch up. Quitting Photos and restarting the Mac is the first step; if Photos also shows errors, Apple's Photos Repair Library tool checks the library (back it up first).
On battery, it should not run its heavy tasks; if it does, check whether the Mac is in fact connected to power.
How do you check photoanalysisd in Activity Monitor and Terminal?
Open Activity Monitor (Applications > Utilities), and type photoanalysisd in the search field. The CPU tab shows its % CPU. The Energy tab shows its Energy Impact. The Memory tab shows its Memory. Double-click the row for its parent process, memory details and open files.
In Terminal, the first command lists every photoanalysisd process with its PID, user, CPU and memory (RSS is resident memory in kilobytes).
ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'photoanalysisd' | grep -v grep
pmset -g assertions # shows processes keeping the Mac awake
How can Thrum help with photoanalysisd?
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 photoanalysisd 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 photoanalysisd 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 photoanalysisd
Can I turn off photoanalysisd?
There is no setting that turns it off. It stops working when its tasks are done, and it works only on libraries you use with Photos.
Does photoanalysisd upload my photos?
No. Uploading is cloudphotod's job and happens only with iCloud Photos on. photoanalysisd analyzes the library on the Mac.
What is the difference between photoanalysisd and mediaanalysisd?
mediaanalysisd runs the image and video analysis, such as finding faces. photoanalysisd uses those results to build Memories, People and search.
Sources
- photoanalysisd(8) man page: run man photoanalysisd in Terminal
- Apple Machine Learning Research: Recognizing People in Photos Through Private On-Device Machine Learning
- Apple Support: Find and name photos of people and pets on Mac
- Apple Support: How to use the Photos Repair Library tool on your Mac