Data Erasure
 
...

How to Wipe a USB Flash Drive Permanently (100% Unrecoverable)

...

TL;DR:

To quickly clear a USB drive for re-use, a standard Format (File Explorer / Mac Disk Utility) works. However, to permanently erase a USB drive so data is 100% unrecoverable (for selling, donating, or malware removal), you must overwrite its storage sectors. Use Coolmuster Data Erasure for one-click deep wiping, or run Windows Command Prompt (diskpart clean all) / Mac Terminal (diskutil zeroDisk) to zero-fill the drive.

Whether you are selling, donating, disposing of an old flash drive, or removing malware, knowing how to erase a USB drive completely is essential to prevent privacy leaks. While deleting files or doing a Quick Format only removes file references, true sanitization requires overwriting raw sectors with zeros or random data (NIST SP 800-88 compliance).

The USB drive is a convenient tool for storing and transferring files (How to transfer photos from iPhone to USB?), and this guide covers step-by-step methods to permanently wipe USB sticks on Windows 11/10 and Mac.

how to erase usb drive

 

Part 1. How to Erase a USB Drive Completely via Coolmuster Data Erasure (Unrecoverable)

When you want to permanently sanitize sensitive files, confidential financial records, or business data from a flash drive before selling, donating, or recycling it, standard Windows formatting is not enough.

Coolmuster Data Erasure is a professional data wiping software that overwrites raw storage sectors to render data 100% unrecoverable by any data recovery software. This method ensures full compliance with privacy protection standards while remaining fast and user-friendly.

Key advantages of Coolmuster Data Erasure:

  • Zero Data Recovery Risk: Overwrites storage sectors completely, preventing sophisticated forensic recovery software from retrieving deleted files.
  • Upload and permanently erase any personal files or folders to ensure they are unrecoverable.
  • Erase all data and traces from hard drives or external devices, including existing, deleted, formatted, broken, and inaccessible files.
  • Supports Multiple Storage Media: Fully compatible with USB flash drives, thumb drives, external HDDs, SSDs, SD cards, and memory sticks.
  • Permanently erase deleted data and free space from any drive or external device without affecting existing files.
  • Completely erase various file types from multiple disks, including photos, videos, audio files, documents, emails, and more.
  • Choose from 3 different erasure modes: File Shredder, Drive Wiper, and Free Space Wiper.
  • Flexible Wipe Standards: Offers Quick Erase (Zero-Fill) and Deep Erase (military-grade sanitization like DoD 5220.22-M standards).
  • A read-only, risk-free, and cost-effective Windows 11/10/8/7 data erasure solution.

Step-by-step guide to permanently wipe a USB flash drive:

01Download and launch the tool on your PC. Connect your USB drive to a working USB port. In the main interface, select the "Drive Wiper" mode, then choose the desired erasure level, either "Quick Erase" or "Deep Erase", to proceed.

choose the desired erasure level

02Select the USB drive letter (e.g., Drive E: or F:) you want to wipe, then click the "Erase Now" button to start the wiping process.

click the erase now button

03When prompted, confirm your selection. Make sure you have backed up any important data, as this will erase everything on the drive permanently and irreversibly.

how to erase usb drive using data erasure

Video Tutorial:

Part 2. How to Wipe a USB Drive via Windows Format (Quick vs Full Format)

Formatting is the most common method to clear files and reset file systems (FAT32, exFAT, or NTFS). If your USB drive does not contain sensitive personal data, formatting is a quick and effective way to erase data and resolve minor file system errors.

Quick Format vs. Full Format Difference:

  • Quick Format: Removes the file allocation table (index) only. Files remain intact on raw sectors and can be easily recovered using data recovery software.
  • Full Format (Windows 10/11): Scans the entire drive for bad sectors and overwrites existing data with zeros (Zero-Fill), making recovery much harder.

Here is how to format a USB drive in Windows File Explorer:

Step 1. Insert the USB drive into your Windows computer USB port.

Step 2. Open File Explorer (Win + E) and locate your USB flash drive under "This PC".

Step 3. Right-click the USB device and select "Format...".

how do i wipe my external usb drive with format

Step 4. Choose the appropriate file system: FAT32 (best cross-platform compatibility for drives <=32GB), exFAT (best for large files >4GB and cross-platform use), or NTFS (Windows-only). Uncheck "Quick Format" if you want Windows to zero-out data and check for bad sectors.

Step 5. Click "Start" and confirm the warning pop-up by clicking "OK" to begin formatting.

Part 3. How to Clean USB Drive Using Diskpart (Command Prompt Clean All)

Diskpart is a built-in command-line utility in Windows that operates at a low level to thoroughly erase a USB drive. It is ideal for situations where a USB drive won't format, shows write-protected errors, has corrupted partition tables, or requires complete data wiping.

Diskpart "clean" vs. "clean all":

  • clean: Only wipes partition information and marks sectors as unallocated (Data is recoverable).
  • clean all: Overwrites every sector on the USB drive with zeros (Zero-Fill). This completely destroys all data and renders it unrecoverable.

Here is how to securely erase a USB drive using Diskpart:

Step 1. Type "cmd" in the Windows search box, right-click "Command Prompt", and select "Run as administrator".

Step 2. In the Command Prompt window, type diskpart and press "Enter".

Step 3. Type list disk and press "Enter". Carefully identify your USB drive number by looking at its storage size (e.g., Disk 1 or Disk 2).

