How to safely delete files on Mac (so you can get them back)
Most file deletions on Mac aren't really permanent. Here's how to delete safely with a recovery window.
There’s a difference between “deleted” and “gone forever.” On a Mac, you have several layers of safety net — but only if you delete the right way. Here’s how to make sure anything you delete is recoverable until you really mean it.
The Trash is your safety net
When you drag a file to the Trash or hit Cmd + Delete, the file isn’t deleted. It’s moved to ~/.Trash, where it stays until you empty the Trash. That’s your first and best safety layer.
To delete a file safely:
- Select the file in Finder.
- Press
Cmd + Delete, or drag it to the Trash in the Dock. - Done. The file is recoverable indefinitely until you empty the Trash.
What NOT to do
Two patterns will skip the Trash and make recovery much harder:
Cmd + Option + Deletepermanently deletes the selected file with no Trash stop. Avoid unless you really mean it.- Terminal
rm.rm file.txtpermanently deletes the file. Usetrash file.txtfrom Homebrew’strashtool, or use Finder.
Set Trash to auto-empty after 30 days
This is a good middle ground — files stay recoverable for a month, then auto-clear.
Finder > Settings > Advanced > “Remove items from the Trash after 30 days.”
Time Machine: the second safety layer
If you have a Time Machine backup, even a permanently deleted file may be recoverable from a snapshot. Run:
tmutil listbackups
To see your backups. Then enter Time Machine via the menu bar to browse and restore.
iCloud’s “Recently Deleted”
For files synced to iCloud Drive, deleted items go to a Recently Deleted folder for 30 days, viewable at iCloud.com > Drive > Recently Deleted. Same for Photos and Notes.
The case for not deleting
Honestly, on a modern Mac with 500 GB+ of storage, the safest move is often not deleting at all — just move files to an “Archive” folder on an external drive. Cheap, recoverable, and you don’t risk losing something you needed.
Deleting duplicates safely
The riskiest deletions are duplicates, because you can’t always tell which copy is the “good” one. The trick: never delete a duplicate without confirming the other copy is byte-identical and accessible.
Download Dupe for this specifically. It groups byte-identical files (verified by SHA-256 hash, so it’s not guessing based on size or name), shows you all copies side-by-side, and moves dupes to the Trash — never permanent delete. So even if you tick the wrong copy, you’ve got a 30-day recovery window.
$14.99 once, no subscription, and it won’t touch system files or app bundles.
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.