photoanalysisd on Mac: what it is, why it is high, what to do
photoanalysisd is the Photos app scanning your library for people, pets, scenes and the moments that become Memories. It runs in the background when the Mac is idle and, by Apple's design, pauses while Photos is open in front of you. A library of a few thousand items finishes in an hour or two; the old rule of thumb from Apple's forums is roughly an hour per thousand photos, so 50,000 can keep a Mac busy for days of idle time. To quiet the Mac now, open Photos. To get it done, plug in overnight.
- What it is
- The Photos library analysis agent: faces, people, scenes, objects, and the selection behind Memories.
- Normal
- 70 to 100 percent of one core while idle after an import, update or new sign-in, then nothing.
- Not normal
- High every night for weeks after Photos says analysis is complete, or busy when the library has not changed.
- Safe to quit?
- Restarts and resumes. Harmless, pointless.
- The one safe fix
- Open Photos to pause it. Plug in and leave the Mac awake overnight to finish it.
- Rough pace
- About an hour per thousand photos on older Macs, faster on Apple silicon; video is much slower.
What photoanalysisd does
Open Photos, click People & Pets, and you see faces grouped without having tagged anyone. Type "beach" or "birthday cake" in search and the right pictures appear. Memories assembles a slideshow of a trip you forgot. None of that is stored in the photo files; it is computed, on your Mac, by photoanalysisd. Its own manual page says it "handles background processing of photo libraries for Memories, People and scene or object based search."
It is one of a pair. mediaanalysisd runs the general-purpose image models behind Visual Look Up and Live Text across the whole system; photoanalysisd runs the Photos-specific work: face clustering, scene classification for search, picking the best shots for Memories and Featured Photos. After a big import you usually see both, plus photolibraryd, which manages the library database itself. Three names near the top of Activity Monitor, one job.
Two design choices explain most of what people see. It waits for idle time, so it looks like it starts for no reason ten minutes after you stop typing. And it pauses while Photos is open, which is why opening Photos to "check what is happening" makes the CPU drop and the mystery deepen.
Why photoanalysisd is using CPU right now
- New photos. You imported from a camera, a phone, or a folder, or iCloud Photos pulled down a batch. Every new item is analyzed once.
- A new Mac or a restored library. Analysis data is not synced through iCloud. A new Mac redoes the whole library from scratch, even if your iPhone already did the work. Expect days of idle time for a large library.
- A macOS update. New versions bring new models and re-run parts of the analysis across the library.
- The library was repaired or rebuilt. Holding Option and Command while opening Photos runs a repair, which discards analysis data and starts over.
- A huge library. People with 50,000 to 100,000 items underestimate the work. One Apple Community account describes a 70,000-photo library that kept a machine busy for days because Photos "goes through your library multiple times."
- A loop. Rare, but real: analysis reports complete, yet the daemon runs hard every night. Usually a corrupt item or a version bug. The Jan 2023 thread on this had users whose "CPU consumption remains very high" after turning off every related feature.
What normal looks like, and what is not
The shape of a healthy run on a MacBook that is plugged in and left alone:
- 0 minYou import 2,000 photos from a trip and go make dinner.
- 10 minThe Mac has been idle long enough. photoanalysisd and mediaanalysisd start. Fan comes on, 80 to 100 percent of a core each.
- 10 min to 2 hFaces, scenes and Memories candidates are computed. Any time you come back and open Photos, it pauses; when you leave, it resumes.
- 2 hDone for this batch. CPU back to near zero. People & Pets shows the new faces.
- Next dayQuiet. If it is still at 100 percent nightly with no new photos, something is looping.
Three things stretch the calendar time without adding work. Running on battery (older versions paused entirely on battery; newer ones throttle). Closing the lid. And opening Photos, which pauses it by design: one replier on Apple's forum put it as "while you are browsing or editing Photos, the process should not be running." If you check Activity Monitor with Photos open, you will see nothing and conclude it has finished when it has not.
The not-normal case is the repeat with no input: no new photos, Photos says analysis is complete at the bottom of the Library view, and still 100 percent every idle period for weeks. One user summarized the frustration: "These two processes consume hours of CPU-time on my machine."
Is it safe to quit photoanalysisd?
Yes, nothing breaks. It restarts a moment later and continues. It is a user-level agent, not a root daemon, so it is one of the few background processes where force quitting is genuinely harmless, which is also why it is genuinely useless: the unanalyzed items are still there.
The supported pause is opening Photos. The unsupported methods in old threads (unloading the launch agent, deleting its plist) need System Integrity Protection off and are undone by the next update. Skip them. The decision tree covers the general case:
If the real problem is that you do not want this analysis at all, you can turn off the features that depend on it in Photos settings (Memories, Featured Photos, Siri suggestions), which reduces the work, though it does not stop face detection.
What to do, in order
- Open Photos if you need the Mac quiet now
Analysis pauses while Photos is the active app. Leave it open on a second desktop during a video call or a render and the CPU is yours. Close it when you are done and analysis resumes.
- Check progress at the bottom of the Library
In Photos, click Library and scroll to the very bottom. It shows a count of items and, while working, a status line such as "Analyzing" or "Updating". If it says nothing, Photos believes it is done.
- Plug in and leave the Mac awake overnight
Connect power, leave the lid open, let the display sleep. For a big library this is the only thing that actually finishes the job. Several nights for 50,000-plus items is normal.
- Let iCloud Photos finish first
On a new Mac, analysis waits on downloads. Check Photos, Settings, iCloud for "Downloading" status. Give that a day before judging the analyzer.
- Restart
Clears a daemon stuck on one corrupt image or video. If the next idle period is quiet, done.
- Update macOS
Looping analysis has been fixed in point releases more than once. System Settings, General, Software Update.
- Repair the library, last resort
Quit Photos, then hold Option and Command while opening it and choose Repair. This rebuilds the database and restarts analysis from zero, so it costs you a full re-run. Only do it when analysis has looped for weeks and a restart and update did not help.
When to worry
photoanalysisd reads your photos; it never edits or uploads them, and it is not a privacy or security concern. The costs are indirect:
- Battery. A MacBook that drains in the bag after a photo import is usually this plus mediaanalysisd. Finish the job on power.
- Heat. Hours at 100 percent on a soft surface brings in kernel_task throttling. Desk, not duvet.
- Weeks of nightly runs with no new photos. A loop. Restart, update, then repair the library.
- Photos itself is slow or crashes. That points at photolibraryd and the library database, not the analyzer. The repair step helps there too.
Safe to Quit logs how many hours each process ran per day, so you can see the nightly runs shrinking (healthy) or staying flat (looping) instead of guessing. What is not a worry: the first few nights after a big import, however loud the fan.
What people hit, in their words
“These two processes consume hours of CPU-time on my machine.”
“I disabled all these features in Photos but CPU consumption remains very high.”
“Once the libraries are analyzed, there should not be a reason for a lot of CPU usage until more photos are added.”
Questions people ask
What is photoanalysisd on Mac?
It is the Photos library analysis agent built into macOS. It scans your photo library in the background to detect faces and pets, classify scenes and objects for search, and choose the shots that become Memories and Featured Photos. It runs when the Mac is idle and pauses while Photos is open. It is a normal part of Photos, not malware, and it stops when the library is fully analyzed.
How do I turn off photoanalysisd on my Mac?
There is no supported off switch, and the Terminal methods in older threads require disabling System Integrity Protection and are undone by updates. The supported controls are: open Photos to pause it, turn off Memories, Featured Photos and Siri suggestions in Photos settings to reduce the work, and let it finish overnight on power so it has nothing left to do. Once a library is analyzed, it only runs again for new photos.
How long does Photos take to analyze a library?
Roughly an hour per thousand photos on older Intel Macs, noticeably faster on Apple silicon, and much slower for video. A library of a few thousand items finishes in an evening; 50,000 or more can take several nights of idle time on power. It only makes progress while the Mac is awake, idle and (on older versions) plugged in, so closing the lid every night can stretch a two-hour job across a week.
Why is photoanalysisd running when my library has not changed?
A macOS update re-runs parts of the analysis with new models, a library repair discards the old data, and a new Mac starts from zero because analysis results do not sync through iCloud. If none of those apply and it still runs hard every night for weeks, it is stuck on something: restart, install the latest macOS update, then repair the library with Option and Command held while opening Photos.
Why is my Mac CPU usage so high at night?
Because macOS schedules heavy maintenance for idle time: photo analysis, media analysis, Spotlight indexing, iCloud sync, Time Machine and the daily malware scan. If you open Activity Monitor at that moment, photoanalysisd or one of its siblings is often on top. This is deferred work that stops when it finishes. The exception is kernel_task on top, which means the Mac is hot rather than busy.
Sources and further reading
- High CPU consumption for Photos processes photolibraryd and photoanalysisd, Apple Community the Jan 2023 thread with 26 Me too
- photoanalysisd pace and pause behavior, Apple Community the hour-per-thousand estimate and the pause while Photos is open
- The safest way to prevent photoanalysisd from running, Apple Community
- photoanalysisd manual page discussion, MacRumors Forums quotes the man page description
- photoanalysisd using 77 percent CPU, Ask Different