How to Recover Emptied Trash on a Mac

Profile David M. Profile Nikolay L.
 and 

Last update:

1063

Can you recover files after emptying the Trash on a Mac? The short answer is yes. Although an emptied Trash makes file recovery more difficult, it doesn’t always mean your files are gone forever. 

Whether you accidentally deleted an important document, removed years of photos, or emptied the Trash before realizing something valuable was inside, there are still several recovery methods worth trying.

Let’s look at two possible ways to recover files deleted from Trash on Mac.

What Are the Chances of Recovering Mac Trash Files?

Even after you delete a file on your Mac, there’s often still a chance to get it back. macOS usually removes the file’s entry from the file system rather than erasing its data right away. Until new data replaces it, recovery may still be possible.

Your chances to recover files on Mac aren’t the same in every situation. They depend on the type of storage device, whether the deleted data has been overwritten, how long ago the files were deleted, and whether you have a backup.

Find the scenario that best matches your situation in the table below to see what you can expect and which recovery method is most likely to help:

ScenarioRecovery chancesRecommended solution
I accidentally moved the wrong files to the Trash.Very high. The files haven’t been permanently deleted and remain in the Trash until you empty it (or until Trash removes them automatically, if that option is enabled).Open Trash, locate the files, and move them back to their original location or another folder.
I emptied the Trash, but I use Time Machine or manually store files in iCloud Drive.Very high. If your files exist in a backup, you can usually restore them regardless of when you emptied the Trash. If you manually saved copies of your files to iCloud Drive before deleting them, those copies may still be available. However, if you relied only on iCloud Drive synchronization, keep in mind that deletions and Trash emptying are synchronized across devices, so the files are typically removed from iCloud as well and won’t appear in Recently Deleted.Restore the files from Time Machine or download them from iCloud Drive (or recover them from iCloud’s Recently Deleted, if available).
I emptied the Trash, don’t have a backup, and the drive still works normally.Moderate. Your chances depend not only on how much you’ve used your Mac since the deletion, but also on the hardware. On Macs with Apple silicon (M1–M6) or the T2 security chip, internal SSDs typically use TRIM, which can permanently remove deleted data much sooner. On older Macs, external drives, or devices where TRIM isn’t active, recovery chances are often higher if you stop using the drive immediately to avoid overwriting the deleted files.Stop using the drive as much as possible and scan it with a data recovery tool such as Disk Drill or PhotoRec. Recover files to a different storage device.
I have a modern Mac with an internal SSD and no backup.Low to impossible. Most modern Macs use SSDs with TRIM enabled. After you delete a file, macOS can send a TRIM command that tells the SSD which blocks are no longer needed. The SSD may erase those blocks during its internal cleanup process, which can make recovery impossible. Newer Macs also use hardware-based encryption for the internal system drive. Combined with System Integrity Protection (SIP), this mechanism prevents direct access to the SSD’s raw storage, so even if TRIM hasn’t yet erased the deleted blocks, recovery software may still be unable to access the data. TRIM doesn’t always erase deleted data immediately, so it’s still worth attempting recovery as soon as possible.

Stop using the Mac immediately and scan the SSD with recovery software. If the files are extremely valuable, avoid further writes and consider a professional data recovery service before installing software or saving new data.

How to Restore Trash on a Mac

If you can’t find your files, the next step is to try the available recovery methods. If you have a backup, start there. Otherwise, data recovery software is your best option.

Before you try either recovery option, check the Trash one more time. If the deleted files were stored on an external drive, connect that drive to your Mac first. macOS keeps a separate hidden Trash folder for each external drive, so your files may still be there even if you don’t see them when the drive is disconnected. Deleted files usually stay in the Trash until you empty it or until macOS automatically removes them after 30 days (if that setting is enabled). If the files are still there, you can restore them in seconds without any recovery tools.