Step 4. Type select disk X (replace X with your actual USB device's number. Warning: Selecting the wrong disk number will erase your main hard drive!).

Step 5. Type clean all and press "Enter". This process will write zeros to every sector. It may take several minutes depending on the size and speed of your USB drive.

Step 6. Once completed, recreate a fresh partition by running these commands in order:
create partition primary (press Enter)
format fs=exfat quick (press Enter)
assign (press Enter)

how to erase usb flash drive using diskpart

Part 4. How to Wipe a USB Flash Drive on Mac (Disk Utility & Terminal)

If you are using macOS, Apple provides built-in tools like Disk Utility and Terminal to format or securely overwrite USB drives without third-party software.

Method A: Use Mac Disk Utility (With Security Options)

  1. Connect the USB drive to your Mac and open Disk Utility (Press Cmd + Space, type "Disk Utility", and press Enter).
  2. In the top left menu, click "View" > "Show All Devices" and select your root USB drive.
  3. Click the "Erase" button in the top toolbar.
  4. Choose a Format (exFAT for Mac & Windows compatibility, or APFS/Mac OS Extended for Mac-only use) and Scheme (GUID Partition Map).
  5. Click "Security Options..." and adjust the slider:
    • Level 1 (Fastest): Standard erase (file references removed).
    • Level 2: Writes a pass of random data and zeros over the disk.
    • Level 3 (DoD 5220.22-M): Writes 3 passes of data to meet US Department of Defense standards.
    • Level 4 (Most Secure): Writes 7 passes of data (US DoD 5220.22-M ECE standard).
  6. Click "OK", then click "Erase" to begin.

erase usb drive on mac using disk utility

Method B: Use Mac Terminal (zeroDisk Command)

For power users, macOS Terminal offers a direct command to zero-fill a drive:

  1. Open Terminal (Applications > Utilities > Terminal).
  2. Type diskutil list and press Enter to find your USB identifier (e.g., /dev/disk2).
  3. Type diskutil zeroDisk /dev/diskN (replace N with your USB drive number, e.g., disk2) and press Enter. This will overwrite the entire drive with zeros.

erase usb drive using terminal

Part 5. Troubleshooting: What to Do If USB Drive Won't Erase or Is Write-Protected

Sometimes, you may encounter errors when attempting to clear a USB drive. Here are solutions to common USB wiping issues:

Issue 1: "The disk is write-protected" Error

Fix: Check if your USB flash drive has a physical write-protection switch on the casing and toggle it off. Alternatively, open Command Prompt as Administrator, run diskpart -> select disk X -> attributes disk clear readonly to remove read-only attributes.

Issue 2: "Windows was unable to complete the format"

Fix: This usually happens due to corrupted partition structures or bad blocks. Use Diskpart clean all or Coolmuster Data Erasure to bypass File Explorer restrictions and rebuild raw partitions.

Issue 3: USB Drive Capacity Shows Incorrect Size (e.g., 64GB drive showing only 2MB)

Fix: This indicates hidden Linux/bootable partitions. Run diskpart -> clean -> create partition primary to wipe all partition tables and merge unallocated space back into a single volume.

Part 6. Frequently Asked Questions (FAQs) About Erasing USB Drives

Q1: Does formatting a USB drive erase all data permanently?

A: No. A standard Quick Format only removes the drive's file system index, leaving raw data recoverable via data recovery software. A Full Format (Windows) or Deep Wipe (Coolmuster Data Erasure) overwrites physical storage sectors, making data unrecoverable.

Q2: Will erasing a USB flash drive remove viruses and malware?

A: Yes. Performing a full erase or diskpart clean all completely wipes all partitions, hidden virus scripts,autorun files, and boot sector malware from the USB drive.

Q3: What is the best file system to choose after erasing a USB drive?

A: Choose exFAT if you plan to use the USB on both Windows and Mac computers without file size limits. Choose FAT32 for maximum compatibility with TV/car stereos/gaming consoles (max file size 4GB). Choose NTFS for Windows-only PCs.

Q4: How many overwrite passes are needed to safely erase a USB drive?

A: According to NIST SP 800-88 guidelines, a single-pass zero-fill (1 pass) is sufficient for modern flash-based storage devices. For higher security compliance, military standards like DoD 5220.22-M (3 passes) can be used via Coolmuster Data Erasure.

The End

That concludes our complete guide on how to erase a USB drive safely and permanently. If you want to completely erase USB data and ensure it is fully unrecoverable with zero technical hassle, Coolmuster Data Erasure is the best choice.

While standard formatting leaves files recoverable and command-line tools like Diskpart can be slow and complex, Coolmuster provides a fast, one-click solution with military-grade sanitization standards. Download Coolmuster Data Erasure today to protect your digital privacy.

Related Articles:

How to Make SSD Data Unrecoverable? - 3 Effective Methods

[Solved] How to Use iPhone as USB Drive in a Few Simple Steps;

How to Transfer Photos from USB to iPhone with or without Computer?

How to Delete Files on iPhone/iPad in 6 Ways [Step-by-Step Guide]

    Data Erasure     How to Wipe a USB Flash Drive Permanently (100% Unrecoverable)
Data Erasure
Upload and permanently erase personal files or folders to prevent recovery.
Erase all data from hard drives or external devices, including existing and deleted files.
Permanently erase deleted data and free space from drives without affecting current files.
Fully erase various file types, like photos, videos, documents, emails, etc.
Choose from 3 modes: File Shredder, Drive Wiper, Free Space Wiper.
A read-only, risk-free, cost-effective Windows data erasure tool.
Terms & Conditions Privacy (UPDATED) License Agreement Uninstall Copyright © 2026 Coolmuster. All Rights Reserved.
feedbackFeedback