Guides · 13 November 2026 · 3 min read

Deleted the wrong file on your Mac? Three ways to get it back

Emptied the Trash, ran a cleaner, or saved over a file? Here are the ways to recover deleted files on a Mac, from the simplest to the last resort.

It happens to everyone: you empty the Trash and a minute later remember what was in it. Or a cleaner app "optimised" a folder you needed. Work through these in order, from easiest to hardest.

1. Check the obvious places first

2. Time Machine

If you have a Time Machine backup, open the folder the file used to be in, then choose Browse Time Machine Backups from the Time Machine menu, go back in time and click Restore. The catch: you need to know which folder, and roughly when.

3. If you cleaned with Sweepvault: the Undo Vault

Most cleaners delete permanently. Sweepvault doesn't. Personal files you clean and apps you uninstall wait in the Undo Vault for 30 days, with their original location, size and how many days are left. Click Restore and the file goes back exactly where it was.

Sweepvault Recovery tab: Undo Vault listing removed items with Restore buttons
Recovery: the Undo Vault lists everything removed, where it came from, and the days left. Restore puts it back.

The Recovery tab has three layers:

Every cleanup, uninstall and restore is also written to History, so you can always see what happened and when.

4. Last resort: data recovery software

On modern Macs with SSDs and FileVault, deleted data is usually gone quickly, because the disk erases freed blocks in the background (TRIM). Recovery apps work best on external drives and memory cards. If the file matters, stop writing to that disk and try one straight away.

Prevention beats recovery

Sweepvault cleans for free, forever, and keeps what you remove in a 30-day undo vault. Pro adds file recovery for $12.99/year or $29.99 once (up to 3 Macs), with a 7-day free trial in the app.
See Sweepvault →

Quick answers

Can I recover files after emptying the Trash on a Mac?

Not with macOS alone, unless you have a Time Machine backup or the files were in iCloud Drive (Recently Deleted keeps them for 30 days). Sweepvault Pro adds a Trash Safety Net that can undo an emptied Trash for up to 30 days once it is turned on.

How do I restore a file from Time Machine?

Open the folder where the file was, choose Browse Time Machine Backups from the Time Machine menu, go back to a date when the file existed, select it and click Restore.

What is the Sweepvault Undo Vault?

A holding area on the same disk. Personal files that Sweepvault cleans and apps it uninstalls wait there for 30 days and can be restored to their original place with one click. It is free.

More guides

How to free up space on your Mac without deleting anything you need3 min readHow to completely uninstall an app on Mac (and clean up leftovers of apps you already deleted)3 min readMac running slow? Check what starts by itself before you buy a "RAM booster"3 min read