Where Are Photos Stored on a Mac? Find, Export, and Move Your Library

Mahesh Makvana
·
6 min read

Switching to Mac is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

If you’ve stumbled upon a Photos Library file while looking for a picture, it’s worth a look. Your photos are usually stored in ~/Pictures/Photos Library.photoslibrary, but Finder displays the library as one package rather than a folder of ready-to-use images. Open it in Photos to find a picture, then export it when you need a separate file.

Find the Apple Photos Library L

Find your Photos library on a Mac

  1. Open Finder and choose Go > Home > Pictures.
  2. Look for Photos Library.photoslibrary. Finder may hide the .photoslibrary extension, so you could see Photos Library instead.
  3. Double-click the library to open it in Photos.
Go to folder

Don’t see it? Search Finder for photoslibrary and check any external drives you use. You can also hold Option while opening Photos to see its library chooser. A library can be renamed or stored somewhere other than Pictures.

The package contains originals, edited versions, previews, and the database Photos needs to keep everything together. Apple warns against changing files inside a Photos library package. That includes moving an individual image out of it.

Export photos as ordinary files

Photos’ export controls actually work well here. Use them when you’re sending pictures to someone, copying them to Windows, or making a separate collection on a drive.

  1. In Photos, select the pictures or videos you want.
  2. Choose File > Export. Select the regular photo or video export option for copies that reflect your Photos edits. Select Export Unmodified Original for the files as they were imported.
  3. Choose the available format, quality, naming, and folder options, then select a destination and export.

Apple’s export guide explains the options, including Export IPTC as XMP for metadata sidecar files when exporting originals. An exported Live Photo has separate still-image and video files. For a quick copy, you can also drag selected items from Photos into a Finder folder (the export dialog gives you more control).

Photos > File > Export menu open with the regular export and Export Unmodified Original options visible; highlight Export Unmodified Original

Why copying files from inside the package is a bad backup plan

You can quit Photos, Control-click the library in Finder, and choose Show Package Contents. Use that view only when troubleshooting. Folder names inside the package can vary, and copying what looks like the originals won’t preserve your albums, edits, or library database.

Finder > Pictures with Photos Library.photoslibrary selected and its Control-click menu open; highlight Show Package Contents

The package view and copy commands below show the temptation. Leave those internal files in place and export through Photos instead.

Masters folder in Photos Library
Contents in Masters folder
Right-click menu with Copy selected
Right-click menu with Paste Item selected

Move the complete library to another drive

Copy the whole .photoslibrary package when you want to keep Photos’ albums, edits, and organization intact. A portable external SSD can free space on your Mac, though Photos will need that drive connected whenever you use the library. The drive must be formatted APFS or Mac OS Extended (Journaled) — Photos won’t open a library stored on exFAT, FAT32, or another unsupported format. Apple recommends a suitable external storage device for a moved library; don’t use a Time Machine backup disk, removable flash media (a USB flash drive or SD card), or network/cloud storage, and avoid a drive you routinely disconnect while Photos is open. If more than one macOS user account on the Mac needs access, you may also need Ignore Ownership on this Volume, which you can enable from the drive’s Finder Get Info panel.

  1. Quit Photos. In Finder, copy Photos Library.photoslibrary from Pictures to the destination drive and wait for the copy to finish.
  2. Hold Option while opening Photos. Choose Other Library, select the copied library, and open it.
Photos Choose Library dialog with the Other Library button highlighted for selecting a library on an external drive
  1. Check that your photos, albums, and recent changes appear. If you use iCloud Photos, make this your System Photo Library — see Set the library used by iCloud Photos below for the steps.
  2. Keep the original library until you’ve checked the copy and confirmed your backup — ideally a Time Machine (or other) backup of the external drive itself, kept on a separate disk from the one now holding your live library. Then, if you need the space, move the old package to Trash.
Right-click menu with Copy Photos Library selected
Paste Item in right-click menu
Right-click Move to Trash menu

Empty Trash only after you’re certain Photos opens the relocated library and your backup is sound. That last check is worth the wait.

macOS Dock with the Trash Control-click menu open and Empty Trash highlighted; show this only beside the instruction to verify the relocated library and backup first

Open or create another Photos library

Photos supports multiple libraries, which is handy if you keep work and personal collections apart. Only one can be your System Photo Library at a time.

  1. Quit Photos, then hold Option while opening it.
  2. Select a listed library and choose Choose Library, or select Other Library to find one elsewhere.
  3. To start an empty library, select Create New, enter a name, choose its location, and save it.
Photos app in Spotlight Search
Photos app in Spotlight Search
Photos Choose Library dialog with Create New highlighted
Photos new-library save dialog with the library name field and destination folder visible and highlighted

If your existing library won’t open, creating a new one won’t recover its contents. Keep the original and its backup. Photos also offers a library repair workflow when you hold Option + Cmd while opening the app.

Set the library used by iCloud Photos

Open the library you want, then go to Photos > Settings > General and select Use as System Photo Library. If that button is unavailable, the open library is already the System Photo Library. Check Photos > Settings > iCloud for its sync settings.

iCloud features for Photos are only available in the System Photo Library
Photos app in Spotlight Search window
Choose Library button with Photos Library 2 selected in Choose Library window
Preferences in Photos menu
Use as System Photo Library in General window
Photos > Settings > General with Use as System Photo Library highlighted for an open library that is not yet the System Photo Library

Check whether your full-resolution photos are on the Mac

With Optimize Mac Storage enabled, your Mac can keep smaller local versions while full-resolution originals are in iCloud. Open Photos > Settings > iCloud and select Download Originals to this Mac if you need the complete collection locally. Allow enough drive space and time for the download. You can check sync status at the bottom of Library > All Photos (Apple’s library-status guidance).

iCloud Photos syncs changes and deletions across devices, so keep an independent backup on a Time Machine drive that’s separate from any drive holding your live library — Time Machine doesn’t automatically include every external drive, so check that drive is actually one of its backup sources. A library package on an optimized Mac doesn’t, by itself, confirm that every original has downloaded.

Access the photos from Windows

Windows can’t open a .photoslibrary package as a Photos library. For ongoing access, install iCloud for Windows, sign in, enable iCloud Photos, then open iCloud Photos in File Explorer. Double-click a thumbnail to download and view it (Apple’s Windows instructions).

For occasional access, download pictures from iCloud.com. If you want files that don’t depend on iCloud, export them on the Mac and copy them to Windows. Keep the complete .photoslibrary package for use with Photos on a Mac.

Which method should you use?

For a handful of pictures, export from Photos. For albums and edits you want to keep working with, copy the complete library and open it in Photos. For access across your devices, use iCloud Photos alongside an independent backup.

The useful surprise is how much Photos’ export dialog handles for you. Bookmark Export Unmodified Original for the next time you need the actual source files; it’s safer than hunting through the library package.