photoanalysisd high CPU on Mac: what it is and what to do
photoanalysisd and photolibraryd are Photos' background analysis. Learn why CPU stays high, how to check progress, and when to pause, quit or repair.
GuideUpdated 7 min read
On this page
You opened Activity Monitor and saw "photoanalysisd" at 77% CPU, with "photolibraryd" busy next to it. The fan is loud, and you want to know whether this is normal and whether you can stop it.
It is usually normal. Most of what we cite here comes from reports dated 2023 (macOS Ventura and earlier) plus older developer-forum threads. We haven't confirmed that current macOS behaves identically.
Why it happens
Both processes are part of macOS. They run in the background whether or not the Photos window is open.
- photoanalysisd analyzes your photos: faces, scenes and the groupings behind Memories and People.
- photolibraryd is the Photos library service. It looks after the library database, so it tends to be busy alongside the analysis.
Common triggers, most likely first:
- A large library or a fresh import. More photos means more to analyze. People on the Apple developer forums describe the work as taking hours depending on library size.
- A macOS update. Updates can bring new analysis features, and Photos may re-scan photos it already processed. We don't have an Apple document that spells out exactly when it re-scans, so treat this as likely rather than certain.
- Several or very large libraries. One MacRumors poster (January 2023, Ventura) had three 250 GB libraries and saw hours of CPU use even after turning off Memories, Faces and iCloud. Switching those features off may not stop the work.
- A library with inconsistencies. If the analysis never finishes, a damaged database is a possible cause. We can't say how common that is.
The percentage also needs context. Activity Monitor reports CPU per core, so 77% is roughly three-quarters of one core. On a Mac with many cores that is a small slice of the machine, even if the fans are audible.
Fix 1: let it finish
We don't know of a setting that reliably turns the analysis off, so the practical fix is to give it what it needs.
- Plug the Mac into power.
- Stop the Mac from sleeping. A sleeping Mac isn't analyzing anything, so the work only resumes later. See how to stop your Mac from going to sleep.
- Leave it alone for a few hours, ideally overnight. Heavy apps compete with it.
- Check back. If CPU has fallen to near zero, it was catching up and is done.
Fix 2: check whether it is making progress
Activity Monitor is built into macOS and free. See how to use Activity Monitor for a full tour.
- Open Activity Monitor from Applications > Utilities.
- Click the CPU tab.
- Type
photoin the search field. - Click the % CPU column to sort.
- Check back every hour or so. A falling number means progress. A number that stays flat across several nights of idle time on power points to a stuck library (that threshold is our judgment, not an Apple figure). Go to Fix 4.
To stop a process for now, select it, click the stop button in the toolbar and choose Quit. Expect macOS to start it again. Activity Monitor can't prevent that.
Fix 3: watch, alert or pause it with Procowl
We make Procowl, so weigh this section accordingly. It does not make the analysis finish faster. It shows how the process behaves over time, whether it keeps restarting, and notifies you when it crosses a limit you set. It can also pause or quit the process, with caveats below.
- Open Procowl and press ⌘2 (Command-2) for Processes.
- Type
photoin the search field. To list everything above a threshold instead, typecpu>50. - Select the row and press Return to open the inspector. It shows CPU, memory and disk charts for the last 60 samples, plus Path, Started, CPU time and Launched by.
- Look for a Restarting ×N badge on the row. It appears when a process of the same name has ended and restarted 3 or more times in 10 minutes. The Ended recently list at the bottom of the process list shows what ended and keeps entries for 10 minutes.
- Press ⌘3 for Timeline. History is on by default and kept for 7 days. Heaviest apps ranks CPU use over the window, so you can see whether photoanalysisd ran in bursts or all day. History only covers time while Procowl was running.
To get a notification, right-click the row and choose Alert When…. Set a CPU threshold and a For at least duration (the sheet defaults to 200% for 5 minutes). The limit keeps working after the process restarts. Procowl asks for notification permission when you turn an alert on, and every alert is also kept in Timeline > Noticed even if notifications are denied. See Procowl alerts.
Pausing or quitting from Procowl
Right-click the row for Suspend… or Quit…. Both ask for confirmation. photoanalysisd normally runs under your own account, so Procowl can usually signal it. If the row shows "—" and a lock icon, the process isn't yours and Procowl can't act on it.
- Suspend sends SIGSTOP. The process stops using CPU but keeps its memory. Procowl refuses to suspend processes in system paths such as
/System, with the message "<name>is a macOS system process." Check Path in the inspector. If Suspend is refused, use Quit. - Quit sends SIGTERM to a background process, asking it to exit cleanly.
- To undo a suspend, choose Resume on the row, or use Resume All under Settings > General (it appears while something is suspended). Procowl also resumes anything it suspended when it quits.
We have not verified how macOS reacts when you pause or quit photoanalysisd. It may start the process again, and Photos may pick up where it left off. See quit, suspend and signals.
Fix 4: repair the Photos library
If the analysis never finishes, Apple's own tool for a misbehaving library is Repair Library. Back up your photo library before you use it. You can use Time Machine, a third-party backup solution, or copy the library to an external drive.
- Quit Photos.
- Hold down the Command and Option keys while you click to open Photos.
- In the window that opens, click Repair. You might be asked for your user account password.
- Wait. Depending on the size of your library, the repairs might take some time.
If the library is used with iCloud Photos, iCloud checks it after the repair finishes to make sure everything is synced correctly. Details are on Apple's page, How to use the Photos Repair Library tool on your Mac.
Which option fits
| Option | What it shows | Can it stop the CPU use? | Cost |
|---|---|---|---|
| Wait on power, awake | Nothing, it just finishes | Yes, when the work is done | Free |
| Activity Monitor | Current CPU per process, sorting | Quit; may restart | Free, built into macOS |
| Repair Library | Nothing; rebuilds the database | Possibly, if the library was the problem | Free, built into Photos |
| Procowl | Restarts, path, CPU history, alerts | Suspend (may be refused) or Quit | Part of MacSuite ($349 one-time as of November 2026); 7-day trial |
If you only want to know whether it has finished, Activity Monitor is enough.
Checklist before you contact Apple
- The Mac was plugged in and awake overnight at least once.
- You restarted the Mac and installed pending updates (search for "Software Update" in System Settings).
- You backed up the library and ran Repair Library.
- You noted whether the process runs continuously or keeps restarting (a changing PID, or Procowl's Restarting ×N).
If nothing works
Contact Apple Support. Include your macOS version, the library size, whether iCloud Photos is on, how long the CPU has stayed high, and what you've tried. A screenshot of Activity Monitor helps.
Hello, photoanalysisd and photolibraryd keep using high CPU on my Mac
(photoanalysisd around 77%). macOS version: [your version]. Photos
library size: [size]. iCloud Photos: [on/off]. The Mac was plugged in
and awake overnight and the CPU did not drop. I restarted, installed
updates and ran Repair Library after backing up. Screenshot attached.
What else can I try?Common questions
Is photoanalysisd a virus?
No, it is a built-in macOS component that works for the Photos app. To check a suspicious copy, look at Path and the Code signature section in the Procowl inspector. A built-in macOS process sits under a system path and is signed by Apple.
Will turning off iCloud Photos stop it?
Not reliably. The MacRumors user turned off iCloud, Memories and Faces and still saw hours of CPU use.
Why is photolibraryd busy too?
It looks after the Photos library database, so it usually runs alongside the analysis. We haven't found Apple documentation that explains exactly why the two peak together.
Why does it come back after I quit it?
macOS starts these background services again when they're needed. People on the Apple developer forums report force quitting both processes only helps for a while, and a High Sierra thread says the process can't be killed.
For other causes of a slow Mac, see why your Mac is slow and MacBook overheating. For the full Procowl process view, see finding and grouping processes. Procowl is part of MacSuite and runs free for 7 days on macOS 14 or later.