If Disk Utility cannot erase or reformat a drive on your Mac, first check that you selected the correct device, then try erasing it from macOS Recovery or another Mac. The cause may be a busy volume, an unsuitable format or partition scheme, a connection problem, or a failing or write-protected drive; back up anything you need before erasing because the process deletes data.
Before you erase: protect your data
Erasing a drive removes its files and usually its partition map. If the drive contains data you want, stop and try to copy or recover it before troubleshooting. Do not erase a disk just to make an error disappear: an erase is not a repair for every hardware or file-system problem.
- Confirm the drive’s name, capacity, and connection so you do not select your Mac’s internal storage or another external disk by mistake.
- Disconnect unrelated external storage to reduce the risk of choosing the wrong device.
- If the drive appears intermittently, makes unusual mechanical noises, or contains irreplaceable files, avoid repeated erase attempts and consider professional data recovery.
An erase can make existing data much harder to retrieve. If you have a backup, verify that it is usable before proceeding. For an external drive, also check that its cable, adapter, and power supply are secure.
Show the right disk in Disk Utility
Disk Utility can show a volume without showing the physical device in the same view. Open Disk Utility from Applications > Utilities, choose View > Show All Devices, then inspect the sidebar. A physical drive appears above the volumes or containers it holds.
To erase an entire external disk, select the top-level physical device, not just a volume underneath it. To erase only one volume, select that volume instead—but be aware that changing a partition or container can affect other volumes on the same device. If the device does not appear at all, try another port, cable, or compatible computer before attempting an erase.
Choose a compatible format and scheme
When you select Erase, Disk Utility asks for a name, format, and sometimes a scheme. The right choices depend on how the drive will be used:
- APFS: Usually appropriate for a Mac-only drive used with current macOS. APFS is designed for solid-state storage and supports features such as volumes and snapshots.
- Mac OS Extended (Journaled): An older Mac format that may be needed for compatibility with older Macs or particular workflows.
- ExFAT: Commonly useful when the drive must store large files and be read and written by both macOS and Windows. Confirm that any other devices you use support it.
- GUID Partition Map: The usual scheme for a modern Mac startup disk and many general-purpose drives.
- Master Boot Record: May be needed for some older devices. Use it only when the target equipment requires it.
Do not choose a format simply because it is listed. If the scheme option is unavailable, you may have selected a volume rather than the physical device. Selecting the wrong format can leave the disk unusable on the device you intend to use it with.
Try these fixes in order
- Close apps using the drive. Quit Finder windows and applications that may be reading or writing to it. Eject the disk if possible, reconnect it, and reopen Disk Utility. A volume in use can prevent changes.
- Run First Aid. Select the affected volume in Disk Utility and choose First Aid. If it completes, try the erase again. First Aid checks and may repair certain file-system or directory problems; it does not recover erased files or fix every hardware fault.
- Erase the physical device. Choose View > Show All Devices, select the top-level drive, click Erase, and set the format and scheme appropriate to your use. Read the selected device name and capacity again before confirming.
- Check the physical connection. Try a known-good cable, a different port, or a powered hub if the drive requires one. For a drive in an enclosure, the enclosure or adapter may be the problem, not the disk itself.
- Use macOS Recovery for the startup disk. You cannot normally erase the active startup volume while macOS is running from it. Start the Mac in macOS Recovery, open Disk Utility there, and select the intended startup disk. The exact startup method depends on whether the Mac has Apple silicon or an Intel processor; follow Apple’s current instructions for your model.
In Recovery, use care: erasing the startup disk removes macOS and its data. If your goal is to reinstall macOS, follow the complete erase-and-reinstall instructions for your Mac model rather than erasing an unfamiliar disk.
What common errors can mean
An alert saying the disk is in use can mean an app, process, or mounted volume still has files open. Close likely users of the disk and restart the Mac if needed. If Disk Utility says it cannot unmount a volume, select the physical device and retry only after confirming that no needed files are being accessed.
A read-only or write-protection message may come from a physical lock on an SD card or adapter, an enclosure, permissions, or a drive that is failing. Check for a lock switch and test a different adapter. Do not assume that changing permissions will remove hardware write protection.
If the drive is missing, disconnect and reconnect it, check power and cabling, and inspect whether it appears on another computer. If it is visible but erase repeatedly fails, or First Aid reports problems it cannot repair, the drive may be damaged. Repeatedly formatting a failing disk is unlikely to make it reliable.
When Terminal or another tool is appropriate
Terminal includes disk-management commands, but a mistaken disk identifier can erase the wrong drive. It is not a safer workaround for an unclear Disk Utility error. Use command-line instructions only if you can reliably identify the target disk and understand that the command is destructive; otherwise, stay with Disk Utility or ask a qualified technician.
Third-party formatting tools also cannot overcome a failed connection or a physically failing disk. For a disk that contains important data, stop experimenting and seek recovery help before trying software that writes to it.
Frequently Asked Questions
Why is Erase greyed out in Disk Utility?
You may have selected a volume or a disk macOS cannot currently modify, or the volume may be in use. Show all devices, select the intended physical drive, close apps using it, and check whether you need to use macOS Recovery.
Can I erase my Mac’s internal drive while logged in?
Not while macOS is actively running from that drive. Start in macOS Recovery and follow the erase and reinstall procedure for your Mac. Make a backup first, because erasing removes the data.
Does First Aid erase the drive?
No. First Aid checks and attempts to repair certain disk or volume issues. It is different from Erase, but back up important files before repairs because a damaged drive can behave unpredictably.
Should I choose APFS or ExFAT?
Choose APFS for a drive primarily used with compatible Macs, and consider ExFAT when you need file access on both Mac and Windows. Check the requirements of all devices that will use the drive.
What if Disk Utility still cannot erase the drive?
Test another cable, port, enclosure, or computer and note the exact error. If the drive is absent, unstable, or reports repeated failures, it may have a hardware problem; stop if its data matters and seek recovery or repair advice.
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
- Access to Compressed Zipped Folder Is Denied in Windows 10
- Erase Microsoft Surface Data Without Booting Windows
- Apps to Install for a New Mac: A Practical Starter List
- Show or Hide Thumbnails in Windows 10
- Choose a Loud Bluetooth Speaker for Your Gathering
- iPhone X IMEI and Serial Number: How to Find Them