How to Recover Deleted Files on Mac or PC
Accidentally deleted something important? Here's how to get it back on Windows and Mac — Recycle Bin, File History, Time Machine, and recovery tools.
4 min read · Apr 1, 2026
Written with AI assistance, grounded in cited sources and checked by automated quality gates. How we create our content

General information only. This article may include AI-assisted content. While we aim for accuracy, verify important details before acting on them. Affiliate disclosure: This page may contain affiliate links. We may earn a commission at no extra cost to you.
Accidentally deleting a file is one of the most stomach-dropping moments in computing. The good news: deleted files aren't always gone for good. Here's how to recover them, from the easiest method to the last resort.
Step 1: Check the Recycle Bin or Trash (Obvious But Often Skipped)
Windows: Double-click the Recycle Bin on your desktop. If your file is there, right-click → Restore.
Mac: Click the Trash icon in the Dock. Drag the file back to your desktop or right-click → Put Back.
Files stay here until you empty the bin, so this works more often than you'd think.
Step 2: Check Cloud Backups
If you use OneDrive, Google Drive, iCloud Drive, or Dropbox, deleted files are often recoverable from those services even after you've emptied your Trash.
- OneDrive: go to onedrive.live.com → Recycle Bin (files kept for 30–93 days)
- Google Drive: drive.google.com → Trash (30 days)
- Dropbox: dropbox.com → Deleted files (30–180 days depending on plan)
- iCloud Drive: icloud.com → recently deleted
Step 3: Use File History (Windows) or Time Machine (Mac)
Windows — File History: If you had File History enabled, right-click the folder where the file was → Properties → Previous Versions tab. If backups exist, you can restore the file from a specific point in time.
Mac — Time Machine: If Time Machine is set up, open the folder where the file was, launch Time Machine from the menu bar, travel back in time to when the file existed, and click Restore.
These only work if you had backups set up before the deletion — but they're worth checking.
Step 4: Try File Recovery Software
When a file is deleted and the Recycle Bin is emptied, the file data often still exists on your drive — Windows or Mac just marks that space as available. Recovery software can find and restore it before new data overwrites it.
Free options:
- Recuva (Windows) — simple, effective, free
- TestDisk / PhotoRec (Windows & Mac) — more powerful, command-line based
- Disk Drill (Mac & Windows) — free up to 500MB recovery
Important: Stop using the drive immediately. Every file you save or program you run risks overwriting the deleted data. Run recovery software as soon as possible.
Step 5: Professional Data Recovery
If the drive has failed physically or the file hasn't been found by software, professional data recovery services can sometimes retrieve data from damaged drives. This is expensive ($300–$1,500+) and not guaranteed, but worth it for truly critical files.
How to Avoid This in the Future
- Enable Time Machine (Mac) or File History (Windows) — plug in an external drive and set it up
- Use cloud storage like Google Drive or iCloud for important documents
- Be careful with Shift+Delete on Windows — this bypasses the Recycle Bin entirely and makes recovery harder
Choosing a Backup Drive
The best recovery is one you never need. An external hard drive connected to your computer and set up with Time Machine or File History is the simplest, most reliable backup you can have — no subscriptions, no cloud, no ongoing cost.
What size to buy: 1TB is enough for most home users — it holds roughly 250,000 photos or hundreds of thousands of documents. If your internal drive is 500GB or larger, buy a drive at least 2× your internal drive's capacity so backups can accumulate history without running out of space.
What type to get:
| Drive type | Best for | Tradeoff |
|---|---|---|
| Portable HDD (spinning) | Home backup — stays on your desk | Slower than SSD; avoid drops |
| Portable SSD | Frequent travel; faster backups | 2–3× the cost per GB |
| Desktop HDD (mains-powered) | High-capacity home backups (2TB+) | Needs a power outlet |
For most home users, a portable HDD (spinning disk) in the 1–2TB range is the right choice. Seagate Backup Plus and WD Elements are the most reliable mainstream options in the $50–$80 range for 1–2TB.
One caution on portable SSDs: The read/write speed advantage matters for external storage you're actively working from (video editing, running VMs). For backups, speed is irrelevant — Time Machine and File History run in the background and can take their time. An HDD at half the price per gigabyte is the rational choice for backup-only use.
Drive encryption: Windows' BitLocker and Mac's Finder both support encrypting an external drive with a password. If your backup drive contains personal files and ever leaves the house, enable it — an unencrypted backup drive is a privacy risk if lost or stolen.
On this page
Browse topics