The Photos library is your photo collection, not a cache. Deleting it from Finder deletes the photos unless they are safely in iCloud Photos or backed up elsewhere. To save space, use Photos' own settings, such as Optimize Mac Storage. Verdict: Keep. Look inside only with Show Package Contents, and change nothing.
- Path
~/Pictures/Photos Library.photoslibrary- What it is
- A package that holds originals, edited versions, thumbnails and the database for the Photos app
- Typical size
- Roughly the size of your photo and video collection; often tens or hundreds of gigabytes
- Made by
- Photos
- Safe to delete?
- Keep Never delete it from Finder. Shrink it from inside Photos.
- Comes back?
- No, unless the photos are also in iCloud Photos or a backup.
What is in Photos Library.photoslibrary?
It looks like one file in Finder, but it is a package, a folder disguised as a file. Inside are your original photos and videos, the edits you made, thumbnails, and the database that organizes albums, faces and metadata. Some of the folders inside can be rebuilt, but the originals cannot.
Is it safe to delete the Photos library?
No. If you drag it to the Trash and empty it, the photos are gone unless a copy exists in iCloud Photos or a backup such as Time Machine. Editing files inside the package by hand can also corrupt the library, so do not open it up and delete parts.
If you use more than one library, the same rule applies to each one.
How do I free up space from Photos safely?
- Open Photos, then choose Photos, then Settings.
- On the iCloud tab, if you use iCloud Photos, choose Optimize Mac Storage. Full-size originals stay in iCloud and the Mac keeps smaller versions as space is needed.
- Delete photos you do not want inside Photos, then open Recently Deleted and delete them there too, because they keep using space until then.
- Move the whole library to an external drive only through Photos' own library switcher, not by dragging parts of it.
Optimize Mac Storage uses your iCloud storage plan. Check you have enough iCloud space before you turn it on.
How Clean House handles it
Clean House marks the Photos library as Keep and says never to remove it from outside Photos. Its Why card points to Optimize Mac Storage in Photos settings as the better way to save space. Peek can show what is inside, but the library is never offered for cleaning.