Data Recovery
How to Recover Data from an External Drive on Mac? (2026 Edition)
September 21, 2026| 15 min read
Did you empty the Trash on your Mac and then realized some important files were in it? Before you panic and start clicking around your Mac, take a breather. Here's something you need to know –emptying the Trash doesn't actually erase your files. macOS just marks that space as available to be overwritten, so the data stays intact until something new gets written on top of it. That's why timing matters.
On modern Macs with SSD and TRIM enabled, the recovery window can be small. On older HDDs, it’s longer. This guide covers all the methods to recover deleted files after the Trash is emptied, including checking APFS local snapshots, app specific Recently Deleted folders, and Terminal recovery from ~/.Trash directory.
Not all deleted files have the same recovery odds – your chances depend on a few important factors. Take a moment to access them before choosing a recovery method. First of all, stop using your Mac as further use increases the risk of overwriting the very data you’re trying to recover.
Deleted files on Mac are moved to the Trash folder. Those deleted from the internal drive are stored in the hidden ~/.Trash folder and the ones which are deleted from external drives go to a hidden .Trashes folder on that volume. The files remain there until you empty the Trash or macOS removes them automatically - if the 30-day auto-delete option is enabled.
When you empty the Trash macOS only removes the file's directory entry and marks those storage blocks as available. The data physically remain on disk until new data overwrites it, which is exactly what makes recovery possible.
macOS can reclaim those blocks quickly on SSDs with TRIM enabled, sometimes, within minutes. On HDDs, the data typically lingers longer. Hence act fast and stop all Mac activity to ensure successful recovery.
We will outline the most effective ways to recover data from an emptied Mac Trash – using both backups and data recovery software. The table below maps each recovery path to your specific scenario – find yours and jump straight to the right section.
| Method | Works Without Backup? | Best For |
| Time Machine | No - Needs prior setup | Mac users with an external backup drive |
| APFS Local Snapshot | Yes (if within 24 hours) | Users without external backup drive connected |
| iCloud Recently Deleted | No - Needs sync enabled | iCloud Drive users |
| App-Specific Recently Deleted | Yes | Files deleted from Photos, Notes, Mail, or Messages |
| Third-Party Cloud Backup | No - Needs prior setup | OneDrive, Google Drive, Dropbox users |
| Terminal | Yes (if Trash not emptied) | Tech-savvy users, recent deletion |
| Data Recovery Software | Yes | No backup; Trash already emptied |
Time Machine, Apple’s built-in backup system, is an excellent tool for recovering deleted files. If you have emptied the Trash, this is exactly the kind of situation Time Machine is designed for – all you need is the external hard drive containing the Time Machine backups and your Mac.
No external backup drive connected? You may still have a recovery path. Time Machine on macOS High Sierra and later automatically creates hourly local snapshots directly on your Mac's internal drive – no external disk needed. These snapshots are kept for more than 24 hours, giving you a short but genuine window to recover recently deleted files.
Note: Local snapshots are only created if Time Machine is already enabled on your Mac.
tmutil listlocalsnapshots /
In case your files were stored in iCloud Drive and synced before the deletion – recover them directly from iCloud's Recently Deleted folder. iCloud keeps deleted files for 30 days before permanently purging them, which gives you a reasonable window to act.
Photos, Notes, Mail, and Messages each maintain their own Recently Deleted folders – completely separate from Trash.
Deleted photos & videos are moved to the Recently Deleted album which stores them for 30 days before permanently removing them.
Deleted notes are kept for 30 days in a dedicated Recently Deleted folder.
Deleted emails are moved to the Trash mailbox within Mail – separate from the macOS system Trash entirely.
Messages doesn't have a traditional Recently Deleted folder, but recently deleted conversations can be recovered if you act quickly.
Deleted items may still be recoverable if you use Google Drive, OneDrive, or Dropbox to sync your files –each platform maintains its own deleted files folder with a set retention window.
Google Drive keeps deleted files for 30 days.
OneDrive retains deleted files for 30 days for personal accounts and up to 93 days for Microsoft 365 business accounts.
Dropbox keeps deleted files for 30 days on free & Plus plans and 180 days on Business plans.
Terminal gives direct command-line access to your Mac's file system – including the hidden .Trash folder where deleted files live before Trash is emptied. This method works in two distinct scenarios:
Use these commands when Finder is unresponsive, files aren't showing in Trash, or you prefer the command line.
Native Terminal Commands do not have a method of recovering deleted files once the trash is empty. Once you empty the trash using Terminal commands (rm) or emptying your trash in Finder – the file is removed from the directory. Your deleted data will remain on your hard drive until that space is written over by new data but there is no native method within Terminal to locate deleted data.
You may be able to find some recoverable information using command line utility (such as PhotoRec) that you run from the Terminal. However, running these utilities requires significant technical knowledge and will typically yield much lower success rates than professional recovery products.
If the Trash is empty and you haven’t backed up via Time Machine – Mac data recovery software is your last resort. It scans the drive at the sector level – reconstructing files using their signatures and rebuilds them for recovery. The files are recoverable as long as the drive is detectable in Disk Utility and the existing data is not overwritten.
Recovering deleted files is stressful and not always guaranteed. These habits take minutes to set up and can save hours of recovery work later.
Emptying Mac Trash isn't the end of the road. As long as the deleted data hasn't been overwritten recovery is possible. Start with the simplest paths first – Time Machine, APFS local snapshots, iCloud, or an app-specific Recently Deleted folder. If none of those apply, data recovery software is your best remaining option but only if you act fast and stop using your Mac in the meantime. On SSDs, that window is short. Every minute counts.