How to Force Erase a Mac Hard Drive
In this article
You can force your Mac to erase a hard drive by booting into macOS Recovery and using Disk Utility to erase the drive, even if the normal startup disk is damaged or the drive is not responding. This process wipes all data on the drive, so back up anything you need first. It is commonly used before selling a Mac, after a failed macOS install, or when a drive refuses to erase from within macOS.
What You'll Need
- Your Mac and its power adapter (do not rely on battery alone).
- A backup of any data you want to keep, on an external drive or cloud service.
- Your macOS administrator password, if prompted.
- An internet connection if you use Internet Recovery (for Intel Macs) or need to reinstall macOS afterward.
Step-by-Step
- Back up your data. Erasing a drive permanently deletes everything on it. Use Time Machine or copy files to an external drive. Once erased, files cannot be recovered by normal means.
- Shut down your Mac completely. Choose Apple menu > Shut Down and wait for the screen to go black.
- Start up in macOS Recovery. The method depends on your Mac type:
- Apple silicon (M1 or later): Press and hold the power button until you see “Loading startup options,” then click Options and click Continue.
- Intel Mac: Press the power button and immediately hold Command (⌘) and R until the Apple logo appears. If that does not work, try Option-Command-R for Internet Recovery, which requires a network connection.
- Select your language if prompted, then wait for the macOS Utilities window to appear.
- Open Disk Utility. In the Utilities window, double-click Disk Utility. If you do not see it, look under the Utilities menu at the top of the screen.
- Show all devices. In Disk Utility, click the View button (or View menu) and choose Show All Devices. This reveals the physical drive, not just the volumes on it.
- Select the drive you want to erase. In the left sidebar, click the top-level entry for the physical drive (often labeled with the manufacturer name and capacity, such as “APPLE SSD” or “Samsung SSD”). Selecting only a volume below it will not erase the whole drive.
- Click Erase. A dialog appears. Choose a format:
- APFS for modern macOS installations (recommended for SSDs and most internal drives).
- Mac OS Extended (Journaled) only if you need compatibility with older macOS versions or specific tools.
- ExFAT if you plan to use the drive with both Windows and Mac.
- Wait for the erase to finish. This can take from a few seconds to several minutes depending on drive size and speed. Do not interrupt the process or unplug the drive.
- Quit Disk Utility. When the erase completes, close Disk Utility. You can now reinstall macOS from the Recovery menu (choose Reinstall macOS) or restart and use the drive as an external disk.
Common Mistakes
- Erasing only a volume, not the whole drive. If you select a volume (like “Macintosh HD”) instead of the physical drive, the drive’s partition map and other volumes remain. Always choose the top-level device after enabling Show All Devices.
- Forgetting to back up. There is no undo. Once erased, data is gone unless you have a backup.
- Using the wrong format. Choosing Mac OS Extended on a modern SSD can slow performance and prevent some macOS features. Use APFS unless you have a specific reason not to.
- Interrupting the erase. Closing the lid, unplugging power, or forcing a restart mid-erase can leave the drive in an unstable state and may require another erase attempt.
- Not having a macOS installer ready. If you erase your only startup drive, you will need to reinstall macOS from Recovery. Make sure you have an internet connection or a bootable installer.
Tips
- If Disk Utility does not show the drive at all, try a different cable or port, or check if the drive is physically connected properly (for external drives).
- For SSDs, a simple erase is sufficient; secure erase options that overwrite data multiple times are not necessary and can wear out the drive.
- If you plan to sell or give away the Mac, sign out of iCloud and disable Find My Mac before erasing to avoid activation lock issues for the next owner.
- Keep your Mac plugged in during the entire process to prevent power loss.
- After erasing, you can verify the drive is empty by reopening Disk Utility and checking that no volumes remain.
Troubleshooting
- Disk Utility does not open or Recovery does not load: Restart and try the key combination again. For Intel Macs, ensure you are using a wired keyboard if wireless is not recognized. For Apple silicon, make sure you hold the power button long enough.
- The drive is not listed in Disk Utility: The drive may have failed or be disconnected. Try another cable or port. If it is an internal drive and still not listed, it may need professional service.
- Erase fails with an error: Note the error message. Try erasing again. If it repeatedly fails, the drive may have bad sectors. You can try “First Aid” in Disk Utility to repair the disk, but if that fails, the drive may need replacement.
- Mac will not boot after erase: This is expected if you erased the startup drive. Reinstall macOS from Recovery (choose Reinstall macOS in the Utilities window) or use a bootable installer.
- Cannot erase because the drive is in use: Make sure you are booted from Recovery, not from the drive you are trying to erase. If you are trying to erase an external drive while booted normally, close all apps and try again, or use Recovery.
Frequently Asked Questions
Can I erase my Mac's hard drive without a recovery partition?
Yes. Use Internet Recovery (Intel Macs: Option-Command-R at startup) or create a bootable USB installer on another Mac. Apple silicon Macs always have recovery built in.
Will erasing the drive remove macOS?
Yes, erasing the entire drive removes macOS and all data. You will need to reinstall macOS afterward.
How long does it take to erase a Mac hard drive?
It depends on the drive size and speed. A quick erase of an SSD can take under a minute; a large hard drive may take several minutes. Secure erase options (if available) take much longer.
Is it safe to erase a drive that is making noise?
If the drive is clicking or grinding, it may be failing. Back up immediately if possible, and consider replacing the drive rather than erasing it.
Can I erase just part of the drive?
Yes, you can erase a specific volume or partition, but that does not wipe the entire drive. To force a full erase, select the physical drive.
What if I forgot my administrator password?
You may need to reset it via Recovery or another administrator account. Without admin access, you cannot erase the drive from Disk Utility.