keepcalculator

06 Numbers and Powers

Recover Trash Mac: Restore Deleted Files

Card No. 06·77086 · Updated · Standard formula, shown below

Recovering trash on a Mac means restoring files you deleted from the Trash, either from the Trash folder itself or from a Time Machine backup. This article explains every built-in method to get those files back, from a simple drag-and-drop to using Terminal, and what to do when the Trash is empty.

How the Mac Trash Actually Works

When you delete a file by dragging it to the Trash or pressing Command-Delete, the file is not erased from the disk. macOS simply marks the file’s data blocks as free and moves the file entry to a hidden folder ~/.Trash (for your user account) or /Volumes/Drive/.Trashes (for external drives). The file still occupies space until the Trash is emptied or the system overwrites those blocks with new data.

This is why recovery is possible: the data is physically still on the drive. The moment you empty the Trash, macOS marks those blocks as available, but the data remains until something else writes over them. That window of opportunity is your only chance for recovery without a backup.

Method 1: Restore from Trash (Still There)

If the file is still in the Trash, recovery is trivial:

  1. Open the Trash by clicking its icon in the Dock.
  2. Locate the file or folder you want.
  3. Right-click (or Control-click) the item and select Put Back. The file returns to its original location.
  4. Alternatively, drag the item out of the Trash to any folder on your Mac.

If you only want to restore a file that was inside a folder you deleted, open the folder in the Trash first, then drag just that file out.

Method 2: Time Machine Backup (Empty Trash)

If you already emptied the Trash, Time Machine is your best built-in option — provided you had it enabled before deletion.

  1. Open the folder where the file originally lived (for example, Documents).
  2. Click the Time Machine icon in the menu bar and choose Enter Time Machine.
  3. Use the timeline on the right edge or the arrows to navigate to a backup from before you deleted the file.
  4. Select the file or folder and click Restore. It will be copied back to its original location.

Time Machine keeps hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for all older history. If your backup predates the deletion, the file is recoverable even if the Trash was emptied months ago.

Method 3: Terminal and Data Recovery Tools

When neither the Trash nor Time Machine has the file, you need third-party data recovery software. These tools scan the raw disk for file signatures and rebuild deleted files. Popular options include Disk Drill, PhotoRec, and EaseUS Data Recovery Wizard (all free or freemium). The general process is:

  1. Stop using the Mac immediately. Every new file, download, or even browsing session can overwrite the deleted file’s blocks.
  2. Download and install the recovery tool on a different drive (or use the Mac’s recovery mode if possible) to avoid writing to the same disk.
  3. Run a deep scan of the drive. This can take hours.
  4. Preview the found files and recover them to a separate external drive.

Success depends heavily on how much disk activity has occurred since deletion. If you emptied the Trash and then installed a large app, the file is likely gone forever.

How to Choose a Recovery Method

Your choice depends on three factors: is the file in the Trash, do you have a Time Machine backup, and how much time has passed?

  • File in Trash — Use Put Back. No other method is needed.
  • Trash emptied, Time Machine on — Use Time Machine. Highest success rate.
  • Trash emptied, no Time Machine, recent deletion — Use a data recovery tool immediately.
  • Trash emptied, no Time Machine, old deletion — Recovery is unlikely; try a tool only if the file is critical.

Common Problems and Misconceptions

One common mistake is thinking that emptying the Trash permanently erases data. It does not — it only marks the space as available. Another is assuming Time Machine backs up everything. By default, it excludes system files and some caches, but your user files are included.

Another misconception is that “Secure Empty Trash” (removed in newer macOS versions) guarantees deletion. Even that only overwrote the file’s blocks once, which can still be recovered with specialized equipment. For truly sensitive data, you need full-disk encryption and a secure wipe tool.

Also, if you delete a file from an external drive, it goes to that drive’s own Trash folder, not your Mac’s. You must open the external drive’s Trash from Finder (press Command-Shift-Period to show hidden files) or use a recovery tool on that drive.

Costs and Safety Considerations

Built-in methods (Trash and Time Machine) are free. Third-party recovery tools range from free trials to paid licenses, but you should never pay before confirming the tool can actually find your file — most offer a free preview of found files.

Safety is critical: never install a recovery tool on the same drive you’re recovering from. Use an external drive or a second Mac. Also, do not attempt to recover files to the same drive — always copy them to a different location to avoid overwriting other deleted files.

Alternatives to Recovery

If recovery fails, your options are limited. You might find a copy in an email attachment you sent, a cloud service like iCloud Drive or Dropbox (check their “Deleted Files” or version history), or a colleague’s copy. For documents, many apps like Pages and Word keep local autosave versions that may survive deletion. Going forward, enable Time Machine or a cloud backup service to avoid this situation entirely.

Frequently Asked Questions

Can I recover a file after emptying the Trash? Yes, if you have a Time Machine backup or if the disk space hasn’t been overwritten. Use Time Machine first; if that fails, try a data recovery tool immediately.

How long do files stay in the Trash? Indefinitely, until you manually empty the Trash or the system runs out of disk space. macOS does not auto-empty the Trash.

Does Time Machine back up the Trash? No. Time Machine excludes the Trash folder itself, but it backs up the original files before you deleted them. So you can recover from a backup taken before deletion.

What if the file was on an external drive? The Trash for external drives is stored on that drive, not your Mac. Connect the drive, show hidden files (Command-Shift-Period), and look in the .Trashes folder. If it’s not there, use a recovery tool on that drive.

Is it safe to use a free recovery tool? Generally yes, but only download from the official website. Free versions often have file-size limits or require a paid license to actually save the recovered file. Always scan to a different drive.

Can I recover files from a dead Mac? If the drive is intact, you can remove it and connect it to another Mac via a USB adapter or enclosure, then use recovery tools. If the drive is damaged, professional data recovery services may be needed.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →