How to recover files after emptying the Trash on a Mac

You can’t undo Empty Trash. To recover files after emptying the Trash on a Mac, here’s where a copy may still exist, in the order to check.

An empty trash can beside a laptop, with a cloud and an external drive nearby.

You can’t undo Empty Trash. Apple’s Mac User Guide says emptied items “are permanently deleted and are no longer available.” To get a file back, you need a copy saved somewhere else before the delete, so check the places below in order.

The quick answer

Work down this list until you find the file.

  1. Look in the Trash again. If the file is there, Put Back returns it.
  2. Open Time Machine if you ever set it up. Do it today: the copies it keeps on your Mac last up to 24 hours.
  3. Check iCloud.com. Files deleted from iCloud Drive can be recovered for 30 days.
  4. Check the app’s own Recently Deleted in Photos, Notes, Messages or Mail.
  5. Check Dropbox, Google Drive or OneDrive if the file was in a synced folder.
  6. Look for another copy: a sent email, another device, a fresh download.
  7. Try recovery software last. On a recent Mac’s built-in drive, don’t count on it.

Before you start

Then note the folder the file was in before you moved it to the Trash, and roughly when. Step 2 needs both.

How to recover emptied Trash on a Mac: where to look, in order

1. Look in the Trash again

Safe. The file may have gone into the Trash after you last emptied it.

  1. Click the Trash in the Dock.
  2. If the file is there, select it and choose File > Put Back, or drag it out. Put Back returns it to its original location.
Why a file can leave the Trash on its own
  • The 30-day setting. If “Remove items from the Trash after 30 days” is selected in Finder > Settings > Advanced, macOS removes items automatically. Apple says they’re permanently deleted.
  • iCloud Drive files. They’re emptied from the Trash after 30 days, whatever that setting says.
  • Delete Immediately. Control-clicking an item in the Trash and choosing Delete Immediately removes that one item for good.

2. Restore from Time Machine

Safe to look. Check first before you restore more than the one file.

This works only if Time Machine was set up on this Mac before the delete. If it never was, go to step 3.

It keeps copies on your backup disk and, for up to 24 hours, on your Mac itself. To get the file back, follow Apple’s Time Machine restore guide:

  1. Connect your backup disk, if you have one.
  2. In the Finder, open the folder the file was in before you moved it to the Trash, such as Documents. For a file on the desktop, you don’t need a window.
  3. Open Time Machine. On macOS Tahoe 26 and macOS 27, use Spotlight. On macOS Sequoia 15, it’s in Launchpad, in the Other folder.
  4. Use the arrows and the timeline to go back to when the file was still in that folder.
  5. Select the file and click Restore. It returns to its original location.
Where Time Machine keeps copies, and if you forgot the folder
  • On your backup disk: hourly backups for the past 24 hours, daily backups for the past month and weekly backups for everything older. The oldest are deleted when the disk is full.
  • On your Mac: local snapshots, read-only copies of your disk at one moment. They’re saved about once an hour and kept for up to 24 hours each. Time Machine uses them automatically when your backup disk isn’t available.
  • Can’t remember the folder? Type the file’s name in a Finder window’s search field. Then click the Time Machine icon in the menu bar and choose Browse Time Machine backups.
Prefer Terminal? See if your Mac holds snapshots

Terminal is the Mac’s built-in app for typing commands. Run:

tmutil listlocalsnapshotdates /

It lists the date and time each local snapshot was made, written as YYYY-MM-DD-HHMMSS, and changes nothing. If only a heading appears, there are none.

An external drive with a clock beside it and a stack of folders
Fig. 1Time Machine’s copies on your Mac last up to 24 hours, so check them today.

3. Check iCloud Drive’s Recently Deleted

Safe. This applies if the file lived in iCloud Drive. That includes your Desktop and Documents folders if you turned on Desktop & Documents Folders.

Apple says files deleted from iCloud Drive can be recovered for 30 days. To look, use iCloud.com’s Recently Deleted:

  1. Go to icloud.com/iclouddrive and sign in.
  2. Select Recently Deleted in the sidebar.
  3. Select the file, then select Recover.
Not there? Try Data Recovery, and does emptying the Mac’s Trash clear iCloud?

