Where deleted files actually go
When you delete a file on Windows, Mac, or Linux, it does not vanish immediately. The file sits in a temporary holding area — the Recycle Bin on Windows, the Trash on Mac — until you empty that container. If you deleted the file recently and have not emptied the bin, you can restore it directly from there in seconds.
If you have already emptied the bin or deleted the file from a USB drive or external hard drive, the file still exists on the physical storage device. The operating system simply marks the space as available for new data. Until new files overwrite that space, recovery tools can still find and restore the original file. The longer you wait after deletion, the higher the chance that new data has overwritten it.
Key Takeaways
- Check your Recycle Bin (Windows) or Trash (Mac) first — deleted files stay there until you empty the container, and restoration takes seconds.
- If the bin is empty, use built-in recovery tools like Windows File History or Mac Time Machine if you have backups turned on.
- Third-party recovery software like Recuva, EaseUS Data Recovery, or Disk Drill can find deleted files that backups cannot, but works best if you stop using the device immediately after deletion.
- Files deleted from external drives and USB devices are harder to recover than files deleted from your main hard drive, because external storage is more likely to be reused quickly.
- Recovery success depends on how much new data has been written to the device since the deletion — the sooner you act, the better your chances.
Restore from Recycle Bin or Trash
On Windows, open File Explorer and click Recycle Bin in the left sidebar. Look for the file you deleted. Right-click it and select Restore. The file returns to its original location.
On Mac, click the Trash icon in the Dock (usually at the far right of the bottom bar). Find the file, right-click it, and select Put Back. The file returns to where it was before deletion.
This method works only if you have not emptied the bin or trash. Once you empty it, the files are no longer visible in that interface, though they may still be recoverable using other methods described below.
Use built-in backup and recovery tools
If you turned on automatic backups before the deletion, you can recover the file without third-party software. On Windows, File History creates regular snapshots of your files. Open Settings, go to System > Storage > Advanced storage options > Backups, and look for Restore files from a backup. Select the date before you deleted the file, find it in the backup, and restore it.
On Mac, Time Machine works the same way. Open System Settings, go to General > Time Machine, and click Enter Time Machine. Use the timeline on the right to navigate to a date before the deletion, find the file, and click Restore.
Both tools require that backups were running before the deletion occurred. If you never turned on backups, these methods will not help. If backups are available, this is the fastest and safest recovery method because you are restoring from a known-good copy rather than reconstructing data from disk fragments.
Recover deleted files with third-party software
Recuva (Windows only, free) is the most straightforward option for most people. Download it from ccleaner.com, install it, and run the program. Select the drive where the file was deleted, choose whether to do a quick or deep scan, and let it search. Recuva shows a list of recoverable files with a color code — green means recovery is likely, yellow means possible, red means unlikely. Select the file you want and click Recover.
EaseUS Data Recovery Wizard (Windows and Mac, free version available) works similarly. Download from easeus.com, select the drive, run a scan, and preview files before recovery. The free version recovers up to 2 GB of data. Disk Drill (Windows and Mac, free version available) offers a similar interface and also includes a Recovery Vault feature that protects deleted files from being overwritten if you enable it before deletion.
These tools work by scanning the disk for file fragments and metadata that the operating system left behind. They cannot recover files that have been overwritten by new data. Stop using the device immediately after you notice the deletion — every file you save, every program you run, and every system update increases the chance that your deleted file has been partially or completely overwritten.
Recovery from external drives and USB devices
Files deleted from USB drives and external hard drives are harder to recover than files deleted from your main computer. External storage is often reused quickly for other projects, and many recovery tools have limited ability to work with external devices depending on how they are connected.
If you deleted a file from an external drive, connect it to your computer and run Recuva, EaseUS, or Disk Drill as described above. Select the external drive from the list of available drives before scanning. Do not save any new files to the external drive while recovery is in progress.
If the external drive is not recognized by your computer at all, the problem may be a connection issue, a driver problem, or physical damage to the drive. Try a different USB cable and a different computer before assuming the drive is damaged. If it still does not appear, you may need professional data recovery, which is expensive and not always successful.
When recovery is not possible
Recovery fails when new data has overwritten the deleted file's location on the disk. This happens faster on devices that are actively used — a work laptop that saves files daily will overwrite deleted data much faster than an external drive that sits unused most of the time.
Recovery also fails if the drive has been physically damaged, if the file system is corrupted, or if the drive has been encrypted and you no longer have the encryption key. In these cases, professional data recovery services may be able to help, but they are expensive (typically $300 to $3,000 depending on the problem) and success is not may provide.
The best protection against permanent data loss is to turn on automatic backups before you need them. File History on Windows and Time Machine on Mac are built in and require only a few clicks to enable. If you use cloud storage like OneDrive, Google Drive, or iCloud, deleted files often stay in a trash folder for 30 days before permanent deletion, giving you a second chance to recover them.
Frequently Asked Questions
Can I recover a file I deleted months ago?
Possibly, but it depends on how much the device has been used since the deletion. If the device has been idle or used lightly, the deleted file may still be intact. If the device has been actively used for work or storage, new data has likely overwritten it. Try a recovery tool and see what it finds — if nothing appears, the file has been overwritten.
Is it safe to use free recovery software?
Yes, reputable free tools like Recuva, the free version of EaseUS Data Recovery Wizard, and the free version of Disk Drill are safe to download and use. They do not modify your disk during the scanning phase, only during recovery. Avoid tools from unknown sources or tools that ask for payment before showing results.
What if the file was on a work computer or shared network drive?
Files deleted from network drives and shared folders may be recoverable through your IT department or network administrator, who may have server-side backups. Contact them before trying third-party recovery software. Files on a work computer belong to your employer, and using recovery tools without permission may violate company policy.
Can I recover a file after I have reinstalled Windows or macOS?
Yes, but only if you did not format the drive during reinstallation. If you formatted the drive, recovery becomes much harder because the file system itself has been rewritten. If you did not format and only reinstalled the operating system, recovery tools can still find deleted files from before the reinstall. Try Recuva or EaseUS and see what appears.
Does emptying the Recycle Bin permanently delete the file?
No. Emptying the Recycle Bin removes the file from that interface, but the file data still exists on the disk until it is overwritten. Recovery software can still find and restore it. The file is only truly gone when new data has been written to the same disk location.