You can move your Photos library to an external drive on a Mac, and Apple has official steps for it: format the drive as APFS or Mac OS Extended (Journaled), quit Photos, drag Photos Library to the drive, open it from there, and set it as the System Photo Library if you use iCloud Photos. Then check everything is there and delete the old copy to get the space back. Use a drive plugged straight into your Mac, ideally an SSD. Apple says not to keep the library on a network drive, a cloud drive or a cloud-synced folder.
Before you start
You need an external drive with more free space than your library uses, formatted for Mac, and a backup of the library. Moving a library is safe when done in this order, but a backup means a mistake can't cost you your photos.
- Check the library's size. In the Finder, open your Pictures folder (Go › Home, then Pictures), select Photos Library and choose File › Get Info.
- Pick the right drive. An external SSD on a fast USB-C or Thunderbolt port is the best choice; Photos reads thousands of small files, and a hard disk feels slow. A spinning hard disk works, just slower.
- Back up first. If you use Time Machine, make sure a backup has finished recently.
Which drives Apple says to use, and which to avoid
Apple says to use a drive formatted as APFS or Mac OS Extended (Journaled). It says not to use a Time Machine backup drive, removable media such as SD cards or USB flash drives, or any drive shared over a network or the internet, including cloud storage and cloud-synced folders, because they risk data loss.
| Where | OK for the Photos library? | Why |
|---|---|---|
| External SSD, APFS | Yes | Apple's supported format; fast |
| External hard disk, Mac OS Extended (Journaled) | Yes | Supported; slower than an SSD |
| Drive formatted ExFAT or FAT (as most come from the shop) | Not until you erase it | Not a Mac format; erase it as APFS first |
| Your Time Machine backup drive | No | Apple says not to |
| SD card or USB flash drive | No | Apple says these risk data loss |
| NAS or other network drive | No | Apple says network drives risk data loss |
| A cloud drive or synced folder (iCloud Drive, Dropbox, Google Drive, CloudRoomy) | No | Apple says cloud storage and cloud-synced folders risk data loss |
A Photos library looks like one file in the Finder, but it is a package of many thousands of files and a database that Photos changes all the time. A sync service or network connection that copies part of it, or pauses halfway, can leave the database out of step with the photos. That is why Apple rules these out.
How to format the drive
Many new drives come formatted ExFAT, which works on Windows and Mac but isn't one of the formats Apple lists for a Photos library. Erase it in Disk Utility as APFS. Erasing deletes everything on the drive, so copy anything you want off it first.
- Open Disk Utility (in Applications › Utilities).
- Choose View › Show All Devices, then select the external drive itself (the top line, not a volume under it) in the sidebar.
- Click Erase. Give it a name, choose APFS as the format and GUID Partition Map as the scheme, then click Erase and Done.
How to move the Photos library: Apple's steps
Quit Photos, drag Photos Library from your Pictures folder to the external drive, then double-click it in its new place to open it. If you use iCloud Photos, set it as the System Photo Library.
- Quit Photos.
- In the Finder, choose Go › Home and open the Pictures folder. Photos Library is usually here.
- Drag Photos Library to the external drive. Because it's another disk, the Finder copies it and leaves the original where it was. A big library can take an hour or more.
- When the copy finishes, double-click Photos Library on the external drive to open it in Photos.
- If you use iCloud Photos, or want other apps to see this library in the photo picker, set it as the System Photo Library (next section).
- Check it. Scroll through recent photos and a few old ones, open some videos, and look at your albums and People.
- Delete the old copy. Only when you are happy, drag the original Photos Library from your Pictures folder to the Trash, then empty the Trash. This is the step that frees the space.
To open a library from somewhere else later, quit Photos, hold the Option key while you open Photos, select the library and click Choose Library. Photos keeps using that library until you choose another.
Set it as the System Photo Library
iCloud Photos and Shared Albums only work with the System Photo Library. If you open the moved library without setting it, the iCloud tab in Photos settings is turned off.
- With the moved library open in Photos, choose Photos › Settings and click General.
- Click Use as System Photo Library. If the button is greyed out, this library already is the System Photo Library.
Apple says that if you set a new System Photo Library and then turn on iCloud Photos, its photos combine with those already in iCloud Photos, and photos in iCloud download again to the Mac. If the moved library is a straight copy of the one you were using, there is nothing new to combine, but expect some activity while Photos checks in with iCloud.
If you get an error while moving it
Apple's fix for permission errors is the "Ignore ownership on this volume" checkbox. Select the external drive in the Finder, choose File › Get Info, open Sharing & Permissions, and make sure the box is ticked.
- Select the external drive in the Finder and choose File › Get Info.
- If Sharing & Permissions is hidden, click the arrow to show it.
- If the settings are locked, click the lock and enter your password.
- Tick "Ignore ownership on this volume".
If the checkbox is missing or you can't tick it, Apple says the drive may not be formatted for Mac, or it was used for Time Machine and never erased. Erase it as above. For other permission problems, Apple points to the Photos library repair tool.
What happens when the drive is unplugged?
Photos can't open a library that isn't there. Apple says that if Photos can't find the drive, it stops using the library on it and creates a new, empty library in your Pictures folder. Plug the drive in before you open Photos.
That new empty library is easy to miss. If you take photos with your iPhone while the Mac is using it, they can end up in the wrong place. If you ever see an empty Photos window:
- Quit Photos.
- Connect the external drive and wait for it to appear in the Finder.
- Hold Option and open Photos, choose the library on the external drive, and click Choose Library.
- Check that it is still the System Photo Library in Photos › Settings › General.
So an external library suits a desktop Mac, or a laptop that sits at a desk with the drive attached. If you carry a MacBook around all day, think about Optimise Mac Storage instead.
Does iCloud Photos still work on an external drive?
Yes, as long as the library on the external drive is your System Photo Library. iCloud Photos only syncs the System Photo Library, so a second library on a drive won't sync until you make it the system one.
In practice that means the drive has to be connected, and the library open in Photos, for your Mac to sync. Photos you take on your iPhone are still uploaded to iCloud from the phone in the meantime.
The alternative: Optimise Mac Storage in Photos
If you use iCloud Photos, you may not need to move the library at all. In Photos, choose Photos › Settings, click iCloud, and select Optimise Mac Storage. Your Mac then keeps smaller versions of photos when space runs low, and the full-size originals stay in iCloud.
| Library on an external drive | Optimise Mac Storage | |
|---|---|---|
| Frees space on the Mac | All of the library's space | Some, only when space runs low |
| Needs | A drive plugged in | iCloud Photos and enough iCloud storage for the whole library |
| Full-size originals | On the drive, always there when it's plugged in | In iCloud; downloaded when you need one |
| Works away from your desk | Only with the drive | Yes, online |
| Cost | The drive, once | A monthly iCloud+ plan sized to your library |
To get all the originals back on the Mac later, choose Download Originals to this Mac in the same place. You need room for the whole library to do that.
For more on why Optimise Mac Storage doesn't always free space when you expect, see Optimize Mac Storage not working.
Where a cloud drive does fit
A cloud drive is the wrong place for the live Photos library, but a good place for photos and videos you have finished with: exported albums, old video projects, camera files you keep as an archive. Those are ordinary files, not a database that Photos is writing to.
A common setup is to keep this year's photos in the Photos library (on the Mac or an external SSD), and export older events or big videos out of Photos to an archive folder. In Photos, select the items and choose File › Export › Export Unmodified Original to get the files as they came from the camera. Then copy them to the archive, check they open, and only then delete them from Photos (and from Recently Deleted).
That archive can live on a second external drive, a NAS, or a cloud drive. CloudRoomy is one option: it adds an end-to-end encrypted drive to the Finder sidebar, and files on it show their full size but take 0 bytes on your Mac until you open them. A video you open is fetched in 1 MB pieces as it plays. It needs an internet connection to open files that aren't kept on the Mac, and a Mac with Apple silicon and macOS 26.2 or later.
Try CloudRoomy free for 30 days
The trial gives you 50 GB with no card. Plans then start at $7.99 a month for 500 GB. See plans and prices. For other ways to free space, see our checklist to free up space on a Mac.
Questions people ask
Can I move my Photos library to an external drive?
Yes. Apple's steps: format the drive as APFS or Mac OS Extended (Journaled), quit Photos, drag Photos Library to the drive, double-click it to open it, and set it as the System Photo Library if you use iCloud Photos. Then delete the old copy to free the space.
Does iCloud Photos work with a library on an external drive?
Yes, if that library is the System Photo Library. iCloud Photos and Shared Albums only work with the System Photo Library. Set it in Photos › Settings › General › Use as System Photo Library.
Can I keep my Photos library on a NAS, iCloud Drive or another cloud drive?
No. Apple says not to store the library on a drive shared over a network or the internet, including cloud storage and cloud-synced folders, because it risks data loss. Use a drive connected directly to your Mac. A cloud drive suits exported photos and videos, not the live library.
What happens if I open Photos without the external drive?
Apple says that if Photos can't find the drive, it stops using the library on it and creates a new, empty library in your Pictures folder. Quit Photos, connect the drive, then hold Option while opening Photos and choose the library on the drive.
Why can't I move my Photos library to an external drive?
Usually a permissions or format problem. Select the drive, choose File › Get Info, and tick "Ignore ownership on this volume" under Sharing & Permissions. If that checkbox is missing, the drive may not be formatted for Mac; erase it as APFS first.
Do I have to delete the old Photos library?
Only if you want the space back. Dragging the library to another drive copies it, so the original stays in Pictures. When you have checked the new copy, drag the original to the Trash and empty the Trash.
Sources, checked 23 November 2026: Apple, Move your Photos library to save space on your Mac; Apple, Designate a System Photo Library in Photos; Apple, Optimize storage in Photos on Mac (macOS Tahoe 26); Apple, Delete photos and videos or recover deleted ones in Photos on Mac; Apple, Erase and reformat a storage device in Disk Utility; Apple, Free up storage space on Mac; CloudRoomy, our own plans and prices.