Have you accidentally erased a hard drive using Disk Utility on Mac and are wondering if you can recover it? You’re not the only one! Every day, thousands of users around the world search for solutions that would let them recover an erased hard drive on Mac, but only a few find what they’re looking for.

recover deleted files from an erased hard disk on Mac

Why? Because there’s a lot of misinformation online when it comes to data recovery solutions for Mac. The goal of this article is to help Mac users recover erased data in the quickest and most cost-effective manner possible, which is why we describe two different solutions, each suitable for a slightly different data loss scenario.

Does Disk Utility Erase Everything on the Hard Drive?

“I tried factory resetting my MacBook and I accidentally erased all startup disks including Macintosh HD […] I opened disk utility and I two disks pop up one says 121.33 GB Apple ssd sd0128f media under that it says disk1 and the other one is a little bit lower it says disk 1 and under that it says OS X base system,” writes a user on Reddit’s r/macbookrepair.

Sadly, posts like this one are far from rare. In fact, you’re guaranteed to come across at least one or two almost every day if you frequent popular Mac forums. But even though erasing the wrong internal or external hard drive seems like a pretty clear-cut problem to tackle, the truth is that some erased hard drives can be recovered using hard drive recovery software, while others can only be restored from a backup. 

Even though Disk Utility always erases everything on the hard drive, it doesn’t always overwrite the erased data, making their recovery impossible. It all depends on the security options. These options specify how to erase the selected drive to prevent hard drive recovery software from recovering it.

disk utility security options

As a Mac user, you can choose between the following security options:

  • Fastest: This option does not securely erase the files on the drive. A hard drive recovery software may be able to recover the files.
  • Fast: This option writes a pass of random data and then a single pass of zeros over the entire drive.
  • Secure: This option is a DOE-compliant 3-pass secure erase, and it writes two passes of random data followed by a single pass of known data over the entire drive.
  • Most Secure: This option meets the US Department of Defense 5220-22 M standard for security erasing magnetic media because it writes over the data 7 times.

The good news is that the fastest security option is selected by default. So, if you haven’t changed the security options before erasing your HDD or SSD, you should be able to recover data from it using data recovery software for Mac.

What If You Can’t Boot the Mac After Deleting the Startup Disk

Despite the safeguards built into macOS, accidentally erasing your Mac’s startup disk (Macintosh HD) is a surprisingly common issue. This often happens when users try to:

  • Factory reset their Mac to sell it
  • Free up space on their drive
  • Partition their system drive

The most typical symptom indicating your Mac can’t find a valid operating system because the startup disk has been erased is a question mark when trying to boot your Mac.

The good news is that recovery is possible, but it’s a two-step process. First, boot your Mac in Recovery Mode and reinstall macOS on the startup disk. Then, use Migration Assistant to restore your data from a Time Machine backup.

How to Recover Erased Hard Drive / Startup Disk on Mac

It takes only one click to mistakenly erase a drive. Luckily, there are data recovery methods that can help.

That said, the tools described in this section require access to a working macOS operating system, so they can be used in the following scenarios: 

  • When recovering data from an erased external drive or secondary internal drive.
  • When recovering data from a system drive after you’ve already restored macOS.

Method 1: Recover an Erased Mac Hard Drive with Data Recovery Software

Data recovery software can help you recover files from an erased hard drive, but there are important limitations to consider. This method works best with traditional hard disk drives (HDDs) and only when the drive was erased using the “fastest” (non-secure) option, you haven’t written new data to the drive since erasure, and the drive isn’t an internal SSD with Apple T2 security chip or Apple Silicon (M1-M4) encryption.

If you meet these criteria, then you can attempt to recover lost data using data recovery software like Disk Drill, which stands out with its ease of use, powerful recovery algorithms (around 400 file formats and all commonly used file systems are supported), and completely free file preview capabilities that you can use to verify the recoverability of your lost data. 

Disk Drill
Data recovery for free
Your Companion for Deleted Files Recovery

