Data Recovery
How to Recover Files Deleted from Mac's Trash (Step-by-Step Guide)
September 10, 2026| 15 min read
Any storage device can fail – including external drives connected to your Mac, but in most cases these failures are logical rather than physical. More often than not, the drive itself works but the underlying data becomes inaccessible to macOS because of a corrupted file system, accidental format, unsafe ejection, damaged partitions, or mount errors.
There are plenty of other causes too, but recovery is still possible. You just need the right methods and tools to reclaim your lost files. We have put together a detailed guide to help you walk through the various methods to recover lost or deleted files from an external drive on Mac, using both built-in tools and recovery software.
Data recovery is a race against overwriting. Most people lose their files for good not because of the original problem, but because of what they did next. Read these before going further.
| Scenario | Most likely cause | Where to start |
| You deleted files by mistake | User error | Method 1: Check the Trash |
| You emptied the Trash with the wrong files in it | User error | Method 2: Time Machine, then Method 3: Cloud backup, then Method 4: Recovery software |
| You accidentally formatted or erased the drive | User error in Disk Utility | Method 4: Recovery software (do not write anything else to the drive) |
| Drive shows up but files are missing or grayed out | File system corruption | Method 4: Recovery software, then Method 5: First Aid |
| macOS prompts you to “initialize” the drive | Corrupted partition table | Method 4: Recovery software — do not initialize |
| Drive doesn’t show up in Finder but appears in Disk Utility | Mount error or logical corruption | Method 5: First Aid (after recovering anything critical with Method 4), then Method 6: Terminal if First Aid fails |
| Drive doesn’t appear anywhere, even in Disk Utility | Bad cable, port, or hardware failure | Troubleshoot connections (second cable, second Mac), then Method 7: Professional service |
| Drive is clicking, grinding, or not spinning up | Mechanical/physical failure | Method 7: Professional service — stop trying DIY fixes |
| Drive was exposed to water, fire, or a drop | Physical damage | Method 7: Professional service |
| Files vanished after an unsafe ejection or power loss | File system corruption | Method 4: Recovery software, then Method 5: First Aid |
If you are not sure what kind of problem your external drive has, try plugging it into a different port or a different Mac with a working cable. If it doesn’t show up anywhere and you hear unusual sounds, treat it as physical and skip straight to Method 7. If it shows up somewhere, even just as an unmounted volume in Disk Utility, software recovery has a real chance.
The methods outlined below go from quickest and safest to more advanced recovery methods. Start with the first method and work your way downwards – each method explains when to use it, when to skip, and the exact steps you need to follow.
macOS doesn't immediately erase the file which you delete from your external drive – it’s moved to the Trash folder. This is different from Windows, where files deleted from external drives skip the Recycle Bin and are removed straight away. Your files may simply be sitting in the Trash waiting to be restored.
Time Machine is a built-in feature on macOS which helps you take incremental backups of the files on your Mac. It is one of the fastest ways to get your files back if you had set it up beforehand. The catch is that Time Machine doesn't automatically back up external drives – you need to add each one manually.
For setup details, see Apple's official guide to Time Machine backups. Open System Settings > General > Time Machine and click Options. If your external drive is listed under "Exclude from backups," it wasn't backed up. If not, you’ve got backups to work with.
If the drive is on that exclusion list, or you never added it, here’s how to include it so it’s protected from now on:
Keep in mind this only helps going forward. It can’t recover data that was lost before the drive was backed up.
If you use a cloud sync service – iCloud Drive, Dropbox, Google Drive, OneDrive alongside your external drive there's a chance copies of your files exist outside the failed drive. You can often recover files by downloading them again. This isn’t a general-purpose solution for everything, but it works great for documents and media you have synced.
Files stored in the iCloud drive can be accessed from any device linked to your Apple ID – iCloud moves the deleted items to the Recently deleted folder and keeps them there for up to 30 days before removing them permanently.
All three keep deleted files and previous versions for a window of time, usually 30 days for free accounts, longer for paid plans.
Each service also keeps version history for files that were modified rather than deleted, which is useful if a document on your external drive got corrupted or overwritten and you had a synced copy. Right-click the file in the web interface and look for Version history or Previous versions.
If the Trash is already empty and you haven’t backed up your external drive via Time Machine – Mac data recovery software is the most practical solution. It scans the drive for deleted or inaccessible files and rebuilds recoverable data even when macOS can no longer access it normally. The files are recoverable as long as the drive is detectable in Disk Utility and the existing data is not overwritten.
In a scenario where some data in your external disk’s volume has been corrupted or become inaccessible, Disk Utility has a feature called First Aid, which can repair that affected disk of yours and file system errors that caused data to become unreadable.
In case Disk Utility's First Aid is unable to fix the drive – Terminal gives you the same repair tools at command line with more detailed error output and a few options the GUI doesn't expose. This is the last DIY step before professional recovery. You need to be comfortable typing commands exactly as written, including spaces and slashes. Mistyping a disk identifier can target the wrong drive, so read every command before pressing Return.
Step 1: Identify your drive
diskutil list
Step 2: Try diskutil repairVolume
It’s the Terminal equivalent of First Aid – gives more detailed output and is often easier to troubleshoot than the graphical version and sometimes succeeds where First Aid fails:
diskutil repairVolume /dev/disk4s1
Replace disk4s1 with your actual partition identifier. Terminal will print progress and report what was repaired. If it succeeds, eject the drive, reconnect it, and copy your files off immediately.
Step 3: If repairVolume fails, try fsck
fsck (File System Consistency Check) is a lower-level repair tool which needs the drive to be unmounted before it can run and administrator privileges too. macOS will prompt for your admin password the first time.
sudo diskutil unmountDisk /dev/disk4
APFS (modern macOS drives): sudo fsck_apfs -y /dev/disk4s1
HFS+ (older macOS drives): sudo fsck_hfs -fy /dev/disk4s1
exFAT (cross-platform drives): sudo fsck_exfat -y /dev/disk4s1
Step 4: If both fail, image the drive before going further
If the drive still won't repair, the next step isn't another repair attempt – it's preserving what's left. Use Stellar Data Recovery's byte-by-byte imaging feature to create a full clone of the drive to a different storage device. Future recovery attempts, yours or a professional's, can then work on the clone instead of risking further damage to the original.
A few things to know:
When all DIY methods fail or if your drive has severe physical damage – a professional data recovery lab like Stellar Data Recovery Lab-Services is the last resort. They have ISO Class 5 clean rooms and specialized equipment to repair hard drives or salvage data from damaged media. It’s expensive, but can recover data that software cannot.
Steps:
Recovery services can often get data off drives that are severely damaged, for ex. a failed SSD controller or scratched HDD platters. However, success is not guaranteed and costs can be high (often hundreds to thousands of dollars). Use this when your data is extremely critical (like business records or irreplaceeable memories) and all software fixes have failed.
The four scenarios below are the most common variants of "external drive data loss on Mac," each shows up frequently in search and has enough quirks to deserve their own quick treatment.
An external hard drive that doesn't appear anywhere is usually a connection problem rather than a drive problem. Before assuming the worst, run this checklist:
Accidental formatting hard drive is one of the most recoverable forms of data loss – if you act quickly. Formatting doesn't erase files – it rewrites the file system table that tracks where files live. The underlying data stays put until something overwrites it.
The recovery approach is the same regardless of which file system was used. Just scan the drive with recovery software and recover your files. Avoid running First Aid or reformatting the drive again before scanning – both can overwrite the data you're trying to find.
SSDs and HDDs lose data the same way – but they hold onto it very differently. Deleted data stays physically present on the hard drive’s platter until new data is written over it which is why recovery often succeeds even weeks after deletion.
On an SSD, a feature called TRIM complicates things. TRIM tells the SSD to permanently erase deleted data blocks in the background to keep write performance high. Once TRIM has cleared a block, no software can recover what was there, the data is genuinely gone.
The important caveat for Mac users – macOS doesn't send TRIM over USB connections, but does for Thunderbolt-connected external SSDs (especially NVMe). That means external SSDs behave more like HDDs when it comes to recovery, your odds are usually much better than you'd expect. Internal SSDs on Apple Silicon Macs are a different story; TRIM is active by default, and deletion is often permanent within seconds.
The cheapest data recovery is the one you never have to do. A few habits cover most of the failure modes that lead people to articles like this one in the first place.
External drive data loss on a Mac feels frustrating in the moment, but the outcome is usually decided in the first five minutes, usually by what you stop doing, not by what fancy tool you reach for. Disconnect the drive, rule out a bad cable or port, and then work down the seven methods in order: Trash, Time Machine, cloud sync, recovery software, First Aid, Terminal, and finally a professional lab.
Two ideas matter more than any single method. First, recover before you repair as it can permanently overwrite the data you're trying to save. Second, the best recovery is the one you don't need: keep your external drive in Time Machine, follow the 3-2-1 backup rule for anything irreplaceable, and let a S.M.A.R.T. tool warn you before a drive actually fails.