Dupe guide

Recover deleted files on Mac

If you deleted something important, here's how to get it back — in order from easiest to last resort.

4 min read

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:

  1. Open iCloud.com in a browser and sign in.
  2. Go to Drive > Recently Deleted.
  3. 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:

  1. Open the folder where the file used to be.
  2. Click the Time Machine icon in the menu bar > "Enter Time Machine."
  3. Scroll back to a date before you deleted the file.
  4. 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:

  1. Get a Time Machine backup running on an external drive. Set it and forget it.
  2. 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.

← All Dupe tips