Apple’s next suggestion is Data Recovery: go to icloud.com/recovery, select Restore Files, choose the file and restore it. While a restore runs, don’t edit or delete anything in iCloud Drive. Apple warns that can interrupt it.

Apple’s pages don’t say whether emptying the Trash on your Mac also removes a file from Recently Deleted on iCloud.com. Apple’s Mac guide sends iCloud Drive users to iCloud.com to restore deleted items, so it’s worth a look.

A file you remove from Recently Deleted on iCloud.com can’t be recovered.

4. Check the app’s own Recently Deleted

Safe. Some apps don’t use the Trash in the Dock. Each keeps what you delete in its own place, on its own clock.

  • Photos: 30 days. Click Recently Deleted in the sidebar, select the items and click Recover.
  • Notes: up to 30 days. Drag a note from Recently Deleted to another folder.
  • Messages: up to 30 days. Choose View > Recently Deleted, select the conversation and click Recover.
  • Mail: until erased. Drag the message from the Trash mailbox to another mailbox.
Photos after 30 days, Notes outside iCloud, and Mail settings
  • Finding Photos’ Recently Deleted. On macOS Tahoe 26 and macOS 27 it’s below Utilities in the sidebar. Unlock it if asked.
  • Mail’s Trash mailbox. This works if the account has a Trash mailbox set.
  • Messages storage. See also Messages storage.
  • Photos after 30 days. Apple says a Time Machine backup may still have them. That restores the whole photo library to its state at the last backup. Apple’s page doesn’t say what happens to photos added since, so it’s a Check first.
  • Notes outside iCloud. In a notes account that isn’t iCloud, or an iCloud account that hasn’t been upgraded, a deleted note is removed permanently.
  • How long Mail keeps them. It’s set for each account in Mail > Settings > Accounts > Mailbox Behaviors, under “Erase deleted messages.”
A photo and a document resting beside a small calendar
Fig. 2Photos, Notes and Messages each keep their own Recently Deleted, for up to 30 days.

5. Check Dropbox, Google Drive and OneDrive

Safe. If the file was in a folder one of these services syncs, its website may still hold it.

  • Dropbox: 30, 180 or 365 days, by plan. Look on its Deleted files page.
  • Google Drive: 30 days, then deleted forever. Open Trash on drive.google.com, right-click the file and click Restore.
  • OneDrive: 30 days, or 93 at work or school. Use its website.
Plan details, permanent deletes and online-only files
  • Dropbox keeps deleted files for 30 days on Basic, Plus and Family plans, and for 180 or 365 days on its other plans.
  • OneDrive’s 93 days for work or school accounts applies unless an administrator changed it.
  • A Dropbox file removed with Delete permanently can’t be recovered.
  • Microsoft says files deleted from the cloud, including online-only files, don’t appear in your Mac’s Trash. So OneDrive’s website is the place to look.

6. Look for another copy

Safe. Look for a twin:

  • Search by name. Type the file’s name in Spotlight. A copy may sit in another folder.
  • Check what you sent. An email or message may still hold it as an attachment.
  • Check other devices and drives: another computer, an external drive, a camera’s memory card.
  • Download it again. App Store apps are listed under Apps & Purchase History, ready to redownload.
One more place: iCloud Drive (Archive)

Look for an iCloud Drive (Archive) folder in your home folder. Apple lists it as a place to check, if it exists.

Does recovery software work on an emptied Trash?

Check first. Sometimes, on some drives. On the built-in drive of a recent Mac, don’t count on it.

Recovery apps look for the contents of deleted files still on the drive. Apple’s own documents accept that this can work. But a modern Mac’s built-in drive is different, so there’s no honest success rate to quote. We haven’t tested recovery apps and don’t recommend one.

Why a modern Mac’s built-in drive is different
  • TRIM. After files are deleted, APFS (the disk format modern Macs use) tells the drive that data is no longer valid. The drive can then skip that data when it tidies up its storage.
  • Encryption. On a Mac with Apple silicon or the T2 chip, the built-in storage is encrypted even with FileVault off. The key is protected by hardware inside that Mac.