To restore files from the Trash:

  1. Open Trash by clicking on its icon, located on the right side or bottom of the Dock.
  2. Look through the files and folders for the items you want to recover. You can use the search field in the top-right corner of the Finder window if the Trash contains a large number of files.
  3. Select the files you want to restore. Hold the Command key while you click to select several separate items, or click and drag around a group of files.
  4. Right-click one of the selected files and choose Put Back. macOS will return each file to the folder it came from.Restore files from Trash
  5. You can also drag the selected files from the Trash to your Desktop or another folder.

Open the destination folder and confirm that the files work correctly before you empty the Trash again. If the missing files are no longer in the Trash, continue with the backup and data recovery methods we will discuss below.

Method 1: Recover Files Deleted From Trash on a Mac via Backup

A backup is the easiest way to recover files after you empty the Trash. If you created one before the files were deleted, you can usually restore them in just a few minutes.

Note. Don’t have a backup? Then stop everything you’re doing and read the next solution described in this article. There’s a good chance that you’ll be able to restore all deleted files even without a backup, but you need to hurry up and start the recovery before they become overwritten.

Option A: Time Machine

Time Machine is the best recovery option for files that were stored on your Mac’s internal drive, provided it was enabled before you emptied the Trash. Even if your Time Machine backup drive isn’t currently connected, you may still be able to recover recently deleted files from local snapshots. macOS automatically creates these snapshots when Time Machine is enabled, which allows you to restore files that were deleted recently without access to the backup drive. If the file isn’t available in a local snapshot, connect your Time Machine backup drive and restore it from a regular backup instead.

Here is how:

  1. Connect your Time Machine backup drive if it isn’t already connected to your Mac.
  2. Open Finder and go to the folder where the deleted files were originally stored.
  3. Click the Time Machine icon in the menu bar and choose Browse Time Machine Backups. If the icon isn’t visible, open System Settings > Control Center (or Menu Bar on some macOS versions), enable Time Machine in the menu bar, and then choose Browse Time Machine Backups.Open Time Machine
  4. Use the timeline or the onscreen arrows to browse older backups until you find the missing files. You can also browse through different folders just as you would in Finder or use the search box to locate files by name if you don’t remember exactly where they were stored.
  5. Select the files or folders you want to recover, then click Restore. Time Machine will return them to their original location.Restore files using Time Machine

Option B: iCloud Backup

If you manually copied important files to iCloud Drive before you emptied the Trash, you may still be able to recover them. Unlike Time Machine, iCloud Drive doesn’t create automatic backups of your Mac. Instead, this method works only if you previously saved a separate copy of the files in iCloud Drive.

Note: If you rely on iCloud Drive synchronization, remember that it also syncs file deletions. When you delete a file and empty the Trash on your Mac, that deletion is typically synchronized to iCloud Drive as well. This recovery method applies only to files that were manually copied or uploaded to iCloud Drive as separate copies before they were deleted.

To recover your files from iCloud Drive:

  1. Open your web browser, go to iCloud.com, and sign in with your Apple Account.
  2. Open iCloud Drive.Open iCloud Drive
  3. Look for the files that you’ve deleted and want to recover. iCloud Drive displays recently opened files by default, and you want to choose the Browse tab in the left pane to see all files.
  4. Select all missing files (you can keep the Command key pressed while clicking on them to select multiple files).
  5. Click the Download icon located at the top of the screen to download the missing files to your device.Restore files to your Mac

Method 2: Recover Emptied Trash on a Mac via Third-party Software

If you don’t have a Time Machine or iCloud backup, data recovery software is often your best chance of getting files back after you empty the Trash. Below, we’ll show you how to recover emptied Trash files with two great recovery software tools.

We’ve diligently tested a variety of data recovery applications using our exclusive testing methodology, identifying the most effective tools for rescuing your precious files.

sd
Want to learn more about these recovery tools? We’ve put together comprehensive reviews of the top two data recovery software applications for Mac, offering you a closer look at their capabilities and performance. But that’s not all! Use our unique side-by-side software comparison feature to directly contrast their functionalities and pick what suits you best.
Tip: Choosing the right tool shouldn’t be a hassle. Our data recovery software picker will guide you toward the best solution based on your preferences.

