Historically speaking, older Apple operating systems saved your photos in your Pictures folder within your Home Folder. The parent files were accessible and the Admin user(s) could generally do whatever they wanted with them.

As Apple continued to improve the user experience, they realized that providing user access to the parent files resulted in lost photos. With the current OS, the parent files have been concealed within the iPhoto application itself to prevent users from accidentally misplacing/trashing their photos.

To break it down even further, when you open iPhoto, the pictures and thumbnails you’re viewing are just copies of the parent files that are accessed by an important iPhoto Library data file. Without this file, the application can fail to access your photos.

I’ve never been sentimental about my photos. I’ve archived thousands of photos over the years, and if I lost them tomorrow, I wouldn’t really care. But a week doesn’t go by in the Repair department without a customer informing me that the most prized files on the computer are the photos.

If you’re one of these customers who use iPhoto every day or even every week, you may have come across issues loading your photos when you launch iPhoto. This issue may involve a corrupt iPhoto Library data file. Don’t fret! There are ways to rebuild the file and regain access to your photos.

For all who don’t know, iPhoto includes a feature that allows you to rebuild the currently selected iPhoto Library. Sometimes rebuilding the library may resolve issues such as file-reading issues related to the iPhoto Library structure or missing photos.

Important: You should back up your existing iPhoto Library before using the rebuild feature. A backup allows you to restore the iPhoto Library if anything unexpected happens during the rebuild that prevents it from rebuilding correctly.

Before performing a rebuild, you should install any iPhoto updates by using Software Update. If a software update resolves your issue, then you don’t need to rebuild. It’s also a good idea to search Apple’s Support Page for your specific iPhoto symptom before doing a rebuild, just in case there is a more specific article or relevant solution.

To rebuild the iPhoto library:

  1. Quit iPhoto if it is open.
  2. Hold down the Command and Option keys on the keyboard.
  3. Open iPhoto.
  4. Keep the keys held down until you are prompted to rebuild the library.
  5. A dialog will appear with rebuild options. Select the options you want to use.
  6. Click Rebuild to begin the rebuild process. This may take a few minutes to complete.

Use these guidelines to determine which options to choose in the rebuild dialog:

  • Select the option(s) to rebuild thumbnails only if the thumbnails appear to be an issue (gray, blank, missing or mismatched).
  • Select the option to recover orphaned photos if photos appear to be missing from the iPhoto Library. iPhoto will examine the library folder for any photos that are not currently being displayed in Albums or Events in the iPhoto source list.
  • In iPhoto ’08 and later, select the option to examine and repair iPhoto Library file permissions if it appears that you cannot edit certain photos or if the iPhoto Library will not open. See “iPhoto 6 can’t open due to permissions alert” for more information.
  • In iPhoto ’08, select the option to “Rebuild the iPhoto Library database” if iPhoto unexpectedly quits when opened or does not get past loading photos.
  • In iPhoto ’09, select the option to “Rebuild the iPhoto Library Database from automatic backup” if iPhoto unexpectedly quits when opened or does not get past loading photos. This option is similar to the option to “Rebuild the iPhoto Library database” in iPhoto ’08, except that it has the added ability to regenerate a database from an automatically backed up library database. Also, after rebuilding your library database using this option, your original database files can be found in the “Before Restore” folder inside the library package.
  • In iPhoto ’11, select the option to “Repair the iPhoto Library Database” to check the iPhoto Library database for inconsistencies and repair them, if necessary. iPhoto ’11 also includes the option to “Rebuild the iPhoto Library Database from
    automatic backup,” which performs the same functions as it does in iPhoto ’09, but should only be attempted if the “Repair the iPhoto Library Database” option does not help.

Note: Any “recovered” photos may not appear in their original album in the source list. However, they should appear in the newly created “Recovered Photos” album in the source list.

Additional Information:

iPhoto 9.3 and later introduces a new Library First Aid dialog in place of the previous rebuild options.