If you still want to try
  • Write as little as possible to the drive. Writing over free space is what puts deleted files out of reach. So don’t download big files to that drive, and save anything you recover to a different one.
  • Get the app from the App Store or its developer’s own site. By default, macOS requires apps from outside the App Store to be notarized, which means Apple checked them for known malware.
  • Pay only after you’ve seen the file itself open, not just its name in a list.
What Apple’s documents say, in detail
  • The diskutil manual on macOS Tahoe 26 describes writing over a disk’s free space as a way to make deleted files harder for file recovery software to find.
  • Apple’s security guide says that on Macs older than the T2 chip, and on external drives, data deleted before FileVault was turned on isn’t encrypted and may be recoverable with forensic tools.
  • That statement covers only data that was never encrypted. The page doesn’t say what built-in encryption means for a recovery app running on the Mac itself.
  • APFS is the file system a Mac starts up from. TRIM is how an operating system tells an SSD (a solid-state drive) that data is no longer valid.
  • Neither source says how long a deleted file’s contents last after that. Samsung’s page describes its own drives, not the one in your Mac.
Prefer Terminal? Check whether your drive supports TRIM
system_profiler SPNVMeDataType | grep "TRIM Support"

It reads System Information’s entry for NVMe drives, prints a line for each and changes nothing. No output means no NVMe drive is listed.

What won’t undo Empty Trash

Leave alone. None of these will restore an emptied Trash:

  • Command-Z. It helps right after you move a file to the Trash, not after Empty Trash.
  • iCloud Backup. Apple doesn’t list the Mac for it.
  • Turning Time Machine’s automatic backups off and on. That deletes local snapshots.
  • Starting Time Machine now. Today’s backup won’t have the file. It’s for next time.
  • Terminal commands from a forum. Apple’s guide gives no command that reverses Empty Trash.
Why each of these won’t help
  • Command-Z undoes the previous command. It doesn’t reverse Empty Trash: on macOS Tahoe 26, the Finder’s own warning says the action can’t be undone.
  • iCloud Backup. Apple describes it as a copy of the information on an iPhone, iPad or Apple Vision Pro, and doesn’t list the Mac. On a Mac, iCloud Drive syncs, and a delete syncs too.
  • Starting Time Machine now. A backup made today copies your Mac as it is today, without the file.
  • Forum commands. Don’t paste anything that starts with sudo: it runs the command as the superuser.

Where a copy might be, at a glance

Where a copy might be Kept for How to get it back
Trash, not yet emptied Until emptied; 30 days if set, or for iCloud Drive files File > Put Back
Disk Whisk cleanup While still in the Trash Put back from its receipt (free)
Time Machine backup disk Hourly, daily, then weekly, until the disk is full Open the folder, open Time Machine, Restore
Time Machine local snapshots Up to 24 hours Same steps, no backup disk needed
iCloud Drive 30 days Recently Deleted on icloud.com/iclouddrive
Photos 30 days Recently Deleted > Recover
Notes Up to 30 days Recently Deleted, drag to a folder
Messages Up to 30 days View > Recently Deleted > Recover
Mail Until erased Trash mailbox, drag it out
Dropbox 30, 180 or 365 days, by plan Deleted files on dropbox.com
Google Drive 30 days Trash on drive.google.com > Restore
OneDrive 30 days, or 93 at work or school The OneDrive website
Built-in drive Not published Recovery software, no promise

How to make sure this doesn’t happen again

  • Turn on Time Machine. On macOS Ventura 13 or later: Apple menu > System Settings > General > Time Machine, click Add Backup Disk and select an external drive. Apple suggests a drive with at least twice your Mac’s storage.
  • Decide on the 30-day setting. In Finder > Settings > Advanced, “Remove items from the Trash after 30 days” erases old Trash items automatically and for good.
  • Keep the warning. “Show warning before emptying the Trash” is in the same pane.
  • Free space another way. See how to free up space on a Mac.
More on the 30-day setting

It erases anything that has been in the Trash for more than 30 days. Storage settings offers the same thing as “Empty Trash automatically.” With it off, items stay until you empty the Trash yourself.

Sources and how we checked

The steps were checked against Apple’s guides for macOS Sequoia 15, macOS Tahoe 26 and macOS 27. Terminal commands were checked on macOS Tahoe 26.