How to recover a file or photo you deleted by accident

A deleted document or photo is usually still sitting somewhere: the Windows Recycle Bin, previous versions of a folder, the OneDrive or Google Drive trash, Google Photos, or the Recently Deleted album on iPhone. Here is where to look, in what order, and what not to do while you look.

How to recover a file or photo you deleted by accident

Pressing the wrong key takes a second; the panic that follows lasts much longer. The good news is that computers and phones rarely destroy a deleted item right away. They park it somewhere for a while, and during that window you can bring it back yourself, without installing anything extra.

This guide covers only the recovery paths built into your operating system and the services you already use: the Windows Recycle Bin and previous versions, OneDrive, Google Drive, Google Photos, the Recently Deleted album on iPhone, your phone gallery's own trash, and the WhatsApp backup. The steps start with the easiest and most effective option.

One rule comes before all of them: stop using the drive or phone that held the file. Microsoft states it plainly โ€” the space a deleted file used is marked as free space, and any use of the computer can create new files that overwrite it.

  • Time25 minutes
  • DifficultyKolay
  • Steps10

๐Ÿงฐ What you need

  • The computer or phone the file was deleted from
  • The password for the account that may hold a backup (Microsoft, Google or Apple)
  • An internet connection, for the cloud trash folders
  • The file name, or at least the approximate date it disappeared

Steps

  1. Stop first: leave that drive and phone alone The moment you notice a file is gone, stop saving new files to that device, stop installing programs and postpone large downloads. Microsoft's Windows File Recovery page puts it this way: "If you want to increase your chances of recovering a file, minimize or avoid using your computer." The same page explains that the space used by a deleted file is marked as free space, and that any use of your computer can create files which may overwrite that free space at any time. On a solid-state drive this overwriting happens sooner. If the photo was deleted on a phone, hold off on taking new photos and videos too.
  2. Open the Recycle Bin in Windows Double-click the Recycle Bin icon on your desktop. Find the deleted item in the list, right-click it and choose "Restore"; the file goes back to the folder it came from. If the list is long, click the "Date Deleted" column header to sort by date, or type part of the file name into the window's search box. If the icon is missing from your desktop, open the Settings app, go to "Personalization" > "Themes", select "Desktop icon settings", make sure the check box for "Recycle Bin" is checked, then select "OK".
  3. If the Recycle Bin is empty, try previous versions Open File Explorer and navigate to the folder that used to contain the file or folder. Right-click on the folder name, then select "Restore previous versions". The "Previous Versions" tab lists the available previous versions of that folder. Pick a version from a date when the file was still there and select "Restore". To avoid overwriting the current version, expand "Restore" and choose "Restore to..." to put the recovered copy in a different location. This list only has entries if File History or a backup was already turned on; if it never ran, the tab looks empty.
  4. If you use OneDrive, open the OneDrive recycle bin Go to onedrive.com in a browser and sign in with either your Microsoft account or your work or school account. In the navigation pane, select "Recycle bin". Point to the file or folder you want back, select the circle check box next to it, then select "Restore". Microsoft's own page states that with a personal account you can restore files or folders deleted within the last 30 days, and that for work or school accounts you can restore items deleted within the last 93 days unless your administrator changed the retention setting.
  5. If many files went at once, roll your whole OneDrive back When a lot of files disappeared together or a folder was scrambled, go to onedrive.com and open "Settings" > "Options" > "Restore your OneDrive". Pick a date from the dropdown list, such as "Yesterday", or select "Custom date and time". Use the activity chart and activity feed to review the recent activities you want to undo; when you select the earliest activity you want to undo, every later activity is selected automatically. Then select "Restore". Microsoft describes this rollback window as the last 30 days.
  6. Check the Google Drive trash On a computer, go to drive.google.com and click "Trash" on the left; every file you deleted is listed there. Right-click the file and click "Restore" โ€” it returns to its original location, or to "My Drive" if that location no longer exists. On a phone, open the Google Drive app, go to the trash section, tap the three-dot menu next to the file and tap "Restore". Google's support page states: "Files you move to the Trash are deleted forever after 30 days." You can sort the list by "Trashed date" to see how long ago each item was thrown away.
  7. For photos, open the Google Photos trash In the Google Photos app, tap "Collections" at the bottom, then "Trash". Touch and hold the photo or video you want back, then tap "Restore" at the bottom. From a computer, go to photos.google.com, open "Trash" on the left, hover over the item, click "Select", then click "Restore" at the top right and confirm. Google's page states that photos and videos in the trash are permanently deleted after 30 days. A restored item returns to the albums it was in, to your Google Photos library, and to your phone's gallery app at the same time.
  8. On iPhone or iPad, open the Recently Deleted album Open the Photos app, swipe up, then tap "Recently Deleted" in the "Utilities" section. Tap "View Album", then use Face ID or Touch ID to unlock the album. For a single item, tap the photo or video, then tap "Recover". For several, tap "Select", select your photos or videos, tap the More button, then tap "Recover" and confirm that you want to recover them. Apple's wording is clear: "Anything in your Recently Deleted album stays there for 30 days. After 30 days, it's permanently deleted and you can't get it back."
  9. Check your Android gallery app's own trash On many Android phones the manufacturer's gallery app keeps its own trash, separate from Google Photos. Open the gallery app, open its menu or settings and look for the section named trash or recycle bin. Select the photo and use the restore command. Menu names vary by brand and version, so if you cannot find it, try typing "trash" into the gallery's search box. If this bin is empty, make sure you did not skip the Google Photos trash โ€” they are two different places, and an item missing from one can still be sitting in the other.
  10. Recover a WhatsApp photo or video from the backup WhatsApp does not keep your chat history on its servers, so the backup on your phone is the only route. On iPhone, first confirm a backup exists: go to WhatsApp > "Settings" > "Chats" > "Chat Backup" and look at the date of the last backup. If that date is before the deletion, delete WhatsApp and reinstall it from the App Store, verify your phone number, then tap "Restore Chat History". On Android, if you have an existing Google Account backup, uninstall and reinstall WhatsApp and tap "Restore" when prompted. The phone number used for backing up and restoring must be the same. Note that this brings back the entire backup rather than one photo, and messages received after the backup date can be lost โ€” so first save your current state with "Settings" > "Chats" > "Chat Backup" > "Back Up Now".

โš  This guide is general information. Yudum cannot be held responsible for the outcome of following it; for official procedures always rely on the institution's own statement. Steps and fees change over time.

Was this guide helpful?

๐ŸŽฏ Related content

Yudum

Since 1998, from all over the world โ€” chat, radio, games and more.

Join the Chat Sign up free

18+ only โ€” live chat, voice and video on Yudum are for adults. Why?

Chat since 1998

Chat rooms you can join without an account, voice and video chat, live radio around the clock, games that run in your browser and fresh content every day. No install, no fee โ€” open your browser and join in.