SiftMac
Is it safe to delete? · Apple apps · Updated 21 November 2026

Is it safe to delete the Photos Library.photoslibrary package?

By Mohit Nippanikar, who makes SiftMac

The short answer
On this page
  1. What it is
  2. Where it is
  3. How big it gets
  4. How to make it smaller, safely
  5. What happens afterwards
  6. Questions

1. What it is

In Finder the library looks like a single file, but it’s a package: a folder the Photos app manages. Inside are your originals (unless you imported them as references to files elsewhere), edited versions, thumbnails and previews, and the database of albums, people, places and edits that ties it all together. Storage settings calls it your System Photo Library.

It isn’t a cache. Apart from previews Photos can make again, everything in it is yours, and it grows with every photo and video you keep. With iCloud Photos on, it can hold everything from your iPhone and iPad too.

2. Where it is

~/Pictures/Photos Library.photoslibrary

That’s the default; yours can be elsewhere if you moved it or made more than one. In Photos, Photos › Settings › General shows where the current library is. Right-click the library and choose Show Package Contents only to look; don’t move, rename or delete anything inside.

3. How big it gets

Select the library in Finder and choose File › Get Info, or in Terminal:

du -sh "$HOME/Pictures/Photos Library.photoslibrary"

Storage settings shows the same as Photos. With iCloud Photos and Optimize Mac Storage on, the library on the Mac can be much smaller than your whole collection, since the full-size originals stay in iCloud.

4. How to make it smaller, safely

  1. Empty Recently Deleted. Photos keeps deleted items for 30 days. Open Recently Deleted in the sidebar, check it, and delete what’s there.
  2. Merge duplicates. Click Duplicates under Utilities in the sidebar, select them and click Merge. One copy stays where the duplicates were; the extras go to Recently Deleted.
  3. Look at videos first. Videos take far more room than photos, so the Videos album is the quickest place to find ones you don’t need.
  4. With iCloud Photos: in Photos › Settings › iCloud, select Optimize Mac Storage. The full-size originals stay in iCloud, and the Mac keeps smaller versions when space is limited.
  5. Move it: quit Photos, drag the library to an external drive formatted APFS or Mac OS Extended (Journaled), open it there, and once it works, delete the original. Apple advises against Time Machine drives, SD cards, USB flash drives and network or cloud storage for a library. If you use iCloud Photos, make the moved library your System Photo Library.

With iCloud Photos on, deleting a photo in Photos deletes it from iCloud and your other devices as well. Look through Recently Deleted before you empty it.

5. What happens afterwards

Questions

Why is my Photos library taking up so much space?

It stores the original of every photo and video, their edits and previews, and whatever is waiting in Recently Deleted. Without Optimize Mac Storage, everything in iCloud Photos is stored here at full size too.

Can I delete the Photos library if I use iCloud Photos?

Use Optimize Mac Storage instead. It keeps the library working with smaller copies while the originals stay in iCloud, and doesn’t risk anything that hasn’t finished uploading.

Can I delete files inside the library to free space?

No. Photos keeps track of every file in the package, and removing them by hand leaves missing pictures and a library Photos may have to repair. Delete photos in Photos.

Does Optimize Mac Storage delete my photos?

No. Your originals stay in iCloud and the Mac keeps smaller versions. Apple’s way back is Download Originals to this Mac, in the same settings.

How SiftMac handles it. SiftMac never touches the Photos library. Its folder note says so and points to Photos’ own tools, and its duplicate and similar-photo scans look only at pictures in your own folders, outside the library.

Download SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works