Jump to the main content
GigaGone
Search

Search GigaGone

How to Recover Deleted Files Safely on Windows, Mac and Phones

By Review by GigaGone Editorial Team Most recently reviewed Published Topic: Data Loss & Recovery

To recover a deleted file safely, stop saving new data to that device straight away, because new writes can overwrite what you lost. Then look in the easy places first: the Recycle Bin or Trash, the Recently Deleted album, cloud trash, and your latest backup. Only try recovery software if those fail, and never on a drive that is failing.

Laptop beside an external drive on a cable and a closed folder, with a NAS and memory cards on shelves behind

Part of the guide: Data Loss and Recovery: Prevention, First Steps and When to Stop

General information, not professional IT, security or legal advice; for a failing drive, a ransomware incident or a compromised account, contact the vendor’s support, your IT provider or a qualified professional. Reviewed by the editorial desk against the cited sources.

If you have just deleted something you need, the most important move is to stop using the device for anything that saves data. This guide is part of our data loss and recovery guide; it walks through the safe order of options for Windows, Mac and phones. Steps checked on 2026-11-14 against the vendor pages listed in Sources.

Step 0: stop writing to the device

When you delete a file, the system usually just marks its space as free. The data often stays until something new is saved over it. Microsoft’s own guidance says to minimize or avoid using the computer after a deletion because new files can overwrite deleted data.

In practice:

  1. Stop downloading, installing, syncing and taking new photos on that device if the lost files matter.
  2. Do not install a recovery tool onto the same drive you are recovering from. Use another computer or an external drive for the program and for the recovered files.
  3. If the drive is making noises, disconnecting or showing errors, stop altogether and read when to call a data recovery professional.

Check the easy places first

Most “lost” files are not actually gone. Work through this list in order before you try anything technical:

  1. The Recycle Bin (Windows) or Trash (Mac).
  2. The Recently Deleted or Trash album in your photos app.
  3. Cloud trash: OneDrive, iCloud Drive, Google Drive or Dropbox deleted-files areas.
  4. Version history in the app you were using.
  5. Your latest backup: Windows backup, Time Machine or iPhone backup.

Windows 11 and 10

  1. Open the Recycle Bin, right-click the file and choose Restore. It returns to its original folder.
  2. If you use OneDrive, open the OneDrive recycle bin. Microsoft says personal accounts can restore files deleted in the last 30 days; work or school accounts have 93 days unless an administrator changed it.
  3. If you use File History or another backup, restore from there.
  4. Only if those fail, consider Microsoft’s Windows File Recovery, a command-line tool from the Microsoft Store.

Using Windows File Recovery

Per Microsoft’s page, the tool is meant for files that cannot be restored from the Recycle Bin or a backup. The command format is winfr source-drive: destination-drive: [/mode] [/switches], for example winfr C: E: /regular /n \Users\<username>\Documents\. Key rules from Microsoft:

  • The source and destination drives must be different. Recovered files land in a Recovery_<date and time> folder on the destination.
  • Regular mode is for recently deleted files on NTFS drives. Extensive mode covers older deletions, formatted or corrupted disks, and FAT or exFAT devices. If unsure, start with Regular.
  • Recovery can take a long time, and success is not guaranteed.

Back up first: copy anything still readable from the drive to another disk before running a scan, using the steps in our backup guide.

Mac

  1. Open the Trash in the Dock. Right-click the item and choose Put Back, or drag it out.
  2. In Photos, open Recently Deleted (under Utilities in the sidebar), select the items and click Recover. Apple says items are permanently deleted after 30 days.
  3. If you use Time Machine, open the folder where the file lived, launch Time Machine from Spotlight, browse the timeline, select the item and click Restore. Apple says restored items return to their original location.
  4. In many apps, File > Revert To > Browse All Versions finds an earlier version of a document.

If the file is not in the Trash and you have no backup, avoid unverified “undelete” apps. Recovery from a Mac without a backup is never assured, which is exactly why backups matter.

iPhone and iPad

  1. Open Photos, go to Albums and open Recently Deleted. Select the items and tap Recover. Apple’s Mac guide states a 30-day window; check the same album on your device for the exact countdown it shows.
  2. For notes, mail, messages and files, each Apple app has its own Recently Deleted or Trash folder; open the app and look there.
  3. If an iCloud or computer backup exists, restoring a whole backup replaces current data, so back up what you have first and read how to back up an iPhone before choosing this.

