Where deleted files actually go

When you delete a file, your operating system does not erase it immediately. Instead, it marks the space as available for new data and hides the file from view. The file remains on your device until new information overwrites that space — which can take days, weeks, or longer depending on how much you use the device.

This window is your recovery opportunity. The sooner you stop using the device after deletion, the better your chances. Every file you create, download, or save after the deletion shrinks the chance that the original file is still intact.

Key Takeaways

  • Stop using your device immediately after noticing a file is missing, because new data can overwrite the deleted file and make recovery impossible.
  • Windows users can check the Recycle Bin first; Mac users should check Trash — deleted files sit there for weeks before permanent removal.
  • Built-in recovery tools like Windows File History and Mac Time Machine can restore files if you set them up before the deletion happened.
  • Third-party recovery software can find deleted files that are no longer in the trash, but success depends on how much new data has been written since deletion.
  • Cloud storage services like Google Drive, OneDrive, and iCloud keep deleted files in a trash folder for 30 to 90 days before permanent removal.

Check your trash or recycle bin first

On Windows, open File Explorer and click Recycle Bin in the left sidebar. On Mac, click the Trash icon in the dock (usually at the far right). On Android, open Google Files and tap the Trash folder. On iPhone, open Photos and tap Albums, then Recently Deleted.

If your file is there, right-click it (or long-press on mobile) and select Restore or Put Back. The file returns to its original location. Files in the Recycle Bin or Trash typically stay there for 30 days before Windows or Mac permanently removes them, though you can empty it manually at any time.

Restore from a backup if you have one

If you set up File History on Windows before the deletion, you can recover the file without third-party software. Open File Explorer, navigate to the folder where the file was, right-click the empty space, and select Restore previous versions. Choose the date before you deleted the file and click Restore.

Mac users with Time Machine enabled can click the Time Machine icon in the menu bar, select Enter Time Machine, navigate to the date before deletion, and click Restore. Both tools only work if you turned them on before the file disappeared — they cannot recover files if backups were never created.

If you use cloud storage like Google Drive, OneDrive, Dropbox, or iCloud, the file may still be in that service's trash. Open the web version or app, find the Trash or Recently Deleted folder, and restore from there. Most cloud services keep deleted files for 30 to 90 days.

Use recovery software for files no longer in trash

If the file is not in your Recycle Bin or Trash and you have no backup, recovery software can scan your device for deleted files. Common options include Recuva (Windows, free), EaseUS Data Recovery Wizard (Windows and Mac, free version available), and DiskDigger (Windows and Mac, free version available).

Download the software on a different device if possible, then transfer it to the device with the missing file using a USB drive. This prevents the recovery software itself from overwriting the deleted file. Install it, run a scan of the drive where the file was located, and look for your file in the results.

Recovery software works best on devices that have not been used much since the deletion. If you have been actively using the device — downloading, installing programs, saving new files — the deleted file may already be overwritten and unrecoverable. The software can still find fragments, but the file may not open or may be corrupted.

What to do if recovery fails

If the file cannot be found or recovered software returns a corrupted version, the data has likely been overwritten. At this point, recovery is not possible without professional data recovery services, which cost hundreds to thousands of dollars and work only on certain types of devices.

For important files going forward, set up automatic backups now. Windows users should enable File History in Settings under System > Storage > Advanced storage options. Mac users should turn on Time Machine in System Settings under General > Time Machine. Both are free and run in the background.

Prevent future deletions with version history

Cloud storage services offer version history, which lets you recover not just deleted files but also earlier versions of files you edited. In Google Drive, right-click a file and select Version history. In OneDrive, click the file and select Version history from the top menu. You can restore any previous version from the past 30 to 90 days.

This is different from trash recovery — version history works even if you permanently deleted the file from trash. It also protects against accidental edits: if you saved over a file with the wrong content, you can restore the earlier version without losing work.

Frequently Asked Questions

Can I recover a file I deleted months ago?

Only if you have a backup or cloud storage version from before the deletion. If the file was never backed up and you have been using the device regularly since deletion, the space has likely been overwritten and recovery is not possible. Professional data recovery services exist but are expensive and not may provide to work.

Does emptying the Recycle Bin permanently delete files?

Emptying the Recycle Bin removes the file from view and marks the space as available for new data, but the file itself may still be on the drive until that space is overwritten. Recovery software can sometimes find these files. However, once new data is written to that location, permanent deletion occurs.

What if the file was on an external drive or USB stick?

Stop using the external drive immediately and do not plug it in again until you have recovery software ready. External drives are often used less frequently than internal drives, so the deleted file is more likely to still be intact. Follow the same recovery software steps, but run the scan on the external drive instead.

Can I recover files deleted from a phone or tablet?

Android and iPhone both move deleted files to a Recently Deleted or Trash folder first, usually for 30 days. Open the Photos app and look there. For other file types on Android, use Google Files and check the Trash folder. If the file is not in trash, third-party recovery apps exist but are less reliable on phones than on computers because phone storage is managed differently.

Does restarting my device help recovery?

Restarting does not hurt recovery chances, but it also does not help. What matters is how much new data has been written since deletion. Restarting does not write new data, so it does not reduce your chances — but continuing to use the device normally will.