What is photolibraryd, 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.
photolibraryd is the macOS photo library agent; its man page says it handles all photo library requests. The Photos app, iCloud Photos, photo analysis and other apps that read your photos all go through it, so it is busy whenever any of them is. It is part of macOS and safe.
photolibraryd at a glance
| photolibraryd | |
|---|---|
| Made by | Apple (part of macOS, Photos) |
| Type | Launch agent (background process for your user) |
| Location | /System/Library/PrivateFrameworks/PhotoLibraryServices.framework/Versions/A/Support/photolibraryd |
| Runs as | your user |
| Started by | launchd job com.apple.photolibraryd |
| Can you quit it? | Not usefully. launchd restarts it if it crashes, and starts it whenever an app or service opens the Photos library. |
What is photolibraryd?
photolibraryd sits between your Photos library and everything that uses it: the Photos app, cloudphotod, photoanalysisd, and apps that use the photo picker. Its launchd job also registers services that feed Photos content to Spotlight search and that free cached space when the disk is low.
launchd schedules two maintenance tasks for it: curated library processing about every three hours while the Mac is idle, and a daily maintenance task that also waits for external power. Both may run during Power Nap.
Is photolibraryd safe?
Yes. photolibraryd is in the PhotoLibraryServices framework on the read-only system volume and runs as your user.
Why does photolibraryd use so much CPU, disk and memory?
- Imports and edits. Importing photos, applying edits and generating previews are all library requests that photolibraryd carries out.
- iCloud Photos syncing. Each photo uploaded or downloaded by iCloud Photos is read from or written to the library through photolibraryd.
- Feeding Spotlight. Photos content is made searchable in Spotlight through services in photolibraryd's launchd job, which adds work after large imports.
- A large library. Its memory use grows with the size of the library and with how many apps are using it at once.
How much CPU is normal for photolibraryd?
Activity while Photos is open, while iCloud Photos syncs, and during idle maintenance is normal. With no library activity it typically sits near 0% CPU.
How do you stop photolibraryd from using so much CPU?
- Find which client is busy. In Activity Monitor, check whether Photos, cloudphotod, photoanalysisd or mediaanalysisd is active at the same time. The steps for that process apply.
- Let large imports and syncs finish. Keep the Mac awake, on power and with Photos open until imports and iCloud Photos uploads are done.
- Quit Photos when you are not using it. Closing Photos removes its requests; background syncing and analysis continue on their own schedule.
- Repair the library if Photos misbehaves. If Photos shows missing thumbnails or errors as well, back up the library, quit Photos, then hold Option-Command while opening it and click Repair. Apple says the repair can take a while on a large library.
When should you worry about photolibraryd?
Look closer if photolibraryd stays high for many hours with Photos closed and neither iCloud Photos nor analysis running. That pattern, together with errors in Photos, points to a library that needs repair.
How do you check photolibraryd in Activity Monitor and Terminal?
Open Activity Monitor (Applications > Utilities), and type photolibraryd in the search field. The CPU tab shows its % CPU. The Disk tab shows its Bytes Written and Bytes Read. 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 photolibraryd process with its PID, user, CPU and memory (RSS is resident memory in kilobytes). fs_usage prints each file it reads or writes until you press Control-C; it needs an administrator password.
ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'photolibraryd' | grep -v grep
sudo fs_usage -w -f filesys photolibraryd
How can Thrum help with photolibraryd?
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 photolibraryd 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 photolibraryd 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 photolibraryd
Is photolibraryd the same as the Photos app?
No. Photos is the app you see; photolibraryd is the background agent that performs library operations for Photos and other apps.
Does photolibraryd run if I never use Photos?
It starts when anything opens the system photo library. If you have never created a library, it has little to do.
Sources
- photolibraryd(8) man page: run man photolibraryd in Terminal
- launchd job: /System/Library/LaunchAgents/com.apple.photolibraryd.plist
- Apple Support: How to use the Photos Repair Library tool on your Mac