Verified for macOS Tahoe 26.2

How to Fix Disk Utility Erase Failure in macOS Tahoe 26.2

Is Disk Utility failing with "Erase process has failed" on macOS Sequoia or Tahoe?

TL;DR fix

Follow Fix 1: The Professional Drive Repair — full Terminal commands and step-by-step instructions below. Verified on macOS Tahoe 26.2.

Recommended Troubleshooting Tool

Before proceeding with manual fixes, we recommend using CleanMyMac X. Ideal for scanning disks for errors and clearing hidden system junk.


The Symptom

You try to format a USB drive or partition, but it fails with a generic error or "Unable to write to the last block."

The Fix

  1. The 'diskutil' Wipe

Terminal:

diskutil list

(Identify your disk, e.g., disk5)

diskutil eraseDisk APFS "Untitled" /dev/disk5
  1. Change the Scheme to GUID

Ensure you have selected "GUID Partition Map" in the erase dialog. "Master Boot Record" often fails on newer macOS versions.

  1. Check the Physical Lock Switch

If you are using an SD card or older USB drive, check for a physical "Read Only" lock switch on the side of the hardware.


Fix 3: The Professional Drive Repair

When the drive's partition table is corrupted beyond what Disk Utility can see.

Recommended Tool: Disk Drill

- Disk Health Monitoring: If a disk fails to erase, it's often due to hardware bad sectors. Disk Drill can tell you if the drive is physically dying.

- Deep Clean: Use the "Clean Up" tool to remove hidden EFI partitions that might be blocking the erase process.