Option A: Disk Drill

If you don’t have a backup, Disk Drill is our top choice for recovering files deleted from an emptied Trash. It recognizes hundreds of file formats and can often restore original file names and folder structure when the file system still contains that information. It delivers the best results when recovering data from external storage devices, as files deleted from modern Mac internal SSDs are often unrecoverable because of TRIM and hardware-based encryption.

To recover files from an emptied Trash with Disk Drill:

  1. Download and install Disk Drill.
  2. Launch Disk Drill, select the drive where the deleted files were originally stored, and click Search for lost data.Disk Drill start scan
  3. If Disk Drill asks you to choose a scan type, select Universal Scan. If you’re recovering videos from a camera or drone SD card and the recovered files are missing, corrupted, or won’t play correctly after a Universal Scan, run a second scan with Advanced Camera Recovery instead. It uses a different recovery method that’s specifically designed for fragmented video files commonly created by cameras and drones.Disk Drill select the Universal scan
  4. Wait for the scan to finish, then click Review found items.Disk Drill click Review dound items
  5. Use the filters or search box to narrow the results by file type, file name, size, or modification date. Preview the files to confirm they’re intact. Select the files you want to recover and click Recover.Disk Drill preview & recover
  6. Choose a recovery location on a different drive from the original one, then confirm the recovery.Disk Drill select where to save the recovered files

So, why do we recommend Disk Drill over other Mac data recovery tools? During our testing, we evaluated Disk Drill in several key areas, including recovery performance, ease of use, and overall value:

  • Recovery performance: This was the most important part of our evaluation. Disk Drill supports all Mac file systems and hundreds of file formats. It often restores original file names and folder structure after files have been deleted and the Trash has been emptied, provided that information still exists on the drive.
  • Ease of use: Disk Drill has one of the most intuitive interfaces we tested. Preview, search, and filter tools make it easy to locate specific files, while built-in disk imaging lets you recover data from a copy of a failing drive instead of the original. The software also includes S.M.A.R.T. monitoring, which helps you identify potential hardware issues before you start recovery.
  • Value: The free version lets you scan your drive and preview an unlimited number of recoverable files, so you can verify that your data is still recoverable before purchasing a Pro license. It also includes Guaranteed Recovery, a free macOS feature that helps protect against future data loss by keeping recoverable copies of deleted files when enabled in advance. Combined with its recovery performance and additional maintenance tools, it offers excellent overall value.

Option B: PhotoRec

If you need a completely free recovery tool for Mac, PhotoRec is one of the better options available. It comes with the open-source TestDisk package and can recover many common file types.

That said, we don’t recommend PhotoRec as the first choice for most Mac users. Unlike Disk Drill, it doesn’t preserve original file names or folder structure, offers no preview feature, and lacks the search and filtering tools that make it easier to locate specific files after a scan. Its text-based interface also has a steeper learning curve, especially if you’ve never used Terminal before.

To recover your files with PhotoRec, follow these steps:

  1. Download TestDisk from its official website (PhotoRec is included with TestDisk), or install it with Homebrew.
  2. Launch PhotoRec as an administrator in Terminal using the sudo photorec command. If you downloaded TestDisk manually, open the extracted TestDisk folder in Terminal first, then launch PhotoRec using the sudo ./photorec command.Launch PhotoRec
  3. Select the storage device and where your deleted Trash files were originally located.PhotoRec select your drive
  4. Then select a partition.PhotoRec select the right partition
  5. Choose the appropriate file system for the selected partition.PhotoRec select file system
  6. Select a destination folder for the recovered files. Press C to confirm your choice. Save the recovered files to a different drive whenever possible.PhotoRec choose destination folder
  7. Wait for the scan to finish, then review the recovered files in the selected destination folder.PhotoRec scan

PhotoRec is a practical choice if you need a free recovery option and do not mind its text-based interface or the extra work required to organize the recovered files.

