SafePart of macOS or a well-known app. Leave it alone. The rating describes the real photolibraryd, not every copy with that name.
- What it is
- Manages your Photos library.
- Made by
- Apple
- Where the real one lives
/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/Versions/A/Support/photolibraryd- If you block its internet access
- No noticeable effect. It doesn't normally connect to the internet.
- What to do
- Part of macOS. Leave it allowed.
photolibraryd is the part of macOS that manages your Photos library. It reads and writes the library’s database, and other apps and services go through it when they need your photos.
It’s part of macOS and safe. It doesn’t normally connect to the internet.
Is photolibraryd safe?
Yes. The real photolibraryd lives in a private macOS framework called PhotoLibraryServices, on the read-only system volume, and it’s signed by Apple. It runs with your user name, because the library belongs to you. macOS starts it when it’s needed through a launch agent, com.apple.photolibraryd, in /System/Library/LaunchAgents, so you may not see it running all the time.
Why photolibraryd uses CPU and disk
photolibraryd is busiest when the library changes a lot:
- after you import many photos, or move a library to a new Mac
- when you turn on iCloud Photos, while the library syncs
- after Photos repairs a library, when it rebuilds the database
- during scheduled maintenance
Its launch agent asks macOS for two kinds of background work. One runs about every three hours, only while you’re not using the Mac. The other runs about once a day, only on power. Both are marked as low-priority maintenance, so they give way when you need the Mac.
Face and object recognition is done by a different service, photoanalysisd, which our page on mediaanalysisd covers.
Should you block or quit photolibraryd?
There’s no need to block it. It doesn’t normally go online, so a firewall rule has no noticeable effect. iCloud Photos uploads go through other services.
Quitting it in Activity Monitor isn’t harmful, but macOS starts it again when Photos or another app opens the library. If it stays busy for days, repair the library:
- Back up the library with Time Machine first.
- Quit Photos.
- Hold down Option and Command, then open Photos.
- Click Repair.
How to check the photolibraryd on your Mac is the real one
Run this in Terminal while Photos is open:
ps -ax -o user,comm | grep photolibrarydThe real one runs with your user name and has this path:
/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/Versions/A/Support/photolibrarydTo see who signed it:
codesign -dv /System/Library/PrivateFrameworks/PhotoLibraryServices.framework/Versions/A/Support/photolibrarydLook for Identifier=com.apple.photolibraryd and Platform identifier, which only Apple’s own programs have.
When to worry
- A program called photolibraryd anywhere else, such as your home folder,
/Users/Sharedor/tmp. Check it with a malware scanner. - photolibraryd sending a lot of data over the internet. It doesn’t normally connect at all. Look at Activity Monitor’s Network tab.
- Heavy disk writes for days. Check Activity Monitor’s Disk tab, then repair the library (above).
Frequently asked questions
What is photolibraryd on a Mac?
It’s the macOS service that manages your Photos library database. Photos and other apps use it to read and save your pictures.
Why is photolibraryd using so much CPU?
It’s usually updating the library after an import, an iCloud Photos sync or a repair. Scheduled maintenance also runs while the Mac is idle.
What is photoanalysisd on macOS?
It’s a separate Apple service that finds faces, objects and scenes in your photos so you can search them. It runs mainly while the Mac is plugged in and not in use.
Is it okay to delete the Photos library on Mac?
Only if every photo is safely somewhere else, such as fully uploaded to iCloud Photos or backed up. Deleting the library deletes the photos stored in it.
Sources
- Apple, Designate a System Photo Library in Photos.
- Apple, Repair your photo library on Mac.
- Apple, Back up your photo library on Mac.
- Apple, Set up and use iCloud Photos.
- Paths, user, launch agent schedule and signature checked on macOS 26.0.1 (25A362), 13 November 2026.
How we checked. Paths, commands and behaviour were checked on macOS 26.0.1 (25A362), MacBook Pro (16-inch, 2021), 13 November 2026. They can differ on other versions of macOS.