How to Recover Erased Hard Drive on Mac
In this article
If you've erased a hard drive on your Mac and need the data back, the good news is that recovery is often possible—provided you stop using the drive immediately. When you erase a drive, macOS removes the file references but doesn't immediately overwrite the underlying data. Recovery software can scan for those remnants and rebuild your files. The longer you use the drive after erasing, the lower your chances. This guide covers the fastest free method first, then paid software options, and what to do if recovery fails.
What You'll Need
- The erased hard drive (internal or external) connected to your Mac
- Another working Mac or a Mac with a second internal drive to install recovery software on
- Recovery software: free options like TestDisk or PhotoRec, or paid tools like Disk Drill or EaseUS Data Recovery Wizard
- A separate storage device (external drive or large USB stick) to save recovered files to—never save recovered files back onto the erased drive
- Time: full scans can take hours depending on drive size
Step-by-Step
- Stop using the erased drive immediately. Do not copy new files to it, do not run Disk Utility on it, do not mount it for normal use. Every write operation risks overwriting recoverable data.
- Connect the erased drive to your Mac via USB, Thunderbolt, or if it's an internal drive, shut down and reinstall it in a known working Mac or use an external enclosure.
- Download and install recovery software on a different drive. For free, use TestDisk (command-line) or PhotoRec (file recovery). For a graphical interface, try Disk Drill or EaseUS Data Recovery Wizard—both offer free trial versions that let you preview files before paying.
- Launch the recovery software. If using Disk Drill or EaseUS, select the erased drive from the list of available disks. If using TestDisk/PhotoRec, open Terminal and run
photorecwith sudo. - Choose the scan mode. For a quick recovery, select “Quick Scan” or “Fast Scan.” If that finds nothing, run a “Deep Scan” or “Full Scan” which reads every sector—this takes much longer but catches more data.
- Wait for the scan to complete. Do not interrupt it. A 1TB drive can take 4–8 hours on a deep scan. Keep your Mac plugged in and awake (disable sleep in System Settings > Lock Screen or use
caffeinatein Terminal). - Preview the found files. Most tools let you browse recovered files by type (photos, documents, videos). Look for files with correct names and sizes. If you see many files with generic names like “file_001.doc”, that’s normal—the original names may be lost.
- Select the files you want and recover them to a different drive. Choose your external backup drive as the destination. Never save to the erased drive itself.
- After recovery, verify the files open correctly. Check a few documents, images, and videos. If some are corrupted, try a deeper scan or a different tool.
Common Mistakes
- Continuing to use the Mac after erasing. Even normal background tasks (Spotlight indexing, Time Machine local snapshots, app caches) write to the drive and can overwrite recoverable data.
- Running Disk Utility's “First Aid” or trying to reformat the drive again. Both write to the drive and can destroy data.
- Saving recovered files back onto the erased drive. This overwrites the very data you’re trying to save.
- Using a trial version that only lets you preview files, not recover them. Check the software’s limitations before scanning to avoid wasting hours.
- Assuming “Secure Erase” or “Erase All Content and Settings” means recovery is impossible. Those methods overwrite with zeros or encryption keys, making recovery extremely difficult or impossible—but if you used a standard erase, you still have a chance.
Tips
- Act fast. The sooner you scan, the better. Even a single day of normal use can reduce recovery chances significantly.
- Use a read-only connection. If possible, connect the erased drive via a hardware write-blocker (a device that physically prevents writes). This is the safest option.
- Try free tools first. TestDisk and PhotoRec are powerful and free, though they require command-line comfort. Disk Drill’s free trial lets you preview files before paying—if you see your files, the paid version can recover them.
- Recover to a drive with enough free space. Check the total size of files you want to recover and make sure your destination has at least double that space.
- If the drive is failing (clicking, not recognized), stop and seek professional help. DIY recovery can worsen physical damage.
Troubleshooting
If the drive doesn’t appear in the recovery software: Check that it’s properly connected and powered. For external drives, try a different cable or port. For internal drives, ensure the SATA/power cables are seated. In Disk Utility, does the drive show up? If not, it may be a hardware issue.
If the scan finds nothing: Try a different recovery tool—some are better at certain file systems. Also, run a deep scan instead of quick. If you used FileVault encryption before erasing, recovery is nearly impossible without the original password, because the encryption key was discarded.
If the scan finds files but they won’t open: The file headers may be partially overwritten. Try recovering with a tool that can reconstruct files by signature (like PhotoRec). For documents, try opening them in a different application—sometimes the file is fine but the extension is wrong.
If the drive is making clicking sounds or not spinning up: Stop immediately. Do not run more scans. This is a physical failure. Contact a professional data recovery service—they have clean rooms and specialized equipment. DIY attempts will likely destroy the drive.
If the recovery software crashes or freezes: Close other apps, make sure you have enough RAM, and try running the scan in safe mode (boot with Shift). Some tools have a “resume” feature—check if you can continue a partial scan.
Frequently Asked Questions
Can I recover files after using “Secure Erase” on my Mac?
Secure Erase overwrites the drive with zeros (or a single pass). Once overwritten, data recovery is virtually impossible. Professional labs might recover fragments in rare cases, but the cost is usually prohibitive. If you used Secure Erase, your best bet is a backup.
Does recovery work if I erased the drive and reinstalled macOS?
Yes, but the chances drop significantly. The macOS installer writes a lot of data, overwriting old files. You might recover some files, but many will be gone. Stop using the Mac immediately and run recovery software as soon as possible.
How long does a deep scan take?
It depends on drive size and speed. A 500GB SSD might take 2–4 hours; a 2TB mechanical drive can take 8–12 hours. Larger drives or slower connections (USB 2.0) take longer. Plan to leave your Mac running overnight.
Is free recovery software as good as paid?
For many cases, yes. TestDisk and PhotoRec are open-source and very effective. Paid tools like Disk Drill offer easier interfaces, better file preview, and support—but the underlying scanning is similar. Try free first; if it doesn’t find your files, a paid tool might.
Can I recover files from a Time Machine backup instead?
If you had Time Machine enabled before erasing, that’s the easiest path. Connect your backup drive, open Time Machine, and browse to the date before the erase. You can restore individual files or the entire drive. This is always the first option to check.
What if the erased drive was my Mac’s internal boot drive?
You can still recover it, but you’ll need to boot from another drive (like a recovery USB or another Mac in target disk mode). Connect the internal drive via an external enclosure if possible. The steps are the same—just ensure the recovery software runs from a different boot volume.