Help · Mac storage
How to move your Photos library to an external drive.
Quit Photos, drag Photos Library from your Pictures folder to an external drive formatted APFS or Mac OS Extended, double-click it there to open it, then click Use as System Photo Library in Photos' settings. Check the moved library before you delete the old one. The Photos library is often the biggest single thing on a Mac, so this frees a lot of space, and Photos works as before while the drive is connected.
Want to see how much your Photos library uses first? Pangalin Space Manager measures it alongside everything else and points you to Apple's own steps. The scan is free and changes nothing.
Have a backup before you start, and keep the original library until you've checked the moved one. If you use iCloud Photos, your photos are also in iCloud, but don't rely on that alone.
Before you start
- See how big it is. In Finder choose Go › Home, open Pictures, select Photos Library and choose File › Get Info. That size is roughly what you free, and the least room the drive needs.
- Allow time. A library is many thousands of small files. A big one can take hours to copy, longer on a slow drive or hub. Keep the Mac awake and plugged in.
- Nothing changes in Photos. Your albums and edits are inside the library and move with it.
- The drive has to be connected whenever you use Photos. On a laptop you carry around, that matters; see the other way to save space below.
1. Prepare the drive
- Format: APFS or Mac OS Extended (Journaled). Not exFAT. Check with File › Get Info on the drive in Finder.
- Not your Time Machine drive, and, as Apple warns, not an SD card, USB stick, network drive or a cloud-synced folder.
- Ownership: select the drive in Finder, choose File › Get Info, open Sharing & Permissions, click the lock if needed, and make sure Ignore ownership on this volume is ticked, as Apple's guide says.
- Room: the drive needs more free space than the library's size.
If the drive has the wrong format, or the ownership box isn't there, Apple's answer is to erase the drive first in Disk Utility. Erasing deletes everything on it, so copy anything you need off the drive before you do.
2. Move it
- Quit Photos.
- In Finder choose Go › Home and open Pictures.
- Drag Photos Library to the external drive. It copies, which can take a long time for a big library.
- When it's done, double-click the library on the drive to open it in Photos. (Or hold ⌥ while opening Photos and choose it.)
- If you use iCloud Photos, or want other apps to see your photos, choose Photos › Settings › General and click Use as System Photo Library.
3. Check, then remove the old copy
- Browse the moved library for a few days: open albums, recent photos and some old ones, and play a video.
- When you're sure it's complete, move the old Photos Library in your Pictures folder to the Trash, then empty the Trash to get the space back. This is permanent, so be certain the new one works.
Dragging to another drive copies, so until you empty the Trash you have two libraries and no space back yet. That's the safe order: the old one stays until the new one has proved itself.
If something goes wrong
- Finder shows an error while copying. Check the ownership setting in step 1. This is the cause Apple names first. If the box is missing or can't be ticked, the drive needs erasing in a Mac format.
- Photos opens an empty library. The drive wasn't connected, so Photos made a new library in Pictures. Quit Photos, connect the drive, then hold ⌥ while opening Photos and choose the library on the drive. The new empty one in Pictures can go once you're sure which is which: check both sizes with Get Info first.
- iCloud Photos isn't updating. Only the System Photo Library syncs with iCloud. Open the moved library and click Use as System Photo Library in Photos › Settings › General.
- The moved library won't open or looks wrong. Don't delete the original. Quit Photos, then hold ⌥ and ⌘ while opening Photos to use Apple's library repair tool on it. Apple says to back up the library before repairing it.
Moving it back, or to another drive
It's the same steps in the other direction. Quit Photos, drag the library from the drive to your Pictures folder (or to the new drive), double-click it there, and click Use as System Photo Library again. Check it, then delete the copy you no longer need.
Living with it
- Connect the drive before opening Photos. If Photos can't find the library, it makes a new, empty one in Pictures. Quit instead and connect the drive.
- Back up the drive. After the move it holds the only copy on your desk. Time Machine can include it: remove it from the excluded list in Time Machine's options. The backup has to go to a different drive; Apple warns against keeping a Time Machine backup on the drive that holds the library.
- Eject before unplugging. Quit Photos, eject the drive in Finder, then unplug it.
Prefer not to move it?
With iCloud Photos, Photos › Settings › iCloud › Optimise Mac Storage keeps smaller versions on your Mac and full-resolution originals in iCloud. Space comes back slowly as macOS decides what it no longer needs here, and your iCloud plan needs room for the whole library. Choose one route: iCloud with Optimise, or the external drive.
The same move with Pangalin Space Manager
Pangalin Space Manager doesn't invent its own way of moving a Photos library. It does the copy and the checks, then hands you to Photos for the one step only Photos can do.
- Quit Photos and plug in the drive. Run a scan, open Media, then Photos. Your library has its own card, with its size.
- Click Relocate to external… and choose a folder on the drive. If the drive isn't APFS or Mac OS Extended, or Ignore ownership on this volume isn't ticked, it refuses and says which, before anything is copied.
- It copies the library and checks every byte. The original leaves Pictures only after the copy matches. No shortcut is left behind, because Photos and iCloud don't follow them reliably.
- Click Open new library, then in Photos › Settings › General click Use as System Photo Library.
- Click Done, check now. It checks the library on the drive and that Photos is no longer using the old place before it says the move is done.
Undo move puts the library back in Pictures. The difference from doing it by hand: the original is removed as soon as the copy has been checked, not after a few days of browsing, so have your backup first. Moves count toward your first 5 GB freed free; most Photos libraries are bigger than that, so this move usually needs the licence, $25 a year. Seeing the library's size and the steps is free.
See how big your Photos library really is.
Pangalin Space Manager measures your Photos library alongside everything else, and gives Apple's own steps for it, with an Open Photos button and a link to Apple's guide. It never prunes the library by hand, because only Photos may safely change what's inside it. Its guided move refuses drives Photos can't use, and checks that “Ignore ownership on this volume” is selected, as Apple asks.
Free scan · The scan changes nothing · First 5 GB freed free, then $25 a year · Notarised by Apple · Apple silicon, macOS 13 or later