keepcalculator

06 Numbers and Powers

How to Undelete Trash on Mac: Step-by-Step

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

Accidentally emptying the Trash or deleting a file you still need is a common Mac mishap. This guide walks you through every practical method to recover deleted files on macOS, from checking the Trash itself to using Time Machine and third-party recovery tools. You don’t need any special skills—just follow the steps in order, and you’ll have the best chance of getting your file back.

What You’ll Need

  • Your Mac (any recent macOS version)
  • If using Time Machine: the external drive or network volume where your backups are stored
  • If using a recovery tool: a separate external drive to save recovered files (recommended)

Step-by-Step

Method 1: Check the Trash (File Not Permanently Deleted)

  1. Click the Trash icon in your Dock (the bin icon at the end of the Dock).
  2. Look through the list of files. If you see the item you deleted, right-click (or Control-click) on it and select Put Back. The file will return to its original location.
  3. If you don’t see it, the file may have been permanently deleted (see methods below).

Method 2: Recover from Time Machine Backup

  1. Connect your Time Machine backup drive to your Mac if it isn’t already connected.
  2. Open the folder where the deleted file used to live (e.g., Documents, Desktop).
  3. Click the Time Machine icon in the menu bar (the clock with a circular arrow) and select Enter Time Machine. If you don’t see the icon, go to System Settings > General > Time Machine and make sure it’s enabled.
  4. Use the timeline on the right side of the screen or the arrows to navigate to a date before the file was deleted.
  5. Find the file in the Finder window. Select it and click Restore. The file will be copied back to its original location.

Method 3: Use a File Recovery App

  1. If you don’t have a Time Machine backup, stop using your Mac immediately. The more you write to the disk, the lower your chances of recovery.
  2. Download a reputable Mac data recovery tool (e.g., Disk Drill, EaseUS Data Recovery Wizard, or PhotoRec). Install it on a different drive if possible, or at least avoid installing it on the same drive you’re recovering from.
  3. Launch the app and select the drive where the file was deleted (usually your startup disk).
  4. Start the scan. This can take from minutes to hours depending on drive size.
  5. Once the scan finishes, browse the found files. Use the search or filter to find your file by name or type.
  6. Select the file and click Recover. Save it to a different drive than the one you scanned to avoid overwriting.

Method 4: Check iCloud Drive (if you use iCloud)

  1. Go to iCloud.com and sign in with your Apple ID.
  2. Click iCloud Drive.
  3. Look in the main folder and any subfolders. If you deleted a file from your Mac’s iCloud Drive folder, it may still be in iCloud’s Recently Deleted folder.
  4. On iCloud.com, click Recently Deleted in the sidebar (if available). Select the file and click Recover.

Common Mistakes

  • Continuing to use the Mac after deletion—this is the #1 mistake. Every new file you create or download can overwrite the deleted file’s data, making recovery impossible.
  • Emptying the Trash again—if you’re not sure a file is needed, don’t empty the Trash again before checking.
  • Installing recovery software on the same drive—the installation process writes new data, potentially overwriting the deleted file.
  • Assuming Time Machine is always on—if you never set it up, there’s no backup to restore from.
  • Recovering to the same drive—always save recovered files to a different disk or partition.

Tips

  • Enable Time Machine now (even if it’s too late for this file) to avoid future losses. Go to System Settings > General > Time Machine and add a backup disk.
  • Use Put Back instead of dragging files out of the Trash—it preserves the original location.
  • For important files, consider a cloud backup service (iCloud, Dropbox, etc.) that keeps version history.
  • If you use a Mac with an SSD, recovery is harder than on a hard drive because SSDs use TRIM, which quickly erases deleted data. Act fast.
  • Check your email or messaging apps—sometimes you’ve sent the file to yourself or a colleague, and you can re-download it.

Troubleshooting

Time Machine restore doesn’t show the file

Make sure you’re in the correct folder. Time Machine only shows backups of the folder you’re currently viewing. If you’re not sure where the file was, try entering Time Machine from the Desktop or a parent folder. Also, check the backup date—if the file was created after the last backup, it won’t be there.

Recovery tool can’t find the file

If a quick scan doesn’t find it, run a deep scan (most tools offer this). If still nothing, the file may have been overwritten. Try a different tool—some are better at certain file types. Also, make sure you’re scanning the correct drive (external vs. internal).

File is recovered but won’t open

This often happens when the file’s data is partially overwritten. Try opening it with a different app. If it’s a document, you might recover an older version from Time Machine. For photos, try a photo repair tool.

Put Back is greyed out

This means the original folder no longer exists (e.g., you deleted the folder that contained the file). Create a new folder with the same name in the same location, then try Put Back again. If that fails, you’ll need to use Time Machine or a recovery tool.

Can’t find Trash icon in Dock

Go to Finder > Settings > Sidebar and check “Trash” under Favorites. Or press Shift+Command+Delete to empty the Trash (not what you want now), but to open it, click the desktop and press Command+Shift+G and type ~/.Trash to see its contents.

Frequently Asked Questions

Can I recover files after emptying the Trash?

Yes, if you act quickly and stop using the Mac. Time Machine backups are the most reliable way. Otherwise, third-party recovery tools may work if the data hasn’t been overwritten.

How long do deleted files stay recoverable?

There’s no fixed time. It depends on how much you use the Mac after deletion. On SSDs, TRIM can erase data within seconds. On hard drives, it can last for days or weeks if you don’t write new data.

Does Time Machine back up the Trash?

No, Time Machine does not back up the contents of the Trash. However, it backs up files before you delete them, so you can restore the file from a backup made before the deletion.

Can I recover a file deleted from an external drive?

Yes, the same methods apply. Connect the external drive, check its Trash (if it has one), use Time Machine if that drive was backed up, or run a recovery tool on that drive.

Is it safe to use free recovery tools?

Free tools can work, but be cautious—some are bundled with adware. Stick to well-known free tools like PhotoRec or the trial versions of paid tools (they often allow recovery of small files). Always download from the official site.

What if the file was deleted from a cloud-synced folder like Dropbox?

Check the cloud service’s website. Dropbox, Google Drive, and OneDrive all have a “Deleted files” or “Trash” section where you can restore files for up to 30 days (or longer with some plans).

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 →