Disk Utility Erase Greyed Out — Cannot Format or Partition Disk on Mac
About Disk Utility Erase Greyed Out
Fix Disk Utility Erase button greyed out or unavailable when trying to format, repartition, or erase internal or external drives on macOS. This guide covers everything you need to know about this topic, including common causes, step-by-step solutions, and answers to frequently asked questions.
Here are the key things to understand: Disk Utility may grey out the Erase button for system drives, locked drives, or unsupported configurations. The startup disk cannot be erased while macOS is running from it — use Recovery Mode. Showing All Devices in Disk Utility (View > Show All Devices) reveals the physical disk container. APFS containers must be erased at the physical device level, not the volume level. Some external drives have hardware write protection switches that prevent erasing. Understanding these fundamentals will help you diagnose and resolve this issue more effectively.
The most common reasons this occurs include: Attempting to erase the startup disk while booted from it (must use Recovery Mode). Disk Utility showing volumes instead of physical devices — erase the container not the volume. External drive has a hardware write-protection switch enabled. Drive is mounted by another process or application preventing modification. Identifying the root cause is the first step toward finding the right solution.
To resolve this, follow these recommended steps: Show all devices: Disk Utility > View > Show All Devices — select the top-level physical disk. For startup disk: boot into Recovery Mode (hold power button on Apple Silicon, Cmd+R on Intel). In Recovery Mode: open Disk Utility from the Utilities menu and erase from there. For external drives: check for a physical write-protection switch on the enclosure. If greyed out for external: try a different USB port or cable, or use Terminal diskutil commands. If these steps do not resolve the issue, consider consulting additional resources or a qualified professional.
This article is part of our Mac Error Codes collection on Error Codes Wiki. We provide comprehensive, up-to-date information to help you find solutions quickly.
Quick Answer
Why is the Erase button greyed out?
Most commonly because you need to select the physical disk (top level) instead of a volume (sub-item). Choose View > Show All Devices, then select the device at the top of the hierarchy. Also, the startup disk requires Recovery Mode to erase.
Overview
Fix Disk Utility Erase button greyed out or unavailable when trying to format, repartition, or erase internal or external drives on macOS.
Key Details
- Disk Utility may grey out the Erase button for system drives, locked drives, or unsupported configurations
- The startup disk cannot be erased while macOS is running from it — use Recovery Mode
- Showing All Devices in Disk Utility (View > Show All Devices) reveals the physical disk container
- APFS containers must be erased at the physical device level, not the volume level
- Some external drives have hardware write protection switches that prevent erasing
Common Causes
- Attempting to erase the startup disk while booted from it (must use Recovery Mode)
- Disk Utility showing volumes instead of physical devices — erase the container not the volume
- External drive has a hardware write-protection switch enabled
- Drive is mounted by another process or application preventing modification
Steps
- 1Show all devices: Disk Utility > View > Show All Devices — select the top-level physical disk
- 2For startup disk: boot into Recovery Mode (hold power button on Apple Silicon, Cmd+R on Intel)
- 3In Recovery Mode: open Disk Utility from the Utilities menu and erase from there
- 4For external drives: check for a physical write-protection switch on the enclosure
- 5If greyed out for external: try a different USB port or cable, or use Terminal diskutil commands