What this guide covers and why erase correctly matters
If you’re preparing to sell, donate, repair, or repurpose a Mac, securely erasing the startup disk is essential. This evergreen guide explains how to erase a Mac hard drive or SSD using Apple-supplied tools, the security guarantees each method provides, and what to verify when the process is complete. Topics include choosing between simple macOS UI utilities and more advanced Disk Utility options, handling Apple silicon versus Intel-based Macs, and ensuring personal files, apps, and accounts cannot be recovered by the next user. No third-party tools are required for a standard secure erase when the drive is functioning normally.
Back up important data before you erase
Erasing a drive is irreversible; once the process completes, files are not guaranteed to be recoverable. Before you begin, back up your personal data, apps, and settings to one of these destinations:
- iCloud: Good for documents, photos, and app data when storage is sufficient.
- Local Time Machine backup to an external drive: Provides a full-system, browsable backup.
- Direct copy to an external drive or cloud storage for large media collections.
Also sign out of iCloud, iTunes, and other services, and deactivate or deauthorize software and devices tied to your account to avoid complications on the destination device.
Erase methods at a glance
The right method depends on your Mac model and whether the disk is internal or external. The following table summarizes options for typical use cases:
| Method | When to use | Security level | Notes |
|---|---|---|---|
| Erase via System Settings / System Preferences (GUI) | Most consumer scenarios: selling, donating, returning a device | Standard secure erase; sufficient for non-sensitive data | Convenient on working systems and external drives |
| Disk Utility in macOS Recovery (GUID Partition Map) | Internal drives, reimaging, preparing for resale | Stronger sanitization options when a full OS isn’t bootable | Required when using APFS encryption or enabling extra security steps |
| Single-user / nix-based utilities for advanced cases | Troubleshooting, scripted or audited workflows | Varies by command and options; not default consumer path | Use only if you understand risks and verify outcomes |
How to erase an internal Mac hard drive using macOS Recovery (works for most Intel and Apple silicon models)
Booting into Recovery provides the cleanest environment to erase system drives, especially when the current OS will be removed. Steps vary slightly between Apple silicon and Intel Macs, but the core flow is similar.
Apple silicon Macs
- Shut down the Mac, then press and hold the power button until you see Options.
- Select your startup disk if multiple drives appear, then choose Continue to enter macOS Recovery.
- Open Disk Utility from the Utilities menu, select the internal physical disk at the top level (not a volume), then click Erase.
- Choose a name, select APFS or Mac OS Extended (Journaled), and pick a partition scheme (GUID Partition Map).
- For additional security, select Security Options and choose the number of passes; more passes increase time but reduce recoverability.
Intel-based Macs
- Reboot and immediately hold Command+R to boot into macOS Recovery.
- Open Disk Utility from the Utilities menu and select the internal drive at the top level.
- Click Erase, assign a name, and choose GUID Partition Map with APFS or Mac OS Extended (Journaled).
- Use Security Options to set the number of erasure passes if you need higher assurance.
After erasing, you can install a fresh copy of macOS or prepare the disk for another operating system. Encryption notes are covered below.
Erase an external drive or non-system disk
External USB drives, SSDs, and SD cards can be erased directly from Disk Utility while they are connected:
- Open Disk Utility from Applications / Utilities.
- Select the external drive in the sidebar, then click Erase.
- Choose a format: APFS (best for macOS and modern use), Mac OS Extended (Journaled) (widely compatible), or ExFAT (works across macOS, Windows, and consoles when file sizes exceed 4GB).
- Set a name and, if desired, open Security Options to increase the number of passes.
Increasing passes makes erasure more time-consuming but further reduces the chance of data recovery.
Security options and how many passes to use
Secure erase options overwrite data with patterns intended to make recovery impractical. Tradeoffs are time versus assurance; consumer use often defaults to a single pass, while more sensitive dispositions may justify multiple passes:
- Single-pass: Fast and removes typical file-recovery tools; adequate for most non-regulated scenarios.
- Seven-pass (DoD 5220.22-M): Slower but thorough; historically required for government or sensitive media disposal.
- Thirty-five-pass Gutmann: Very slow, rarely needed on modern drives, and may increase wear on SSDs without proportional benefit.
For SSDs, encryption is often a better approach than multiple overwrite passes, because SSDs manage wear-leveling and remapping in ways that make exact overwrite behavior inconsistent. Encrypt then discard the key for rapid, effective sanitization.
Encrypted drives: a faster, safer alternative
If the internal drive was enabled with FileVault (macOS) or BitLocker (Windows), you can often sanitize the disk by simply erasing or removing the encryption key rather than performing a lengthy overwrite. Apple silicon Macs with FileVault tie the key to the Secure Enclave; removing the key effectively renders user data unrecoverable. With an encrypted drive, you can securely erase the Mac hard drive with minimal time and without multiple passes, then confirm by checking that the encryption status shows the key is cleared.
Verify that the erase succeeded
After the process completes, do a quick verification to reduce the risk of mistakes:
- Restart from the built-in Recovery Partition or Recovery USB and open Disk Utility to confirm the drive appears with the correct format and size.
- Boot into macOS Setup (Apple silicon) or Startup Manager (Intel) and ensure no unexpected drives remain.
- For extra assurance, boot from a Linux or Windows install media and check that old partitions or data are not accessible.
These checks help catch selection errors, such as targeting an external drive instead of the internal disk.
Special cases and alternatives
Some situations call for extra steps or different approaches:
- Failing drive: If the disk shows I/O errors or won’t mount, imaging may not be possible; consult manufacturer support or professional services.
- Fusion Drives and APFS containers: Erase the container and core storage components; using Disk Utility’s Erase Disk is safest.
- Targeted deletion vs full disk erase: If you only need to remove sensitive files, securely empty the Trash and overwrite individual files; for complete disposal, prefer a full disk erase.
Best practices before and after erasing
To ensure a smooth transition and avoid surprises, follow these best practices:
- Back up and verify you can restore critical files to another device.
- Sign out of iCloud, App Store, and messaging services; remove devices from Find My.
- Deauthorize iTunes and other licensed software tied to your account.
- If selling or donating, write a simple checklist confirmation that the disk has been erased and is empty.
- When physically disposing of drives, consider mechanical destruction for high-risk media if local laws require it.
Limitations, myths, and final notes
Understanding what erasure can and cannot guarantee helps you choose the right workflow:
- Erasing an SSD does not physically destroy NAND cells; data remnants may persist in unused blocks, but without encryption key access recovery is impractical for most adversaries.
- Time Machine snapshots on the same volume can retain older copies; manage or exclude them before erasure if necessary.
- Using Verified commands or reputable tools matters less when relying on built-in macOS utilities for standard consumer workflows.
Following this guide, you can erase a Mac hard drive or SSD safely, with clarity about how it works and what to verify afterward. When in doubt, encrypt first and then discard or overwrite the key for efficient, effective sanitization.