How to Change the Default Photos Library on a Mac

Illustration for How to Change the Default Photos Library on a Mac

You can change the default Photos library on a Mac by holding the Option key while opening the Photos app, selecting another library, and clicking Choose Library. To make that library the default, select it in the library chooser and open it normally. Photos will use the selected library the next time you launch the app.

This is useful when your main library is stored on an external drive, you have separate personal and work libraries, or you need to switch back to a library stored on your Mac.

Quick Answer

  1. Quit Photos if it is open.
  2. Hold the Option key and open Photos.
  3. Select the library you want to use.
  4. Click Choose Library.
  5. If necessary, select Other Library to locate a library elsewhere.
  6. Open Photos normally to confirm that the correct library loads.

Before switching, make sure the library is available and that any external drive containing it is connected.

What the Default Photos Library Does

The default Photos library is the library that opens automatically when you launch the Photos app. It is also the library Photos uses for features that require a designated system library, including:

  • iCloud Photos
  • Shared Albums
  • Apple photo-management features that depend on the system library
  • Photos-related media access by other apps

A Mac can contain multiple Photos libraries, but only one library is designated as the System Photo Library at a time.

Changing the library that opens by default does not merge libraries or move your photos. It only changes which library Photos opens automatically. Each library remains a separate package containing its own photos, edits, albums, and settings.

Warning: Do not unplug an external drive while Photos is open and using a library stored on it. Quit Photos first to reduce the risk of library problems or interrupted data writes.

Before You Switch Libraries

A few checks can prevent common problems.

Make sure the library is available

If the library is stored on an external drive, connect the drive before opening Photos. The drive should appear in Finder and remain connected while you use Photos.

For the best results, Apple recommends storing a Photos library on a locally connected drive rather than on a network file-sharing service or cloud-synchronization folder. A library package can contain many linked files and databases, so syncing or accessing it through unsupported storage can cause problems.

Check the drive’s format and permissions

If Photos cannot open or update a library on an external drive, the drive may have an incompatible format, insufficient permissions, or a read-only state. Do not immediately reformat the drive: reformatting can erase its contents.

If macOS reports a permission problem when you try to copy or access files on the drive, see How to Fix Permission Errors When Copying Files to an External Drive on a Mac.

Back up the library first

Switching libraries does not normally change or delete the library, but it is still wise to have a backup before moving a library or changing where it is stored. A Photos library is usually a single package, so copy the complete library package rather than individual files inside it.

Do not open the copied package and rearrange its contents in Finder. Photos manages the files inside the library.

Method 1: Change the Default Library with the Option Key

This is the standard method and works whether the library is on your Mac or an attached external drive.

Step 1: Quit Photos

If Photos is open, choose Photos > Quit Photos from the menu bar. You can also press Command-Q.

Warning: Wait for Photos to finish any visible activity before quitting. If you have unsaved edits or another app is using the library, closing the app may interrupt that work.

Step 2: Open Photos while holding Option

Press and hold the Option key. While continuing to hold it, click the Photos icon in the Dock, open it from Applications, or use Spotlight.

Keep holding Option until the Choose Library window appears.

Step 3: Select the library

The chooser may display available Photos libraries. Select the library you want to use as the default.

If the library is on an external drive, first connect the drive and wait for it to appear in Finder. The library may be inside a folder on that drive.

If you do not see the library, click Other Library.

Step 4: Locate the library

Use the file browser to navigate to the Photos library. By default, a Photos library may be in your Pictures folder, but it can also be stored elsewhere.

Select the library file or package and click Choose.

Step 5: Confirm the correct library opened

Photos should open with the selected library. Check the photos, albums, and library name to confirm that you selected the intended one.

Quit Photos and open it again normally. If the same library opens, it is now the default library for normal launches.

If Photos continues to open a different library, repeat the process and make sure you select the correct library in the chooser.

Method 2: Set the Selected Library as the System Photo Library

Selecting a library with the Option key makes it the library that opens when you launch Photos. If you also want to use iCloud Photos and other system-level Photos features with that library, set it as the System Photo Library.

Warning: Changing the System Photo Library can change which library synchronizes with iCloud Photos. Confirm that the selected library contains the photos you want to use before enabling or changing iCloud Photos.

  1. Open Photos using the library you want to designate.
  2. In the menu bar, choose Photos > Settings. On some macOS versions, this may appear as Photos > Preferences.
  3. Click the General tab.
  4. Look for the Use as System Photo Library button.
  5. If the button is available, click it.
  6. Confirm the change if Photos displays a confirmation prompt.

If the button is dimmed, the library may already be the System Photo Library.

What happens when you change the System Photo Library?

Only the library designated as the System Photo Library can use iCloud Photos for that Mac. When you switch to another library and designate it as the system library, the photos in that library may become the set associated with iCloud Photos on the Mac.

Do not switch this setting casually if you maintain multiple libraries. A separate library does not automatically contain the photos, edits, albums, or metadata from your other library.

How to Move a Photos Library to an External Drive

