How to Completely Wipe and Reset an External Hard Drive
In this article
Completely wiping an external hard drive means erasing all partitions and data so it appears as a blank, unallocated disk. This is different from a quick format: a quick format only removes the file system markers, leaving the old data recoverable with the right tools. A full wipe overwrites the data or resets the drive to a factory-like state, which is useful before selling, repurposing, or troubleshooting persistent errors. Before you start, back up anything you want to keep—once wiped, the data is gone. You will need the drive, its USB cable, and a computer running Windows or macOS. For a secure wipe on a mechanical drive, a tool like Diskpart (Windows) or Disk Utility (macOS) is sufficient; for SSDs, use the manufacturer's secure erase utility if available.
What You'll Need
- Your external hard drive and its USB cable (or power adapter if required).
- A Windows PC or Mac with an available USB port.
- Administrator rights on the computer (for Windows Diskpart and Disk Utility).
- Optional: a secure erase tool from the drive manufacturer for SSDs.
- A backup of any files you want to keep—this process deletes everything.
Step-by-Step
- Back up your data. Copy any files you need to another drive or cloud storage. Once wiped, recovery is difficult or impossible.
- Connect the drive. Plug the external hard drive into your computer using its USB cable. If it has a separate power adapter, connect that too and turn it on.
- Open Disk Management (Windows) or Disk Utility (macOS). On Windows, right-click the Start button and choose Disk Management. On macOS, open Disk Utility from Applications > Utilities. Note that menu labels can differ slightly by version, device, or region.
- Identify the correct drive. In Disk Management, look for the disk number and size that match your external drive. In Disk Utility, select the drive from the sidebar—make sure you pick the external drive, not your system disk. Double-check the capacity and name to avoid wiping the wrong drive.
- Wipe the drive using Diskpart (Windows) or Disk Utility (macOS). For Windows: open Command Prompt as Administrator, type
diskpart, thenlist disk,select disk X(replace X with your drive's number), andclean. This removes all partitions and data. For macOS: in Disk Utility, click the drive, then click Erase. Choose a format (e.g., APFS or Mac OS Extended) and a scheme (GUID Partition Map), then click Erase. For a more secure wipe on macOS, click Security Options and choose a multi-pass erase (available for mechanical drives; SSDs may not offer this). - Create a new partition (optional). After wiping, the drive will appear as unallocated space. To use it again, create a new partition: in Disk Management, right-click the unallocated space and choose New Simple Volume, then follow the wizard. On macOS, Disk Utility will automatically create a partition when you erase.
- Safely eject the drive. Before unplugging, use the Safely Remove Hardware icon (Windows) or drag the drive to the Trash (macOS) to avoid corruption.
Common Mistakes
- Wiping the wrong drive. Always verify the drive letter, disk number, and capacity before confirming. Disconnect other external drives to avoid confusion.
- Using quick format instead of full wipe. Quick format leaves data recoverable. Use Diskpart's
cleancommand or a full erase in Disk Utility for a complete wipe. - Forgetting to back up. Once wiped, data is gone. Double-check your backup before proceeding.
- Not safely ejecting. Removing the drive during a wipe can corrupt it or cause errors. Always eject safely.
- Assuming SSDs need multiple passes. For SSDs, a single secure erase is sufficient; multiple passes are unnecessary and can wear out the drive.
Tips
- For SSDs, use the manufacturer's secure erase tool if available—it sends a command that wipes all cells, including those not in use.
- If you plan to sell the drive, consider physical destruction for maximum security, especially for SSDs where data recovery can be tricky.
- Label your drives to avoid confusion in the future.
- Test the drive after wiping by copying a small file to ensure it works correctly.
Troubleshooting
- Drive not recognized. Try a different USB port or cable. Check Disk Management or Disk Utility to see if the drive appears. If not, the drive may be faulty.
- Diskpart says "Access Denied". Ensure you opened Command Prompt as Administrator. Also, close any programs that might be using the drive.
- Erase process fails. The drive may be write-protected or have bad sectors. Check the physical lock switch on the drive (if present) and try a different computer.
- Drive shows as unallocated but you can't create a partition. The drive may be using an incompatible partition style. In Disk Management, right-click the disk and choose Initialize Disk, then select GPT or MBR.
- Mac cannot erase drive. Ensure the drive is not read-only. In Disk Utility, click the drive and check the Mount Point; if it's read-only, try repairing permissions or using Terminal commands like
diskutil.
Frequently Asked Questions
Does wiping an external hard drive delete everything permanently?
Yes, a full wipe (like Diskpart's clean or a secure erase) removes all data and partitions, making recovery extremely difficult. A quick format, however, only removes file system markers and data can often be recovered.
Can I wipe an external hard drive without a computer?
No, you need a computer to run the wiping tools. Some standalone duplicators have erase functions, but they are specialized devices.
How long does it take to wipe an external hard drive?
A quick wipe takes seconds; a full secure wipe can take hours depending on drive size and speed. For a 1TB mechanical drive, a multi-pass erase might take several hours.
Is it safe to wipe an SSD with Diskpart?
Diskpart's clean command removes partitions but does not securely erase all flash cells. For SSDs, use the manufacturer's secure erase tool for a proper wipe.
What is the difference between format and wipe?
Format prepares the drive for use by creating a file system, but may leave old data. Wipe removes all data and partitions, returning the drive to a blank state.
Can I reuse the drive after wiping?
Yes, after wiping you can create a new partition and format it to use the drive again.