Note. If your Mac’s drive has physical damage, isn’t detected by Disk Utility, makes clicking or grinding noises, or disconnects repeatedly, skip DIY recovery methods and contact a professional data recovery service instead. Recovery labs can often retrieve data from drives with hardware failures that software can’t access. However, neither professional services nor recovery software can recover data that has been permanently overwritten or securely erased.

Prevent Data Loss with Regular Backups

Backups are by far the most reliable way to prevent data loss. As a Mac user, you already have an excellent backup solution built into macOS: Time Machine.

All you need to create backups with Time Machine is an external storage device. Connect it to your Mac, open System Settings > General > Time Machine (or System Preferences > Time Machine on older versions of macOS), select the drive, and let Time Machine create automatic backups. Once it’s set up, it continues to back up your Mac regularly, making it easy to restore individual files or your entire system if something goes wrong.

If you frequently work with files stored on external drives, keep separate backups of those drives as well. Copy important data to another external drive or a NAS on a regular schedule. Otherwise, if you empty the Trash after deleting files from an external drive, you may have no backup to restore.

For even better protection, follow the 3-2-1 backup rule: keep three copies of your important files, store them on two different types of storage, and keep one copy in a separate location. For most Mac users, that can mean the original files on the Mac, a Time Machine backup on an external drive, and a copy in the cloud. If your important files are instead on an external drive, include that drive in your backup strategy and don’t rely on a single copy.

Apple’s iCloud Drive is a convenient option for storing important files online, but you can also use Dropbox, Google Drive, OneDrive, or another reputable cloud storage service. Still, remember that cloud storage services primarily synchronize your files across devices rather than replace a dedicated backup, so they work best alongside Time Machine rather than instead of it.

Frequently Asked Questions

How do you undo Empty Trash on a Mac?

Once you’ve emptied the Trash, macOS doesn’t include an Undo Empty Trash option. If you have a Time Machine or other backup, restore the missing files from there. If you don’t have a backup, use a data recovery tool like Disk Drill to scan the drive as soon as you can. The less you use your Mac after emptying the Trash, the better your chances of recovering the deleted files.

The easiest way to open the Trash is by clicking the Trash icon in the Dock. On current versions of macOS, you can no longer access the hidden ~/.Trash or .Trashes folders through Finder’s Go to Folder feature. If you need to inspect those folders directly, you’ll need a third-party file manager such as Commander One or another file explorer that supports viewing hidden system locations. Files deleted from external drives are typically stored in a hidden .Trashes folder on the drive itself.

If macOS won’t let you empty the Trash because a file is in use or locked, close any apps that might be using it and try again. If that doesn’t work, restart your Mac and empty the Trash again. If nothing else works, you can also use Terminal to force delete the contents with the command sudo rm -rf ~/.Trash/*. On recent versions of macOS, Terminal may display a “No such file or directory” error even though the Trash has been successfully emptied. Double-check the command before pressing Return, as it permanently deletes the files and can’t be undone.

Terminal can’t recover files after the Trash has been emptied. It can only access or move files that are still present in the hidden .Trash folder. If you’ve already emptied the Trash, you’ll need to restore the files from a backup, such as Time Machine, or use a data recovery application to scan the drive for recoverable files. The sooner you stop using your Mac and begin the recovery process, the better your chances of success.

Help Us Improve This Article
Was the provided information useful? Your vote is important to use!
16453
David Morelo
Author

David Morelo is a professional content writer with a specialization in data recovery. He spends his days helping users from around the world recover from data loss and address the numerous issues associated with it.

When not writing about data recovery techniques and solutions, he enjoys tinkering with new technology, working on personal projects, exploring the world on his bike, and, above all else, spending time with his family.

David’s recent reviews
David’s recent publishings
Nikolay Lankevich
Nikolay Lankevich
Approver

Nikolay Lankevich has over 15 years of strong experience in various fields and platform includes Disaster Recovery, Windows XP/7. System analysis, design, application (Inter/Intranet) development, and testing. Provided technical supports on desktop and laptops on Win-XP and Macintosh for about 2000 employees.