Get the free coreGet core

Recover emptied Trash on Mac: what still works

Updated 5 min readSection 04 / Incidents & recovery
SHORT ANSWER

You cannot recover an emptied Trash with Terminal commands, and Apple says items emptied from the Trash are permanently deleted. What still works is a copy kept somewhere else. That means a Time Machine backup, a local snapshot (a copy Time Machine keeps on the Mac itself), or iCloud Recently Deleted for iCloud Drive files. While you look, do not save, download or install anything on the Mac. Opening Time Machine to look is fine.

To recover emptied Trash on a Mac, you need a copy that lives somewhere other than the Trash. The rest of this page helps you find one, in the order that is quickest to check.

01First, check the Trash is really empty

Open the Trash. If the item is still there, drag it out, or select it and choose File > Put Back. If the file went to the Trash more than 30 days ago, Finder may have removed it for you. It has a setting that removes items after 30 days, and items removed that way are permanently deleted too. Files moved to the Trash from iCloud Drive are emptied after 30 days whatever the Finder settings say. If the Trash is empty and the file is not in it, you are in the situation this page covers. You can recover emptied Trash on a Mac only from another copy.

02What to do while you look

Stop saving new files to the Mac, and don't download or install anything. Every moment you keep using the drive risks overwriting the deleted data permanently. Finish urgent work on another device if you can. Looking is different from saving: opening Time Machine or an iCloud page only shows you what is there.

03What emptying does

Dragging an item to the Trash does not delete it. Emptying is the step that does. Apple's wording is a warning: items emptied from the Trash are permanently deleted and no longer available. That is true for the Trash itself. Copies in other places are separate, so the Trash being empty does not rule out every other source. The next sections look at them one by one.

04Terminal does not help

It is impossible to recover an emptied Trash with Terminal commands, and the same goes for files that bypassed the Trash. Skip any guide that promises to bring back an emptied Trash with a Terminal command. If you want to recover emptied Trash on a Mac, spend the time on the list below instead.

05What still works

Work down this list and stop at the first step that applies.

  1. Did the file live in iCloud Drive? Go to icloud.com/iclouddrive, select Recently Deleted in the sidebar, select the files and click Recover, or select Recover All. If it is not there, go to icloud.com/recovery and click Restore Files. Apple adds that you can't recover or restore files you permanently remove.
  2. Was it a photo or a note? Photos keeps removed items in Recently Deleted for 30 days. On a Mac with macOS Ventura or later, open Photos and select Recently Deleted in the Utilities section of the sidebar. After 30 days a photo is permanently deleted. Notes keeps removed notes in its own Recently Deleted folder for up to 30 days. To bring one back, drag it to another folder in the sidebar. Notes in an account that is not upgraded iCloud are removed permanently, with no Recently Deleted stop.
  3. Does the Mac use Time Machine? Time Machine is the Mac's built-in backup. Open the folder where the file lived. Then use Spotlight, the Mac's search, to open Time Machine, which is in the Other folder. Use the arrows next to the window to move through your backups. Select the item and click Restore.
  4. No backup disk? Local snapshots can still let you recover previous versions of files, even when the backup disk is not attached. Open Time Machine the same way and see what it shows.
  5. None of these? Then the built-in options are used up. See Mac data recovery for what is left.

Restored items return to their original location. So before you click Restore, look at the date in the timeline on the right and pick a backup from before the file went missing. Every step of Time Machine, including a whole disk, is on the Time Machine restore page.

06How long each copy lasts

WhereWorks forLimit
Time Machine backupBackups of your filesRuns hourly, daily and weekly
Local snapshotPrevious versions of filesUp to 24 hours or until the disk needs the space
iCloud Recently DeletediCloud Drive files30 days
Photos Recently DeletedPhotos and videos30 days
Notes Recently DeletedNotesUp to 30 days

Local snapshots sit on the same disk as the original files and last at most 24 hours, so the first day after the loss is the time to check them.

07Why an SSD makes this harder

If your Mac uses an SSD, a solid-state drive, recovery becomes significantly more difficult because of TRIM. TRIM lets the operating system tell the drive which blocks of data are no longer in use, so the drive can erase them internally. It is used mainly on SSDs. This is why a copy in Time Machine or iCloud is a better bet than any attempt to dig the file out of the drive.

If a coding agent emptied or deleted the files, start with Claude Code deleted files or Cursor deleted files. If the project used Git, restore a deleted file in Git is the quicker route. The steps for files that are still in the Trash are on recover deleted files on Mac.

08Recover emptied Trash on Mac: what to remember

To recover emptied Trash on a Mac, look for a copy from outside the Trash. Terminal cannot do it, and the Trash cannot either. Check iCloud Recently Deleted for iCloud Drive files, then Time Machine and local snapshots. On an SSD, expect less from any other route.

FAQ

Can you recover deleted files after emptying the Trash?

Not from the Trash itself. Apple says items emptied from the Trash are permanently deleted and no longer available. A Time Machine backup or a local snapshot may still hold a copy.

How to recover deleted files in Mac Trash?

While the file is still in the Trash, drag it out, or select it and choose File > Put Back. After the Trash is emptied, use Time Machine instead.

When you empty Trash on a Mac, is it gone?

Yes, as far as the Trash goes. Items emptied from the Trash are permanently deleted. Copies in Time Machine or iCloud are separate and may survive.

How do I recover permanently deleted files from my Mac?

Open the folder where the file lived, open Time Machine, select the item and click Restore. For iCloud Drive files, try Recently Deleted on icloud.com, then Data Recovery.

Does Terminal recover an emptied Trash?

No. Terminal commands cannot recover an emptied Trash, or files that bypassed the Trash.

Why does an SSD make recovery harder?

On a Mac with an SSD, recovery is significantly more difficult because of TRIM. TRIM lets the operating system tell the drive which blocks of data are no longer in use, so they can be erased internally.

Sources

  1. Apple Support, empty the Trash
  2. Apple Support, back up with Time Machine
  3. Apple Support, restore files from Time Machine
  4. Apple Support, recover deleted files in iCloud Drive
  5. Apple Support, recover deleted files on iCloud.com
  6. Apple Support, Photos Recently Deleted
  7. Apple Support, Notes Recently Deleted
  8. Wikipedia, Trim (computing)
  9. Disk Drill guide, Terminal and recovery
Files vanished after an agent ran? Artificial Immunity watches the Mac where your agents work.Get the free core