If your goal is to free up space on your Mac, you can move the library to an external drive and then select it as the default library.

Warning: Moving a Photos library changes where Photos reads and writes your photo data. Do not erase the original until you have confirmed that the new copy opens correctly and that your backup is current.

Step 1: Quit Photos

Quit Photos completely before copying or moving the library.

Step 2: Find the library

Open Finder, then choose Go > Home from the menu bar. Open the Pictures folder and locate the Photos library. It commonly has a name ending in .photoslibrary.

Step 3: Copy the library

Connect the external drive and open it in Finder. Drag the complete Photos library package to the drive.

Copying may take a long time, especially for a large library. Keep the Mac connected to power, and do not disconnect the drive during the transfer.

Step 4: Open the copied library

After the copy finishes, hold Option while opening Photos. Choose the copy on the external drive.

Browse several photos and albums. If you use edits, Live Photos, videos, or other important content, check those as well.

Step 5: Make the external copy the default

Quit Photos, then open it normally. If the external-drive library opens, Photos is now using that library by default.

You can leave the original library on your Mac as a temporary backup. Once you are certain the external copy works and you have another backup, you can remove the original to recover storage space.

Important: If the external drive is disconnected, Photos may not be able to open the library. Connect the drive before launching Photos.

How to Switch Back to the Library on Your Mac

To return to the library stored in your Pictures folder:

  1. Quit Photos.
  2. Hold Option while opening Photos.
  3. Select the library in your Pictures folder.
  4. Click Choose Library.
  5. Open Photos normally to confirm the change.

If the library on your Mac was renamed or moved, click Other Library and locate it manually.

Troubleshooting

Photos says it cannot open the library

First, confirm that the drive is connected and visible in Finder. If the library is on a removable drive, try disconnecting and reconnecting the drive, then wait for macOS to mount it.

Check that you have permission to read and write to the drive. A drive that mounts as read-only can prevent Photos from updating its library. For related steps, see How to Fix an APFS Volume That Mounts as Read-Only on a Mac.

Do not attempt to repair the library by opening its internal folders or deleting files from the package.

The library does not appear in the chooser

Click Other Library and browse to its location. Confirm that you are selecting the complete file ending in .photoslibrary, not a folder that merely contains it.

If the library is on an external drive, verify that the drive is mounted and that you can browse its contents in Finder.

Photos opens the wrong library

Quit Photos and repeat the Option-key method. Several libraries can have similar names, so use Finder to rename them clearly, such as Personal.photoslibrary and Archive.photoslibrary.

Make sure you release the Option key only after the library chooser appears. If Photos opens before the chooser appears, quit it and try again.

iCloud Photos is using the wrong library

Open the library you intend to use, then choose Photos > Settings and select General. Confirm that it is set as the System Photo Library.

Then check the iCloud tab to review iCloud Photos settings. Avoid switching between libraries repeatedly while synchronization is in progress.

If you use iCloud Photos, remember that it synchronizes the System Photo Library, not every Photos library stored on the Mac.

Photos reports that the library needs to be repaired

Photos may offer to repair a damaged library. Before proceeding, make sure you have a current backup and that you selected the correct library.

If the library is stored on an external drive, check the drive for connection, permission, and storage problems first. Do not interrupt a repair once it has started.

The external drive is too slow or disconnects

Try connecting the drive directly to the Mac instead of through an unreliable hub or adapter. Check the cable and make sure the drive has enough free space.

Do not use a drive that repeatedly disconnects as the only place where your Photos library exists. Maintain a separate backup before continuing to use it.

The Mac’s storage did not increase after moving the library

Copying a library to an external drive does not remove the original. After confirming that the external copy works, check the size of both libraries in Finder by selecting one and choosing File > Get Info.

Only delete the original after verifying the copy and confirming that you have a backup. Move it to the Trash and leave it there until you are certain you no longer need it. Emptying the Trash permanently removes it.

Frequently Asked Questions

Can I have more than one Photos library on a Mac?

Yes. You can store multiple Photos libraries and switch between them by holding Option while opening Photos. Each library has its own photos, albums, edits, and settings.

Does changing the default library move my photos?

No. The Option-key method only changes which library Photos opens. It does not copy, move, merge, or delete photos.

Can I store my Photos library on an external hard drive?

Yes, provided the drive is suitable, reliably connected, and has enough free space. Keep the drive connected whenever you use Photos, and maintain a separate backup.

Will iCloud Photos work with every library?

No. iCloud Photos works with the library designated as the System Photo Library. If you switch libraries, confirm which one is designated before changing iCloud Photos settings.

Can I merge two Photos libraries?

Photos does not provide a simple general-purpose command to merge two complete libraries while preserving everything automatically. Review your backup options and choose a careful migration method before combining photo collections.

What happens if I launch Photos without the external drive?

Photos may open another available library, display a message that it cannot find the selected library, or ask you to choose a library. Connect the external drive before opening Photos to avoid confusion.

Final Thoughts

The safest way to change the default Photos library is to quit Photos, hold Option while reopening it, and choose the library you want.