sodcalculator

10 Tech How-To

macOS Erase Process Failed: Fix & Continue

Guide 10-10010 · Updated · Step by step

If you see “Erase process has failed. Click Done to continue� on your Mac, it means the macOS Recovery erase operation could not complete, often due to a locked disk, a failing drive, or a software glitch. The fix is to unlock the disk with your password, use Disk Utility’s “Show All Devices� view, and retry the erase—or fall back to Terminal commands if the graphical interface keeps failing. Below is a full breakdown of why this happens and how to get a clean, successful erase.

What This Error Actually Means

The message appears during a macOS reinstall or disk wipe from Recovery. When you choose “Erase� in Disk Utility, macOS attempts to unmount the volume, write a new file system structure (APFS or Mac OS Extended), and remount it. If any step fails—permissions, a locked volume, or a hardware read/write issue—the operation aborts and shows that generic dialog. The “Done� button simply dismisses the alert; it does not fix the underlying problem.

This is different from a “disk not readable� error. The erase failure typically means the disk itself is recognized, but the software cannot complete the format. Common triggers include:

  • Volume is mounted and cannot be unmounted.
  • FileVault encryption is still active and the disk is locked.
  • The disk is the startup disk (you cannot erase the disk macOS is running from).
  • Third-party disk utilities or a damaged partition map confuse Disk Utility.

Why It Happens: Background and Common Causes

macOS Recovery boots from a hidden partition or from the internet, so the system files are not on the disk you are trying to erase. However, the target disk may still be “in use� by the recovery environment if it is the only drive. In that case, Disk Utility cannot unmount it, and the erase fails.

Another frequent cause is an APFS container that contains multiple volumes (like Macintosh HD and Macintosh HD – Data). If you select the container but not the whole physical disk, or if you select a volume instead of the container, the erase may fail because the container is still active. Similarly, if the disk has a corrupt GUID partition map, the format operation can hang and then report failure.

Hardware issues—such as failing SATA/NVMe controllers, bad sectors, or a dying SSD—can also cause the erase to fail mid-operation. In those cases, the error is a symptom of a larger problem, and you may need to replace the drive.

How to Fix It: Step-by-Step Solutions

Start with the simplest fix and move to more advanced ones. Always back up any data you need before erasing, because the process will destroy everything on the target disk.

  1. Unlock the disk. In Disk Utility, select the volume and click “Unlock� if the padlock icon appears. Enter the password used for FileVault. If you do not know it, you cannot erase the disk; you will need to erase the whole disk (which removes encryption) or use Terminal with a different method.
  2. Show all devices. In Disk Utility’s menu bar, click “View� and choose “Show All Devices.� This reveals the physical disk (e.g., “APPLE SSD AP0512M�) at the top of the sidebar. Select that physical disk, not the container or volume, and then click “Erase.�
  3. Choose the correct format and scheme. For modern Macs, use “APFS� and “GUID Partition Map.� For older Macs or if you need compatibility with macOS High Sierra or earlier, use “Mac OS Extended (Journaled)� and “GUID Partition Map.� If you select the wrong scheme, the erase may fail.
  4. Retry after unmounting. If the volume is still mounted, select it and click the “Unmount� button (the eject icon) before erasing. If unmount fails, close all other apps—though in Recovery, there are none—or use Terminal.
  5. Use Terminal as a fallback. From the Recovery menu, go to Utilities > Terminal, and run diskutil list to find the disk identifier (e.g., disk0). Then run diskutil eraseDisk APFS Macintosh HD /dev/disk0 (replace disk0 with your identifier). This bypasses the graphical interface and often succeeds when Disk Utility fails.
  6. Reset NVRAM (Intel Macs only). Shut down, then turn on and immediately press and hold Option+Command+P+R for about 20 seconds. This resets some hardware settings that can interfere with disk operations. On Apple Silicon Macs, this is not applicable.
  7. Try Internet Recovery. If the local Recovery partition is corrupt, restart and hold Option+Command+R (Intel) or press and hold the power button (Apple Silicon) to boot into Internet Recovery. Then attempt the erase again.

