How to Merge Two Photos Libraries on a Mac

Illustration for How to Merge Two Photos Libraries on a Mac

Quick Answer

The Photos app does not include a built-in Merge Libraries command. To combine two libraries, use Apple’s Migration Assistant inside Photos:

  1. Back up both Photos libraries.
  2. Open the library you want to keep as the main library.
  3. Quit Photos.
  4. Hold Option while opening Photos.
  5. Select the other library and choose Migrate.
  6. Reopen the main library and confirm that your photos, albums, and edits transferred.

This process adds the contents of one library to another without manually exporting and importing every photo. It requires enough free storage for the library being migrated and may not transfer every type of data, such as some synced items or projects.

Before You Merge Photos Libraries

A Photos library is the file that stores your photos, videos, edits, albums, faces, and other organization data. It usually appears in the Pictures folder with a .photoslibrary extension.

Before combining libraries, decide which one will be the destination library. This is the library you will continue using after the migration. The other library is the source library whose contents you want to add.

Back up both libraries first

A library migration changes the destination library. Although Photos is designed to preserve the destination library during migration, you should still create a separate backup before starting.

You can back up a library by copying it to an external drive:

  1. Quit Photos if it is open.
  2. Open Finder.
  3. Select Go > Home from the menu bar.
  4. Open the Pictures folder.
  5. Copy each .photoslibrary file to a separate folder on an external drive.

Do not use a library directly from a cloud-synced folder or a network location. For best results, keep the libraries on a Mac-formatted local drive or a directly connected external drive. The drive must have enough free space for the copy and should remain connected throughout the migration.

If Finder reports a permissions problem while copying to the drive, see How to Fix Permission Errors When Copying Files to an External Drive on a Mac.

Check available storage

Migration may require additional temporary space. Check the destination Mac or external drive before you begin:

  1. Open Finder.
  2. Select the drive in the Finder sidebar.
  3. Press Command-I.
  4. Review Available under General.

If the destination library is stored on an external drive, make sure the drive is connected and mounted. Avoid disconnecting it during the migration.

Consider iCloud Photos

If iCloud Photos is enabled, choose carefully which library becomes the destination. The library designated as the System Photo Library can sync with iCloud Photos. Merging libraries can therefore affect the photos and videos stored in iCloud.

Before proceeding, confirm that:

  • The library you want to use as your main library contains the organization you prefer.
  • Your iCloud Photos content has finished syncing.
  • You understand which library will remain connected to iCloud Photos.
  • You have a current backup that is separate from iCloud.

iCloud Photos is a synchronization service, not a replacement for an independent backup.

Method 1: Merge Libraries Using Photos Migration

Photos includes a migration feature that can copy photos, videos, albums, and related library information from one library into another.

Step 1: Choose the main library

Open both libraries separately if necessary and decide which one should remain your primary library. Consider choosing the library that already contains:

  • Your preferred album structure
  • The most complete edits and organization
  • The library connected to the correct iCloud account
  • The larger or more current collection

The other library will be migrated into it.

Step 2: Quit Photos

If Photos is open, select Photos > Quit Photos or press Command-Q.

Warning: Quit other apps that may be using either library. Do not disconnect an external drive while Photos is open or while files are being copied.

Step 3: Open the destination library

Hold the Option key and open Photos from the Dock, Applications folder, or Spotlight.

A Choose Library window appears. Select the library you want to keep as the main library, then click Choose Library.

If the library is on an external drive, select it from the drive’s folder structure. Wait for Photos to finish opening before continuing.

Step 4: Quit Photos again

After confirming that the correct library is open, quit Photos with Command-Q.

This extra step makes sure that the library you selected is clearly identified before you choose the source library for migration.

Step 5: Open the source library with the Option key

Hold Option while opening Photos again. In the Choose Library window, select the other .photoslibrary file.

Photos opens the source library. Confirm that it is the library you want to add to the destination library. If it is not, quit Photos and repeat the selection process.

Step 6: Start the migration

With the source library open, select Photos > Settings from the menu bar. In the settings window, select General.

Look for the option to use the current library as the System Photo Library. If the current library is not already the System Photo Library, click Use as System Photo Library.

Now quit Photos.

Hold Option while opening Photos again, select the library you want to use as the destination, and click Choose Library. Open Photos > Settings > General, then click Migrate if Photos offers that option for the other library.

Depending on the library arrangement and the version of Photos installed on your Mac, the migration control may appear when you open a library that can be migrated into the current System Photo Library. Follow the on-screen instructions and select the library whose contents you want to add.

Warning: Do not quit Photos, put the Mac to sleep, or disconnect the storage device during migration. If the process appears slow, allow it time to finish rather than forcing the app to close.

Step 7: Wait for the migration to finish

The amount of time required depends on the number and size of the photos and videos. Large video files can make the process take considerably longer than expected.

When the migration is complete, open the destination library and check:

  • The total photo and video collection
  • Several albums from the source library
  • Recent and older photos
  • Edited photos
  • Live Photos, if applicable
  • Videos and slow-motion clips
  • Captions, keywords, and other organization information

Do not delete the original source library until you have checked important content and completed a new backup.

What Photos Migration Does—and Does Not—Combine

Migration is more complete than exporting individual image files because it can preserve organization and edits. However, it does not necessarily combine every part of two libraries exactly as you might expect.

Items that may transfer

