Recover deleted files on Mac
If you deleted something important, here's how to get it back — in order from easiest to last resort.
You deleted something and immediately regretted it. Before you panic or pay $80 for a recovery tool, work through the standard recovery paths in order. Most files are recoverable for free.
1. Check the Trash
Open the Trash from the Dock. If your file is there, right-click it and choose “Put Back” — macOS returns it to its original location. This is the answer 80% of the time.
2. Undo if you just did it
If you deleted seconds ago and haven’t done anything else:
Cmd + Z
In Finder, this undoes the most recent action including a delete. Works only for the most recent operation.
3. iCloud’s Recently Deleted
For files synced to iCloud Drive:
- Open iCloud.com in a browser and sign in.
- Go to Drive > Recently Deleted.
- Find your file, click "Recover."
Files stay there for 30 days. Same flow exists for Photos (Photos app > Recently Deleted) and Notes.
4. Time Machine
If you have a Time Machine backup:
- Open the folder where the file used to be.
- Click the Time Machine icon in the menu bar > "Enter Time Machine."
- Scroll back to a date before you deleted the file.
- Select it and click "Restore."
5. Local snapshots
Even without a Time Machine drive attached, macOS keeps local snapshots. Check:
tmutil listlocalsnapshots /
If snapshots exist from before you deleted, you can mount them manually or use Time Machine to restore (some snapshots may not show in the UI).
6. Recovery software
If nothing above worked, third-party recovery tools (Disk Drill, Data Rescue) can sometimes recover files from the raw disk — but success depends on whether macOS has overwritten the disk space, and on modern SSDs with TRIM enabled, the odds are low.
Important: stop using the Mac as much as possible until you try recovery, to avoid overwriting the deleted data.
How to avoid this next time
Two habits prevent 95% of “I deleted something I needed” moments:
- Get a Time Machine backup running on an external drive. Set it and forget it.
- Use tools that don't permanent-delete. For duplicate hunting specifically, Download Dupe — it always moves files to the Trash, never permanent deletes. So if you bin the wrong copy, it's still there for 30 days.
Dupe is $14.99 once, hashes files with SHA-256 for accurate matching, and won’t touch system files. Cheap insurance against your own mistakes.
More Dupe tips
-
Apple Photos Duplicates album — what it catches and what it misses
The Photos app Duplicates album is handy, but it has real limits. Here's what it finds, what it doesn't, and how to fill the gaps.
-
Clean up leftover files from uninstalled apps on Mac
Dragging an app to the Trash doesn't remove all its data. Here's where the leftovers live and how to clean them.
-
Clean up your Mac without buying a cleaner app
Most paid cleaner apps do things macOS already does. Here's a free, manual workflow that's just as effective.
-
A no-bullshit guide to cleaning up your Mac's disk
Skip the SEO bait and the sketchy cleaner apps. Here's what actually works to reclaim disk space on a Mac.