What to Do If the Erase Still Fails

If you have tried all the above and the error persists, the problem is likely hardware. Run Apple Diagnostics by restarting and holding the D key (Intel) or pressing and holding the power button (Apple Silicon). If diagnostics report a hardware issue, the drive may be failing and you should back up any recoverable data immediately and consider replacing the drive.

Another option is to use a third-party disk utility like GParted (via a Linux live USB) to completely overwrite the partition table. This is a more advanced step and requires creating a bootable USB drive. If the disk is physically healthy, this can clear a stubborn partition map that macOS cannot handle.

In rare cases, the erase fails because the disk is write-protected. This can happen on SD cards or external drives with a physical lock switch. Check the drive for a lock slider and move it to the unlocked position.

Comparing Erase Options: APFS vs. Mac OS Extended

Choosing the wrong file system is a common cause of failure. APFS is the default for macOS High Sierra (10.13) and later, and it is required for macOS Catalina and later to work properly with the system volume. Mac OS Extended (Journaled) is for older macOS versions or for drives that need to be read by Windows or older Macs.

If you are erasing the startup disk to reinstall macOS, always choose APFS for modern Macs. If you are erasing an external drive for Time Machine backups, either works, but APFS is recommended for macOS 10.15 and later. Using Mac OS Extended on a modern Mac may cause the erase to fail if the disk is an SSD, because macOS expects APFS for SSDs.

Safety and Data Loss Considerations

Erasing a disk is permanent. Once you confirm, all data on that disk is gone. Before proceeding, double-check that you have backed up any important files to another drive or cloud service. If the disk is encrypted and you do not have the password, you cannot recover the data after erasing.

If you are erasing a Mac’s startup disk to sell or give away, also consider using “Erase All Content and Settings� (available in System Settings > General > Transfer or Reset) on macOS Monterey and later. This is a safer way to wipe a Mac without needing Recovery, and it preserves the firmware password if one is set.

Never attempt to erase a disk while it is the active startup disk. Always boot from Recovery or another external drive. If you are unsure which disk is which, use Disk Utility’s “Get Info� to check the device name and capacity before erasing.

Frequently Asked Questions

Will clicking “Done� damage my Mac?

No. Clicking “Done� simply dismisses the error dialog. Your Mac remains in the same state as before the erase attempt—nothing is lost, but the disk is not erased. You can safely close the dialog and try another method.

Can I erase my startup disk from Recovery?

Yes, but you must erase the physical disk (not the volume) and then reinstall macOS. The Recovery environment itself runs from a separate partition or from the internet, so it can erase the startup disk. However, you cannot erase the disk while macOS is running normally from it.

Why does Disk Utility show a grayed-out Erase button?

The Erase button is grayed out when the selected item is a volume that is part of an APFS container, or when the disk is locked. Select the physical disk (the top-level item) and unlock it if necessary. If it is still grayed out, close Disk Utility and reopen it, or use Terminal.

What is the difference between erasing a volume and erasing a disk?

Erasing a volume only formats that one volume, leaving other volumes and the partition map intact. Erasing a disk wipes the entire physical drive, including all volumes and the partition map. For a clean reinstall, you usually want to erase the whole disk.

Can I recover data after a failed erase?

If the erase failed, the data is likely still intact because the operation did not complete. Do not attempt another erase until you have tried to recover your data. Use data recovery software or take the drive to a professional. If the erase partially completed, recovery may be difficult but sometimes possible.

Does this error mean my SSD is dead?

Not necessarily. A failed erase is often a software issue. However, if the error persists after trying all fixes, it could indicate a failing drive. Run Apple Diagnostics to check the hardware. If the drive is under warranty, contact Apple or the manufacturer.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →