Where deleted files go and how to find them

When you delete a file, it usually does not vanish immediately. Most operating systems move it to a trash or recycle bin first, where it sits until you empty that bin. On Windows, deleted files go to the Recycle Bin. On Mac, they go to the Trash. On Linux, the behavior depends on your file manager, but many systems also use a trash folder. If you deleted a file in the last few days or weeks and have not emptied the bin, you can often recover it in seconds by opening that folder and restoring it.

Once you empty the trash or recycle bin, the file is no longer visible through normal browsing, but the data itself usually remains on your hard drive or solid-state drive until something else overwrites that space. This is why recovery is often possible even after deletion — the file's location is marked as available for reuse, but the actual data persists. The longer you wait after deletion, and the more you use your computer, the higher the chance that new data will overwrite the old file, making recovery impossible.

Key Takeaways

  • Check your Recycle Bin on Windows or Trash on Mac first — most deleted files sit there until you empty it, and you can restore them in one click.
  • If the bin is empty, recovery software like Recuva, EaseUS Data Recovery Wizard, or Disk Drill can scan your drive for deleted file data that has not yet been overwritten.
  • Stop using your computer immediately after realizing a file is missing, because every program you run risks overwriting the deleted file's data.
  • Recovery success depends on how long ago the file was deleted and how much you have used your computer since — the sooner you act, the better your chances.
  • External drives and cloud backups offer the best recovery option if you have been backing up regularly, since they contain untouched copies of your files.

Check the recycle bin or trash first

Open your Recycle Bin on Windows by right-clicking the desktop and selecting "Show recycle bin" or by searching for "Recycle Bin" in the Start menu. On Mac, click the Trash icon in the Dock — it looks like a trash can. Look through the files to find what you deleted. If you see it, right-click and select "Restore" on Windows or drag it back to your desktop or desired folder on Mac. The file returns to its original location or wherever you drag it.

If you cannot remember the exact name, sort the bin by date modified to see the most recently deleted files first. Windows Recycle Bin shows the date each file was deleted. Mac Trash shows when each item was moved there. Files usually stay in the bin until you manually empty it, though some systems are set to auto-empty after 30 days. Check your settings: on Windows, right-click the Recycle Bin, select Properties, and look for the auto-delete option. On Mac, go to Finder > Settings > Empty Trash Automatically and check if it is turned on.

Use recovery software if the bin is empty

Recuva (Windows only, free) scans your drive and shows deleted files it finds. Download it from the official Piriform website, install it, and run a scan on the drive where the file was deleted. Recuva displays results by file type and shows a green, yellow, or red indicator for each file — green means recovery is likely, red means the file is probably overwritten. Select the files you want and click "Recover" to save them to a new location.

EaseUS Data Recovery Wizard (Windows and Mac, free version available) works similarly. Download the free version, select the drive to scan, and wait for the scan to complete. The free version recovers up to 2 GB of data. Paid versions remove this limit. Disk Drill (Windows and Mac, free version available) offers a similar approach with a clean interface and also includes a backup feature to prevent future data loss.

All three tools scan your drive by looking for file signatures — patterns of data that mark the beginning and end of files. They cannot may provide recovery, especially if the file was deleted weeks ago and your drive has been in heavy use. The scan can take anywhere from a few minutes to several hours depending on drive size and how fragmented the deleted data is. Save recovered files to a different drive than the one you are scanning from, to avoid overwriting other deleted data.

Stop using your computer immediately

The moment you realize a file is missing, stop using your computer. Every program you open, every file you save, every email you download, and every web page you browse writes data to your drive. That data can overwrite the space where your deleted file sits, making recovery impossible. If you are on a laptop, shut it down. If you are on a desktop, close all programs and avoid opening anything new.

If the file was on an external drive, unplug it immediately and do not plug it back in until you are ready to run recovery software. The same principle applies: the less activity on the drive, the better the chance the deleted file remains intact. If you need to use your computer for something urgent, use a different device if possible. Even a few minutes of normal use can make the difference between a recoverable file and one that is gone for good.

Check cloud backups and external drives

If you have been backing up to cloud storage like Google Drive, OneDrive, Dropbox, or iCloud, check the trash or bin in those services. Google Drive keeps deleted files in Trash for 30 days. OneDrive keeps them for 93 days. Dropbox keeps them for 30 days unless you have extended versioning. Open the service on a web browser, find the trash section, and restore the file from there. This is the fastest and most reliable recovery method if a backup exists.

External hard drives and USB drives that you have been using for backups may also contain the file. Plug in the external drive and browse to the folder where you normally keep that file type. If you find it there, copy it back to your computer. Time Machine on Mac and File History on Windows both create automatic backups if you have set them up. On Mac, open Time Machine from the menu bar and browse to the date before you deleted the file. On Windows, go to Settings > System > Storage > Advanced Storage Options > Backups and look for File History.

Understand what recovery software can and cannot do

Recovery software cannot recover a file that has been overwritten. Once new data occupies the same drive space, the old file is gone permanently. Recovery software also cannot recover files from a drive that has been physically damaged, though some data recovery services can extract data from damaged drives for a high fee. If your drive makes clicking or beeping sounds, do not run recovery software — take it to a professional instead, as continued use can cause more damage.

Recovery software works best on drives that have not been used much since the deletion. A drive that has been in daily use for weeks after a deletion has a much lower recovery rate than one used for only a few days. Solid-state drives (SSDs) are harder to recover from than traditional hard drives because SSDs automatically erase unused space through a process called TRIM, which permanently removes deleted file data. If your file was on an SSD, recovery is less likely, especially if the deletion was weeks ago.

Set up backups to prevent future data loss

The best way to handle deleted files is to prevent the situation from happening in the first place. Set up automatic backups using cloud storage, an external drive, or both. On Windows, enable File History by going to Settings > System > Storage > Advanced Storage Options > Backups, selecting an external drive, and turning it on. On Mac, open System Settings > General > Time Machine, click "Add Backup Disk", select an external drive, and let it run automatically.

For cloud backups, enable automatic sync in Google Drive, OneDrive, Dropbox, or iCloud. These services keep version history, so even if you accidentally overwrite a file, you can restore an older version. Most offer 30 to 93 days of version history on the free plan. If you work with important files, consider a paid plan with longer retention. A combination of cloud backup and external drive backup gives you multiple recovery options if something goes wrong.

Frequently Asked Questions

Can I recover a file deleted from an external drive?

Yes, using the same methods as an internal drive. Unplug the external drive immediately after realizing the file is missing, then plug it into another computer and run recovery software on it. This prevents your computer from writing new data to the external drive while you work. If the external drive is damaged or not recognized, do not keep plugging and unplugging it — take it to a data recovery service instead.

How long does recovery software take to scan a drive?

A quick scan usually takes 5 to 15 minutes and searches for recently deleted files. A deep scan can take 1 to 8 hours depending on drive size and how fragmented the data is. You can usually pause and resume a scan, so you do not have to run it all at once. Start with a quick scan — if it finds your file, you are done. If not, run a deep scan overnight.

What if recovery software finds my file but says it is in red or bad condition?

Red means the file is likely overwritten and recovery is unlikely, but you can still try. Select it and attempt recovery — sometimes the software is overly cautious. If recovery fails, the file is probably gone. If it succeeds but the file is corrupted (will not open or plays incorrectly), the data was partially overwritten. There is no way to fix a corrupted file recovered this way.

Is it safe to use recovery software on my main drive while Windows or Mac is running?

It is safer to run recovery software on a different drive than the one you are trying to recover from. If you must scan your main drive, close all other programs first and avoid using your computer during the scan. Better yet, remove the drive from your computer, plug it into another computer as an external drive, and run recovery software from there. This prevents your operating system from writing new data to the drive you are scanning.

Can I recover files deleted from a formatted drive?

Yes, formatting does not erase the data — it only erases the file system that tells your computer where files are located. Recovery software can scan a formatted drive and find the old files. However, the longer the drive has been in use after formatting, the lower the recovery rate. If you formatted the drive and have not used it much since, your chances are good.