Depending on the libraries and Photos features involved, migration may include:

  • Photos and videos
  • Albums and folders
  • Edits
  • Keywords and captions
  • Ratings and other organizational details
  • Some metadata and face-recognition information

Check the result instead of assuming that every item transferred perfectly.

Items that may require extra attention

Some content may not merge as expected, including:

  • Smart Albums
  • Slideshows and projects
  • Shared Albums
  • Items already synchronized through iCloud
  • Library-specific settings
  • Some third-party extensions or adjustments

If a specific album or project is important, document it before migrating. You may need to recreate it manually in the destination library.

Method 2: Export and Import Photos Manually

Use manual export and import when Photos migration is unavailable, when you want to transfer only part of a library, or when you prefer to inspect files before adding them.

This method is slower and may not preserve all library organization.

Export from the source library

  1. Hold Option while opening Photos.
  2. Select the source library.
  3. Select the photos or albums you want to transfer.
  4. Choose File > Export.
  5. Select either Export [number] Photos or Export Unmodified Original for [number] Photos.
  6. Choose a temporary folder on your Mac or an external drive.
  7. Click Export.

Use the regular export option when you want the current edited versions. Use Export Unmodified Original when you want the original files without Photos edits. Exporting originals does not preserve edits as separate adjustments.

Import into the destination library

  1. Quit Photos.
  2. Hold Option while opening Photos.
  3. Select the destination library.
  4. Choose File > Import.
  5. Select the exported files or folder.
  6. Click Review for Import or Import All New Photos, depending on what Photos displays.

Photos may identify duplicates during the import. Review the results carefully. Albums, folders, and some organization details usually need to be recreated manually with this method.

How to Avoid Duplicate Photos

Duplicates are common when two libraries contain overlapping imports. Before merging:

  • Compare the date ranges in both libraries.
  • Look for repeated imports from the same camera or iPhone.
  • Check whether one library is already a copy of the other.
  • Keep the original libraries until you verify the merged result.

If duplicates appear after the merge, select Utilities > Duplicates in Photos when that section is available. Review each group before selecting Merge. Merging removes redundant copies, so make sure the selected result contains the metadata and edits you want to keep.

Troubleshooting

The Migrate option does not appear

Make sure Photos is open with the library you intend to migrate and that the other library is available on the Mac or connected external drive. Quit Photos, hold Option, and verify that you selected the correct library.

If the libraries are stored on a network location or inside a cloud-synced folder, copy them to a supported local or directly connected drive first.

Photos opens the wrong library

Quit Photos, then hold Option while opening it. Select the correct .photoslibrary file in Choose Library.

To make that library the default, open it and select Photos > Settings > General, then click Use as System Photo Library if the option is available.

The migration stops or appears frozen

Do not immediately force Photos to quit. Check whether the Mac is still responsive and whether the external drive’s activity indicator shows activity. Large libraries and videos can take time.

If Photos truly stops responding:

  1. Wait as long as practical.
  2. Note the last library and drive being used.
  3. Force quit Photos only if necessary.
  4. Restart the Mac.
  5. Reconnect the drive.
  6. Open the backup copy rather than repeatedly modifying the only original.

If the library will not open afterward, restore the destination library from your backup and try again.

The external drive is not available

Check the cable, adapter, and power connection. Open Finder and look in the sidebar under Locations. If the drive appears but cannot be written to, verify its permissions and format.

A drive that mounts as read-only may prevent Photos from completing a migration. See How to Fix an APFS Volume That Mounts as Read-Only on a Mac.

Photos reports that the library is damaged

Quit Photos, then hold Command-Option while opening it. Photos displays a repair window. Choose Repair, authenticate if requested, and allow the process to finish.

Warning: Repair changes the library. Use it only after creating a backup. If the library is stored on an external drive, keep the drive connected and powered during the repair.

Some photos or albums are missing

Compare the merged library with the original source library. Check Recently Deleted, search by filename or date, and inspect the album list.

If you used manual export, remember that you may have exported only selected items. Export the missing content and import it separately.

Frequently Asked Questions

Can I merge two Photos libraries without losing photos?

Usually, Photos migration is the safest built-in way to combine libraries, but you should back up both libraries first. Verify the destination after migration before deleting anything.

Does merging Photos libraries remove duplicates?

Not necessarily. Overlapping libraries can produce duplicates. Review Utilities > Duplicates afterward and merge duplicate groups manually.

Will albums transfer when I merge libraries?

Many albums and folders can transfer through migration, but special projects, Smart Albums, and some shared content may require manual recreation. Check important albums after the process.

Can I merge libraries stored on an external drive?

Yes, provided the drive is connected, writable, and has sufficient free space. Avoid disconnecting it during migration. A directly connected Mac-formatted drive is generally preferable to a network or cloud-synced location.

Will merging affect iCloud Photos?

It can. The System Photo Library is the library associated with iCloud Photos. Confirm the correct library before enabling or changing iCloud Photos, and maintain a separate backup.

Can I undo a library merge?

There is no simple undo button for a completed migration. This is why a separate copy of both original libraries is essential. If the result is not what you want, restore the destination library from its backup and try a different approach.

Final Thoughts

The built-in Photos migration feature is the most practical way to combine two complete libraries while preserving more organization than a basic export and import. Back up both libraries, choose the destination carefully, keep external storage connected, and verify the result before deleting the originals. For a partial transfer, manual export and import gives you more control but requires additional organization afterward.