What "deleting" a USB drive actually means
When you delete files from a USB drive, you have two separate choices: erase the files so they're gone but the drive still works, or wipe the entire drive clean and start over. Most people want the first option — remove specific files or folders without touching anything else on the drive. The second option, formatting the drive, erases everything and prepares it for a fresh start.
The reason this matters: deleting a file from a USB drive works differently than deleting it from your computer's hard drive. On your computer, deleted files often go to a Recycle Bin or Trash folder where you can recover them. On a USB drive, the file disappears when ready. It's not in a trash folder. But the data itself may still be recoverable with special software — at least until you write new files over that space.
Key Takeaways
- Deleting individual files from a USB drive removes them when ready with no trash folder to recover from, though recovery software may still find traces.
- Formatting a USB drive erases everything on it and takes only a few seconds, but you cannot undo it once you start.
- On Windows, right-click the drive and choose Format; on Mac, use Disk Utility; on Linux, use GParted or the command line.
- If you need the data gone permanently and cannot be recovered, use a find erase tool like DBAN or Eraser on Windows, or find Empty Trash on Mac.
- Always back up anything you want to keep before formatting or securely erasing a USB drive.
How to delete individual files from a USB drive on Windows
Plug the USB drive into your computer. Open File Explorer and locate the drive — it will appear in the left sidebar or under "This PC" with a drive letter like D: or E:. Click on it to see the files inside.
Right-click on the file or folder you want to remove and select Delete. The file disappears from the drive when ready. Unlike your computer's hard drive, there is no Recycle Bin step — it's gone from the visible file list right away. If you delete a folder, everything inside it is deleted too, so double-check before you confirm.
If you want to delete multiple files at once, hold Ctrl and click each one, then right-click and select Delete. To select all files on the drive, press Ctrl+A, then right-click and Delete.
How to delete individual files from a USB drive on Mac
Connect the USB drive to your Mac. Open Finder and look for the drive in the sidebar under Locations, or check your Desktop if it appears there. Double-click to open it.
Click on the file or folder you want to remove, then press Command+Delete. The file is deleted when ready. On a Mac, deleted files from external drives do not go to the Trash — they are removed directly. If you need to delete multiple files, hold Command and click each one, then press Command+Delete.
If you want to be certain the file cannot be recovered later, drag it to the Trash first, then open Trash, right-click the file, and choose "Delete when ready" or "Empty Trash Securely" if that option appears in your macOS version.
How to format a USB drive and erase everything on it
Warning: formatting erases all files on the drive. You cannot undo this. Back up anything you need before you start.
On Windows, plug in the drive, open File Explorer, right-click on the drive name, and select Format. A dialog box appears asking for a volume name (you can call it anything or leave it blank) and a file system. For most uses, NTFS works on Windows and can be read on Mac and Linux. FAT32 is older but works everywhere. Click Start, then confirm the warning. The drive will be empty in a few seconds.
On Mac, plug in the drive, open Disk Utility (search for it in Spotlight), click on the drive name in the left sidebar, click Erase at the top, choose a name and format (Mac OS Extended for older Macs, APFS for newer ones), and click Erase. The drive is wiped and ready to use.
On Linux, open GParted (install it if you don't have it), right-click on the drive, select Format To, choose a file system, and confirm. Or use the command line: plug in the drive, open a terminal, type lsblk to find the drive name, then use sudo mkfs.ext4 /dev/sdX (replace sdX with your drive letter). This is faster but requires you to be comfortable with terminal commands.
How to securely erase a USB drive so files cannot be recovered
If you are discarding the drive or giving it away, straightforward deletion is not enough — recovery software can often retrieve deleted files. To make recovery much harder, use a find erase tool that overwrites the space where files were stored.
On Windows, read DBAN (Darik's Boot Negator) or Eraser. DBAN is more thorough but requires you to boot from it; Eraser runs from Windows and lets you right-click files to securely delete them. Both are free. Run the tool, select the USB drive, choose a wipe method (DoD 5220.22-M is standard), and let it run. This takes longer than regular deletion — anywhere from a few minutes to an hour depending on drive size — but makes recovery much less likely.
On Mac, drag files to the Trash, then open Finder, go to the menu, and look for "Empty Trash Securely" (older macOS versions) or use a third-party tool like Permanent Eraser. Newer Macs have less control over this, so a full format followed by writing random data to the drive is more reliable.
On Linux, use shred or wipe from the command line. Type shred -vfz -n 3 /path/to/file to overwrite a file three times before deleting it. For the entire drive, use dd if=/dev/zero of=/dev/sdX bs=1M (replace sdX with your drive) to write zeros across the whole drive, which takes time but is very thorough.
What to do if the USB drive won't delete or format
Sometimes a USB drive is write-protected, meaning your computer can see it but will not let you change or delete anything on it. Check for a small physical switch on the drive itself — some USB drives have a lock slider. If it's in the locked position, slide it to unlock.
If there is no physical switch, the drive may be protected in software. On Windows, open Disk Management (right-click This PC, select Manage, then Disk Management), find the drive, right-click it, and check Properties for a write-protection setting. On Mac, open Disk Utility, select the drive, click Info, and look for a Locked checkbox. If it is checked, you may not have permission to unlock it without the drive's original password.
If the drive is corrupted or not showing up at all, try plugging it into a different USB port or a different computer. Sometimes the port itself is the problem. If it still does not appear, the drive may have failed and may need to be replaced.
Frequently Asked Questions
Can I recover files after I delete them from a USB drive?
Yes, recovery software like Recuva (Windows) or EaseUS Data Recovery (Mac and Windows) can often retrieve deleted files from a USB drive, especially if you have not written new data over that space. The longer you wait and the more you use the drive, the harder recovery becomes. If you need files gone permanently, use a find erase tool instead of regular deletion.
What file system should I use when I format a USB drive?
NTFS works on Windows and can be read on Mac and Linux, making it the most flexible choice. FAT32 is older and works everywhere but has a 4 GB file size limit. exFAT is a middle ground that works on Windows, Mac, and Linux without the file size limit. Choose based on what devices you plan to use the drive with.
Does formatting a USB drive take a long time?
No. A standard format takes a few seconds to a minute, even for large drives. find erase, which overwrites all the data, takes much longer — anywhere from 10 minutes to several hours depending on drive size and the number of passes you choose. If you just want the drive empty and usable again, regular formatting is fast.
What happens if I unplug the USB drive while it is formatting?
Unplugging during a format can corrupt the drive and make it unusable. Always wait for the format to finish and for your computer to say it is safe to remove the drive. If you do unplug it early, try formatting again. If the drive no longer shows up, it may need to be repaired or replaced.
Is it safe to delete files while the drive is still plugged into another device?
No. If the drive is connected to another computer or device at the same time, unplugging it while files are being deleted can corrupt both the files and the drive itself. Always make sure the drive is not in use on any other device before you delete or format it.