How can I recover my Photo library after deletion?

Somehow when I was deleting some old files my photo app ended up in the trash aswell. I’ve tried ‘putting back’ but it constantly says preparing to move and doesn’t actually move. It’s a 105gb file and was preparing to move for 4 days which isn’t right. Why can’t I and how do I move it back?




[Re-Titled by Moderator]

MacBook Pro 16″, macOS 15.2

Posted on Feb 4, 2025 1:57 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 4, 2025 3:30 AM

When your Photos are all in iCloud Photos, you need just to create a new, empty Photos Library.

  • Quit Photos, if it is running.
  • Hold down the options key ⌥ while you are launching Photos again.
  • Release the options key, when you are seeing the dialog to select a library. Click the button to create a new library.



  • When the new library opens in Photos, open the Photos > Settings > General.
  • Click "Use as System Photos Library"
  • Open the iCloud tab in the Settings, then enable iCloud Photos and wait for your photos to come back from iCloud.


Once you have your photos back, we can try to get rid of the library in the Trash.


10 replies
Question marked as Top-ranking reply

Feb 4, 2025 3:30 AM in response to Nelliebellie12

When your Photos are all in iCloud Photos, you need just to create a new, empty Photos Library.

  • Quit Photos, if it is running.
  • Hold down the options key ⌥ while you are launching Photos again.
  • Release the options key, when you are seeing the dialog to select a library. Click the button to create a new library.



  • When the new library opens in Photos, open the Photos > Settings > General.
  • Click "Use as System Photos Library"
  • Open the iCloud tab in the Settings, then enable iCloud Photos and wait for your photos to come back from iCloud.


Once you have your photos back, we can try to get rid of the library in the Trash.


Feb 4, 2025 2:13 AM in response to Nelliebellie12

Nelliebellie, are you sure, you moved the application Photos to the Trash? The app is much smaller, just 50MB or so. I suspect, you moved the Photos Library.photoslibrary, the library where Photos is storing your Photos. The library needs to be restored to the Pictures folder, not the Applications folder.

The background process of Photos may still be trying to use the Photos Library. Have you already tried to restart your Mac to finish all running processes?


If you already had started to empty your Trash, they Photos Library may already have become damaged and useless. Then it will be safer to restore your Photos Library from your backup. What kind of backup are you keeping? Are you backing up with Time Machine? Or are you syncing your Photos with iCloud Photos?


Feb 4, 2025 2:38 AM in response to Nelliebellie12

Nelliebellie12 wrote:

Somehow when I was deleting some old files my photo app ended up in the trash aswell.

Oops.

It’s a 105gb file and was preparing to move for 4 days which isn’t right. Why can’t I and how do I move it back?

Did you mean 'photo app' - I suspect if it's a 105GB file, then you are referring to the Photos Library and not the app.


You should be able to restore your Photos Library from your Time Machine backup. (You do have a Time Machine backup, do you? :-)

Feb 4, 2025 2:33 AM in response to Nelliebellie12

Is the Pictures folder missing from the Finder sidebar, or is it missing from your user Home folder?

In the sidebar you can add Pictures back, if it is still in your Home folder.

  • Open your user home folder in the Finder, then drag the Pictures folder to the Favorites section of the sidebar.


What has happened, directly before you found your Photos Library in the Trash?

Have you used some third party software, that you have never used before?


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I recover my Photo library after deletion?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.