How to Wipe an External Hard Drive on Mac
In this article
The fastest way to wipe an external hard drive on a Mac is to use Disk Utility's Erase function. This completely reformats the drive, deleting all files and restoring it to a blank state. You'll need the drive connected to your Mac and, ideally, a backup of anything you want to keep, because this process is permanent.
What You'll Need
- Your external hard drive connected to your Mac via USB, Thunderbolt, or FireWire.
- Administrator access to your Mac (your normal login password).
- Optional: a backup of any files you want to keep, stored elsewhere.
Step-by-Step
- Connect the drive to your Mac and wait for it to appear on the desktop or in Finder's sidebar.
- Open Disk Utility. You can find it in Applications > Utilities, or search for it with Spotlight (press Cmd + Space and type "Disk Utility").
- Select your external drive in the left sidebar. Make sure you pick the correct one — it's usually listed under "External" and shows the drive's name and capacity. Do not select your internal Macintosh HD.
- Click the "Erase" button at the top of the Disk Utility window. (In some macOS versions, it's labeled "Erase" or shows an eraser icon.)
- Choose a name for the drive in the "Name" field. This is what the drive will be called after wiping.
- Select a format from the "Format" dropdown. For most users, APFS (Apple File System) is the best choice if you only use the drive with Macs. If you need compatibility with Windows or older Macs, choose ExFAT (works with both Mac and Windows). For older Macs (pre-2017) or if you need macOS Extended (Journaled) for Time Machine, you can pick that instead.
- Select a scheme (if shown). Choose GUID Partition Map — this is the standard for Intel and Apple Silicon Macs.
- Click "Erase" again in the confirmation dialog. This will permanently delete all data on the drive. If you're sure, confirm.
- Wait for the process to finish. Disk Utility will show a progress bar. When done, you'll see a message that the erase was successful.
- Click "Done" and close Disk Utility. Your drive is now wiped and ready to use.
Common Mistakes
- Erasing the wrong drive — Always double-check the drive name and capacity in Disk Utility before clicking Erase. Accidentally wiping your internal drive will erase your macOS installation.
- Choosing the wrong format — If you pick APFS and later plug the drive into a Windows PC, it won't be recognized. Choose ExFAT if you need cross-platform compatibility.
- Not backing up — Once you erase, there's no undo. If you have files you need, copy them elsewhere first.
- Interrupting the process — Don't unplug the drive or put your Mac to sleep during the erase. This can corrupt the drive's partition table.
Tips
- Use a secure erase if you're selling or disposing of the drive. In Disk Utility, click "Security Options" before erasing and choose a higher number of passes. This overwrites old data, making it harder to recover. Note: this takes much longer.
- For Time Machine backups, use macOS Extended (Journaled) or APFS — both work, but APFS is the modern default.
- If the drive is encrypted, you'll be prompted to enter its password before erasing. Make sure you have it.
- After erasing, eject the drive properly by dragging it to the Trash or right-clicking and selecting "Eject" before unplugging.
Troubleshooting
If the erase fails or the drive doesn't appear in Disk Utility, try these in order:
- Restart your Mac and reconnect the drive. This clears temporary glitches.
- Try a different port or cable. A faulty cable or port can prevent the drive from being recognized.
- Check if the drive mounts — If it appears on the desktop but not in Disk Utility's sidebar, look under "Show All Devices" in the View menu (top-left of Disk Utility). Sometimes the physical drive is hidden under a volume name.
- Use First Aid — In Disk Utility, select the drive and click "First Aid" to repair minor filesystem errors before attempting to erase again.
- If the drive still doesn't work, it may be physically failing. Try connecting to another computer. If it's recognized there, the issue is with your Mac. If not, the drive may need professional data recovery or replacement.
Frequently Asked Questions
Will wiping an external drive delete everything permanently?
Yes, the standard erase in Disk Utility removes all file references and makes the data unrecoverable through normal means. However, with specialized software, some data may still be recoverable unless you use a secure erase (multiple overwrites).
Can I wipe an external drive without Disk Utility?
Yes, you can use the diskutil command in Terminal, but Disk Utility is the safest and easiest method for most users. Terminal commands are powerful and can accidentally erase the wrong disk if mistyped.
What format should I use for a drive that will be used with both Mac and Windows?
Use ExFAT. It works natively on both macOS and Windows without extra software. APFS and macOS Extended are Mac-only formats.
How long does it take to wipe an external hard drive?
It depends on the drive size and speed. A regular erase on a 1TB drive typically takes a few minutes. A secure erase with multiple passes can take several hours.
Will wiping my external drive remove malware or viruses?
Yes, erasing the drive removes all files, including any malware. However, malware that has infected your Mac's system files won't be removed by wiping an external drive — you'd need to reinstall macOS.
Can I cancel an erase once it starts?
You can click the stop button, but this may leave the drive in an unusable state. It's best to let it finish. If you must cancel, you'll likely need to erase again afterward.