How to Recover Deleted Files on Windows and Mac

Data RecoveryFilesGuide · October 8, 2026

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:

  1. Navigate to the folder where the file was
  2. Right-click the folder → Properties → Previous Versions tab
  3. 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:

  1. Open the folder where the file was
  2. Click the Time Machine icon in the menu bar → Browse Time Machine Backups
  3. Navigate back in time until you find the file
  4. 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

Important Rules for Software Recovery

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

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.

Need help with this issue?

Book a free remote diagnosis. We’ll find the problem in 10 minutes — $99 flat rate or you don’t pay.

Book a Free Diagnosis

Related Articles

Clean Up Computer Storage

Free up space without accidentally deleting important files.

Read more →

Is Your Computer Too Old?

Aging drives are more likely to lose data — know when to migrate.

Read more →

Repair or Replace?

When data recovery costs more than a new setup, know your options.

Read more →