To recover an accidentally deleted Mac hard drive follow these steps:

  1. Download Disk Drill for Mac and install it on a different drive than the one you’re trying to recover. For example, if you’re recovering an external drive, install Disk Drill on your Mac’s internal drive. If you’re recovering your internal drive, install Disk Drill on an external drive.Disk Drill Hard Drive Recovery Software for Mac
  2. Launch Disk Drill from your Applications folder. You’ll see a list of available devices (those that are recognized by your Mac and listed in the Disk Utility tool). Select the erased drive you want to recover. Click the Search for lost data button to begin the scanning process.Recover Erased Hard Drive on Mac
  3. Use the search tool and filters to find specific files, and take advantage of the preview feature when recovering multimedia files or documents. Generally, any file that can be successfully previewed inside Disk Drill can also be successfully recovered since previewing basically serves as a quick verification of its integrity.How to Recover Erased Hard Drive on Mac
  4. Click on the checkbox next to each file you want to recover. You can also select all found files in one go by clicking the checkbox at the top, but keep in mind that you’ll need enough free storage space on your destination drive to save all the recovered files.select files for recovery in Disk Drill
  5. Finally, click the Recover button and select a destination folder on a different drive where you want to save the recovered files. Click Next to begin the recovery process. Once complete, you can access your recovered files in the selected destination folder.choose recovery location for files in disk drill

Method 2: Restore an Erased Hard Drive Using Disk Utility

If you have previously created a disk image (DMG file) of your drive before it was erased, then you can restore the erased drive from it using Disk Utility. 

Here are the steps to recover the erased Mac Hard Drive:

  1. Open Disk Utility from Applications > Utilities.Run disk utility from utility folder
  2. Select the erased drive in the sidebar that you want to restore to.
  3. Click the Restore button in the top toolbar.disk utility restore option
  4. Click the Image button.
  5. Navigate to and select your disk image file (.dmg).choose dmg to restore in disk utility
  6. Click Restore and then click Done.disk utlity backup select

Method 3: Recover Erased Macintosh HD from Time Machine Backup

If you’ve erased your Mac’s startup disk but have been using Time Machine for backups, you can restore both your system and data. The process involves two main steps: first reinstalling macOS to get a working system, then recovering your files from Time Machine.

Reinstall macOS

First, you’ll need to reinstall the operating system:

  1. Start your Mac in Recovery mode:
    • On Apple silicon Macs: Shut down your Mac, then press and hold the power button until you see “Loading startup options.” Click Options > Continue.
    • On Intel Macs: Restart your Mac while holding Command + R until you see the Apple logo.macOS apple logo booting into recovery mode
  2. When prompted, select your user account and enter your password.
  3. In the macOS Recovery window, select Reinstall macOS and click Continue.recovery mode menu on mac
  4. Follow the installation prompts. If asked to select a disk, choose “Macintosh HD” (not “Macintosh HD – Data”).Choose Macintosh HD on reinstall macOS
  5. Wait for the installation to complete.

Recover Files from Time Machine

Once macOS is reinstalled, you can restore your files from Time Machine:

  1. Connect your Time Machine backup drive to your Mac.
  2. During the initial setup after reinstalling macOS, you’ll see Migration Assistant asking if you want to transfer information. Select Transfer from a Time Machine Backup.Use Migration Assistant to recover files from Time Machine backup
  3. Choose your backup drive and select the most recent backup (or the specific backup point you want to restore from).choose backup to restore
  4. Select the types of data you want to restore (applications, documents, system settings, etc.).choose backup data to restore
  5. Click Continue and wait for the recovery to complete.

Conclusion

A crisis can be averted even if you’ve mistakenly deleted your Mac’s startup disk. Luckily, there are a few ways out of this unfortunate event. Even in the worst-case scenarios, if you act quickly, it will be possible to successfully recover data from a deleted startup disk on your Mac.

FAQ

David Morelo profile image
David Morelo

David Morelo is a professional content writer focused on the technology sector, with expertise ranging from consumer products to the latest tech innovations. His approach involves personally testing each product according...

Read full bio
Avatar
Approved by
Brett Johnson

This article has been approved by Brett Johnson, Data Recovery Engineer at ACE Data Recovery. Brett has a Bachelor's Degree in Computer Systems and Network, 12 years of experience.