How to Recover Deleted Photos: Step-by-Step Guide

Advertisement

Whether you can recover deleted photos depends mostly on two things: where the photo was stored and how long ago it was deleted. A photo in a phone's trash folder or in a cloud account can be restored in seconds. A photo on a camera's SD card often can still be rescued with free software. A photo deleted from a modern phone's internal memory or from a computer's SSD, with no backup, is frequently gone for good.

This guide goes through the checks in the order that gives you the best chance, explains why the type of storage matters so much, and shows how to use a free tool, PhotoRec, to rescue images from a memory card.

Step 1: Stop adding new data

When a file is deleted, the operating system usually marks its space as free without erasing the contents right away. Anything new you save, such as photos, app updates or downloads, can be written into that space and overwrite the old data. If the photos were on a memory card, remove the card from the camera or phone and do not take more pictures with it until you have tried to recover them.

Step 2: Check the built-in trash folders

  • iPhone and iPad: in Photos, open Recently Deleted under Utilities. Items stay there for 30 days, and the album is unlocked with Face ID, Touch ID or the passcode. Select the items and tap Recover.
  • Google Photos: deleted items stay in the trash for 30 days, whether or not they were backed up. You can also check the trash on a computer at photos.google.com/trash.
  • Samsung Galaxy Gallery: the Gallery recycle bin keeps photos and videos for up to 30 days, but only if the recycle bin was turned on in Gallery settings before the deletion.
  • Windows and Mac: photos deleted from a computer usually go to the Recycle Bin or the Trash first.

Before giving up, also look in places where photos are hidden rather than deleted. In Google Photos, the Archive removes items from the main view without deleting them, and the Locked Folder keeps items separate from the rest of the library.

Advertisement

Step 3: Check the cloud and other copies

Deleting a photo in Google Photos removes it from synced devices and albums, but not from Google Drive, Gmail, Blogger or YouTube. So if you once emailed a picture or saved it to Drive, a copy may still exist there. On iPhone, photos synced with iCloud Photos can also be recovered at iCloud.com, in the Recently Deleted section of Photos. Microsoft OneDrive keeps deleted files in its recycle bin for 30 days on personal accounts, and Dropbox keeps them for at least 30 days, depending on the plan.

Why the type of storage matters

Memory cards (SD and microSD)

Cameras and many older phones save photos on SD cards formatted with the FAT32 or exFAT file systems. Windows does not send the TRIM command on exFAT or FAT32 file systems, so deleted data on a card usually stays where it was until something new overwrites it. That is why recovery from cards is often successful.

SSDs and phone internal memory

Solid-state drives work differently. With TRIM, the operating system tells the drive which blocks are no longer in use, and the drive can erase them internally during routine maintenance. After that, recovering the deleted data can be difficult or impossible. Microsoft also warns, in its own recovery tool documentation, that free space on an SSD may be overwritten. Phones also store photos in flash memory, so the same limits apply to their internal storage.

Traditional hard drives

Spinning hard disks do not erase deleted sectors on their own, so undelete tools have a good chance as long as the disk has not been heavily used since the deletion.

Step 4: Recover photos from a memory card with PhotoRec

PhotoRec is free, open-source software written by Christophe Grenier and distributed by CGSecurity under the GNU GPL since 2002. It runs on Windows, macOS and Linux and ships together with TestDisk. Instead of relying on the file system's index, it uses file carving: it reads the card block by block and recognizes the start of known file types, more than 480 file extensions in total. It never writes to the card being scanned.

  1. Insert the card into a card reader connected to your computer. Do not open or format it if the computer says it is unreadable.
  2. Run PhotoRec (it opens in a text window) and select the card from the list of disks. Check the size to be sure you picked the right one.
  3. Choose the partition. When asked for the file system type, pick the generic option ("Other") for FAT, exFAT or NTFS cards.
  4. Choose whether to scan only the free space (for deleted photos) or the whole partition (for a corrupted card).
  5. Pick a destination folder on your computer's drive, never on the card itself, and start the scan.

Recovered files come back with generic names, without the original folders, so you will need to sort them afterward. If you prefer a graphical program on Windows, Recuva, from Piriform, can recover files from FAT, exFAT and NTFS drives, including memory cards and USB sticks, and shows preview thumbnails.

Step 5: Computers without a backup

On Windows 10 and 11, Microsoft offers Windows File Recovery, a free command-line app in the Microsoft Store. Its Regular mode is meant for recently deleted files on NTFS drives, and its Extensive mode for older deletions, formatted or corrupted disks, and all FAT and exFAT drives. The source and destination must be different drives; a typical command looks like winfr C: E: /regular /n \Users\YourName\Pictures\.

When photos cannot be recovered

  • Items removed from the Recently Deleted album or the Google Photos trash are permanently deleted, and Google states that even Google Takeout cannot bring them back.
  • Photos deleted from an SSD with TRIM enabled are often unrecoverable.
  • Large numbers of new files saved after the deletion reduce the chances on any device.

Frequently asked questions

Is it safe to install recovery software on the same drive?

No. Installing or saving anything on the drive you want to recover from can overwrite the deleted photos. Install the program on another drive and save the recovered files to a third location if possible.

Why do some recovered photos open broken?

Files are stored in fixed-size blocks that are not always next to each other. When a photo was split into fragments, carving tools may join the wrong pieces, producing a partly grey or corrupted image.

Sources