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

Is it safe to delete? · Apple apps · Updated 21 November 2026. By Mohit Nippanikar, who makes SiftMac.

## The short answer

- **No, not the library itself.** `Photos Library.photoslibrary` is every photo and video in the Photos app, with your albums and edits. Deleting it, or files inside it, can lose pictures that exist nowhere else.
- **What shrinking it properly costs:** with iCloud Photos, little more than download time, because Optimize Mac Storage keeps the full-size originals in iCloud. Without it, only the photos you choose to delete.
- **Does it come back?** Photos you delete in Photos wait 30 days in Recently Deleted. A library deleted in Finder comes back only from a backup; with iCloud Photos, what had finished uploading is still in iCloud.
- SiftMac’s verdict: You decide

## 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

- Deleted photos sit in Recently Deleted for 30 days, then go for good.
- Merged duplicates leave one copy in their place.
- Optimize Mac Storage frees space as the Mac needs it, not all at once, and Download Originals to this Mac undoes it.
- After a move, connect the drive before opening Photos. If it’s missing, Photos makes a new, empty library in Pictures.

## 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: https://siftmac.com/SiftMac.dmg (scanning is free, and so is the first 2 GB of cleaning).

## Sources

- [Apple: Delete photos and videos or recover deleted ones on Mac](https://support.apple.com/guide/photos/pht3bfab2f96/mac)
- [Apple: Optimize storage in Photos on Mac](https://support.apple.com/guide/photos/phta9b4673b4/mac)
- [Apple: Remove duplicate photos and videos on Mac](https://support.apple.com/guide/photos/pht5a3157c1d/mac)
- [Apple: Move your Photos library to save space on your Mac](https://support.apple.com/108345)

## Related

- [Photos library taking up too much space on your Mac? What to do](https://siftmac.com/guides/photos-library-taking-up-space)
- [Is it safe to delete Messages attachments on a Mac?](https://siftmac.com/safe-to-delete/messages-attachments)
- [Is it safe to delete the local copies of iCloud Drive files?](https://siftmac.com/safe-to-delete/icloud-drive-local-files)
- [Fixing a parent’s “storage almost full” Mac in about ten minutes](https://siftmac.com/guides/parents-mac-storage-full)
- [What fills a photographer’s Mac, and what you can safely clear](https://siftmac.com/for/photographers)

Canonical: https://siftmac.com/safe-to-delete/photos-library
