You deleted a file you need. Maybe you emptied the Recycle Bin. Maybe a program crashed and took your work with it. Maybe a drive failed and you’re staring at a blank folder where years of photos used to be. The good news: deleted files are often recoverable. The bad news: the window for recovery gets smaller every minute you keep using the computer. Here’s exactly what to do.
The First Rule: Stop Using the Drive
When you delete a file, the data isn’t immediately erased from the drive. The operating system marks that space as “available” and removes the directory entry, but the actual data remains on the disk until something new overwrites it. Every file you save, every program you install, every Windows update that runs is potentially overwriting your deleted data. The less you use the drive, the better your chances of recovery.
Level 1: Check the Obvious Places
Windows Recycle Bin
Open the Recycle Bin on your desktop. Files stay here until you empty it or until they exceed the Recycle Bin’s size limit (default is 10% of your drive). If the file is here, right-click it and select “Restore.” It goes back to its original location.
Mac Trash
Same concept. Click the Trash icon in the Dock. If your file is there, right-click and select “Put Back.”
OneDrive, Google Drive, Dropbox
If the file was in a synced cloud folder, check the cloud service’s online trash. OneDrive keeps deleted files for 30 days (93 days for business accounts). Google Drive keeps them for 30 days. Dropbox keeps them for 30–180 days depending on your plan.
Level 2: Built-In Recovery Tools
Windows File History
If File History was enabled before the file was deleted (it’s not enabled by default), you can recover previous versions:
- Navigate to the folder where the file was
- Right-click the folder → Properties → Previous Versions tab
- Select a version from before the deletion and click Restore
Alternatively, search for “Restore your files with File History” in the Start menu for a visual file browser of your backups.
Mac Time Machine
If Time Machine was configured and backing up to an external drive:
- Open the folder where the file was
- Click the Time Machine icon in the menu bar → Browse Time Machine Backups
- Navigate back in time until you find the file
- Select it and click Restore
Time Machine is the best consumer backup tool available. If you’re not using it, set it up after this recovery.
Level 3: Data Recovery Software
If the file isn’t in the Recycle Bin and you don’t have backups, data recovery software scans the drive for files that were deleted but not yet overwritten.
Recommended Tools
- Recuva (Windows, free): Simple and effective for most situations. Made by the same company that makes CCleaner. Deep scan mode finds files even after formatting
- PhotoRec (Windows/Mac/Linux, free): Open-source, powerful, but command-line interface is intimidating. Excellent at recovering photos and documents from damaged drives
- Disk Drill (Windows/Mac, free to scan): User-friendly interface, free to preview recoverable files, paid to actually recover them
- R-Studio (Windows/Mac/Linux, paid): Professional-grade. Best option for RAID arrays, formatted drives, and complex recovery scenarios
Important Rules for Software Recovery
- Install the recovery software on a different drive than the one you’re recovering from. Installing it on the same drive could overwrite the data you’re trying to recover
- Save recovered files to a different drive. Same reason
- Run a deep/full scan if the quick scan doesn’t find your files. Deep scans take hours but find files that quick scans miss
- Don’t expect perfect file names. Recovered files may have generic names (FILE0001.jpg, etc.) because the directory entry that stored the original name was overwritten
Level 4: Professional Data Recovery
Software recovery only works if the drive is functional. If the drive is physically damaged (clicking sounds, not spinning up, not detected by BIOS), you need professional data recovery.
Professional recovery involves opening the drive in a cleanroom, repairing or replacing damaged components (heads, platters, PCB), and reading the data directly from the platters. Costs range from $300 for simple logical recovery to $1,500+ for physical recovery from damaged drives.
When to Skip Software and Go Straight to a Professional
- The drive makes clicking, grinding, or beeping sounds
- The drive isn’t detected by BIOS/UEFI at all
- The drive was dropped, submerged in water, or exposed to fire
- The data is irreplaceable (family photos, business records, legal documents) and the drive is showing signs of failure — running software recovery on a failing drive can make physical damage worse
SSD vs HDD Recovery
Recovery from SSDs is significantly harder than from HDDs. SSDs use a feature called TRIM that actively erases deleted data blocks in the background to maintain performance. Once TRIM runs (usually within minutes of deletion on a modern SSD with a modern OS), the data is gone permanently — no software can recover it.
This means: On an SSD, you have minutes, not days, to recover deleted files. On an HDD, you might have weeks or months as long as you stop using the drive.
Prevention: Set Up Backups Now
Data recovery is expensive, stressful, and not always successful. The single best thing you can do right now is set up automatic backups. Our Complete Backup Guide covers File History, Time Machine, cloud services, and the 3-2-1 backup rule.