macOS: How to Use the Photos Repair Library Tool - MacRumors
Skip to Content

macOS: How to Use the Photos Repair Library Tool

by

If your Photos library won't open or the ‌Photos‌ app is exhibiting odd behavior on your Mac, the ‌Photos‌ Repair Library tool may fix the issue. Keep reading to learn how it works.

photos
The Repair Library tool is a hidden utility in macOS that analyses your photo library's database and repairs any inconsistencies it detects. The tool isn't guaranteed to fix all problems that can arise with photo libraries, but it is worth giving it a go before contacting Apple Support.

Before you use the ‌Photos‌ Repair Library tool, make sure you have a local backup of your photo library, either by using Time Machine or a third-party backup solution, ideally with an external drive. By default, your photo library is stored in the Pictures folder within your home folder.

If you're repairing a library that's used with iCloud Photos, iCloud will check the library after the repair process has completed to ensure everything has synced correctly.

How to Launch the Photos Repair Library Tool

  1. If ‌Photos‌ is open, close the app.
  2. While clicking the ‌Photos‌ icon to open the app, hold down the Command and Option keys at the same time.
  3. In the window that opens, click Repair to begin the repair process. Enter your user account password if prompted.
  4. Wait while the repair process completes.

photos repair tool

Depending on the size of your library, the repairs may take some time. When the process has finished, ‌Photos‌ will open the library, and with a little bit of luck, any unexpected behavior will have been resolved.

Popular Stories

Apple Event Far Out Banner

NASA Shares Photos Shot on iPhone 17 Pro Max During Artemis II Mission to the Moon

Sunday April 5, 2026 6:39 pm PDT by
NASA has shared three incredible photos shot on the iPhone 17 Pro Max by astronauts during the Artemis II mission to the Moon. Shot on iPhone 17 Pro Max (Wiseman) In February, NASA announced that the iPhone had been fully qualified for extended use in orbit, with reports indicating that each of the four crew members aboard the Orion are equipped with an iPhone 17 Pro Max for personal photos...
iphone 17 pro orange

Apple Highlights Photos Shot on iPhone During NASA's Mission to Moon

Saturday April 11, 2026 8:17 am PDT by
As we previously reported, astronauts aboard NASA's Orion spacecraft used the iPhone 17 Pro Max to take selfies of themselves with the Earth in the background during the Artemis II mission around the far side of the Moon last week. Now that the crew members have safely returned to Earth, Apple's CEO Tim Cook and marketing chief Greg Joswiak have both turned to social media to congratulate...
google photos wardrobe

Google Photos to Get AI 'Wardrobe' Feature

Wednesday April 29, 2026 3:50 pm PDT by
Google Photos is getting a new wardrobe planning feature that will help you decide what to wear. AI will pull in images of clothing from the Google Photos library, organizing clothing items into a digital closet. You will be able to put items together to create outfits, and even virtually try them with a digital avatar on to see how they'll look. The Google Photos app will show all items of...