Android phones

  1. In Google Photos, open Library, then Bin or Trash. Google says trashed items stay for 30 days whether or not they were backed up (on Android 11 and later), and that permanently deleted items cannot be restored.
  2. If the trash is full, Google warns that you must empty it before new deletions can be recoverable, which permanently deletes everything in it. Think before emptying.
  3. Check your file manager’s Trash or Recycle bin, and Google Drive’s Trash, for other file types.
  4. See how to back up an Android phone so the next deletion is recoverable.

When not to use recovery software

Do not run scans or repair tools if any of these apply:

  • The drive clicks, grinds, beeps, vanishes from the system or freezes the computer.
  • The drive was dropped, wet or burned.
  • The files are irreplaceable and you have no copy.

In those cases, power it down and see when to call a professional. We do not endorse any particular paid service.

Make the next deletion harmless

Keep at least one separate backup. The 3-2-1 approach (three copies, two media types, one off-site) turns “deleted by mistake” from an emergency into a two-minute restore. Also see data recovery basics.

Common mistakes that make recovery harder

  • Emptying the Recycle Bin, Trash or photo trash “to tidy up” while still hunting for the missing file. Google notes that emptying the trash permanently deletes everything in it.
  • Installing a recovery app onto the same drive the file was on, which writes new data over the space you want to rescue.
  • Saving recovered files back to the source drive. Microsoft’s tool refuses this: the destination must be a different drive.
  • Restoring a full phone backup over current data without first copying what is on the phone. Back up first, then restore.
  • Waiting. Cloud and photo trash folders have a 30-day clock, so check them as soon as you notice something is missing.
  • Trusting a tool that promises to recover everything. Nobody can promise that, and anything that asks for your account password or upfront payment before showing results should be treated with suspicion.

A quick decision path

If the file was deleted in the last 30 days, start with the trash or Recently Deleted folder of the app involved. If you use a cloud service, check its web recycle bin. If you have a backup, restore from it. If none of those work and the drive is healthy, try the vendor’s own tool from a second drive. If the drive is failing, stop and ask a professional.

Questions readers ask

Can deleted files always be recovered?

No. Files still in the Recycle Bin, Trash, Recently Deleted album or a backup can usually be restored. Once a file is permanently deleted, recovery depends on whether the storage space has been reused. Phones and SSDs often make this harder, so never count on recovery software. A backup is the only dependable way to get files back.

What should I do first after deleting something by accident?

Stop saving, installing or downloading anything on that device, because new data can overwrite the space the file used. Then check the Recycle Bin, Trash or Recently Deleted album, then cloud trash, then your latest backup. Only after those fail should you consider recovery software, run from a different drive.

How long do deleted photos stay in Recently Deleted?

Apple's Photos guide for Mac says items stay in Recently Deleted for 30 days and are then permanently deleted. Google Photos also keeps trashed items for 30 days. Check your own phone's Recently Deleted or Trash album soon, because the clock starts when you delete the item, not when you notice it is gone.

Is free recovery software safe to use?

Recovery tools from the operating system vendor, such as Microsoft's Windows File Recovery, are the safest starting point. Unknown free tools can be bundled with adware or malware, and installing any program on the affected drive risks overwriting the lost data. If the files matter a lot, ask a professional before experimenting.

Should I run recovery software on a failing drive?

No. If the drive clicks, disconnects, freezes the computer or shows errors, every extra read can make it worse. Power it down and consider a professional service, as described in our guide on when to call a data recovery professional. Scanning a healthy drive is low risk; scanning a failing one is not.

Can I recover files after emptying the Recycle Bin?

Sometimes. Microsoft's Windows File Recovery can try, using Regular mode for recent deletions and Extensive mode for older ones, but success is not guaranteed and it must save to a different drive. Restoring from File History, OneDrive or another backup is more reliable than scanning the disk.

Further reading

  1. Microsoft Support: Windows File Recovery (support.microsoft.com)
  2. Apple Support: Delete photos and videos or recover deleted ones in Photos on Mac (support.apple.com)
  3. Apple Support: Restore files on Mac (Time Machine) (support.apple.com)
  4. Google Photos Help: Delete and restore photos and videos (support.google.com)
  5. Microsoft Support: Restore deleted files or folders in OneDrive (support.microsoft.com)

Worth reading next

Back to top