What formatting a USB drive actually does

Formatting erases everything on a USB drive and prepares it to store new files. When you format, the drive wipes its file system — the invisible structure that tells your computer where files live — and replaces it with a fresh one. This is different from deleting files one at a time. Deletion leaves traces; formatting clears the whole slate.

You format a USB drive when it stops working properly, when you want to erase it completely before giving it away, or when you need to change how it stores files so it works with a different device. A drive formatted for Mac cannot be read on Windows without extra software, and vice versa. Formatting also fixes corruption that makes a drive unreadable.

Once you format, the old files are gone. You cannot undo it. So back up anything you need before you start.

Key Takeaways

  • Formatting erases everything on the drive and rebuilds its file system, which is permanent and cannot be undone.
  • Windows uses NTFS or exFAT; Mac uses APFS or Mac OS Extended; Linux uses ext4 or similar — the format you choose determines which devices can read the drive.
  • On Windows, right-click the drive in File Explorer, select Format, choose a file system, and confirm the erase.
  • On Mac, open Disk Utility, select the drive, click Erase, choose a format, and confirm.
  • On Linux, use Disks (graphical) or the command line with mkfs, depending on your comfort level.

How to format on Windows

Plug the USB drive into your computer. Open File Explorer (the folder icon on your taskbar). You will see your USB drive listed on the left side under "This PC" or in the main window. Right-click on the drive name and select Format from the menu that appears.

A small window will open with three fields. The first is Volume label — this is just a name for your drive, like "Backup" or "Work Files". You can leave it blank or type anything you want. The second field is File system. For most uses, choose NTFS if the drive is 4 GB or larger, or exFAT if you want the drive to work on both Windows and Mac. The third field, Allocation unit size, should stay on Default. Leave the checkbox for Quick Format checked — unchecking it takes much longer and is rarely necessary.

Click Start. A warning will appear saying all data will be erased. Click OK to confirm. The format usually takes less than a minute. When it finishes, your drive is ready to use.

How to format on Mac

Plug in the USB drive. Open Disk Utility, which lives in Applications > Utilities. You can also press Command + Space, type "Disk Utility", and press Enter. The process will open and show all your drives and partitions.

Find your USB drive in the list on the left. Click it once to select it. At the top of the window, click the Erase button. A dialog box will appear with two important fields. The first is Name — this is what your drive will be called, like "Backup" or "Files". The second is Format. Choose APFS if you are using a recent Mac (2017 or newer), or Mac OS Extended (Journaled) if your Mac is older. If you want the drive to work on both Mac and Windows, choose exFAT instead.

Click Erase. A confirmation dialog will appear. Click Erase again. The process takes less than a minute. When it finishes, the drive is formatted and ready.

How to format on Linux

The easiest way on Linux is to use Disks, a graphical tool that works like Windows and Mac. Plug in your USB drive, open the Activities menu, search for "Disks", and open the process. Your USB drive will appear in the list on the left. Click it to select it.

Click the three-dot menu button (⋮) in the top right and select Format Disk. A dialog will ask what type of partition table you want. For a straightforward USB drive, choose MBR. Click Format. A warning will appear. Click Format again to confirm. The disk is now erased and ready for a new file system.

After formatting the disk, you need to create a partition and file system on it. Click the plus (+) button to create a new partition. Set the size to the full capacity of the drive. For Type, choose ext4 for Linux use, or exFAT if you want it to work on Windows and Mac. Give it a name in the Name field. Click Create. The partition will be formatted and mounted automatically.

If you prefer the command line, plug in the drive and open a terminal. Type lsblk to see all drives and find your USB drive (usually /dev/sdb or /dev/sdc). Then type sudo mkfs.ext4 /dev/sdX, replacing X with your drive letter. Type your password when prompted. The drive will be formatted in seconds.

Choosing the right file system for your needs

NTFS is the standard for Windows. It works on all Windows versions and handles large files well. Mac can read NTFS but cannot write to it without extra software. Linux can read and write NTFS with the right drivers.

exFAT is the middle ground. Windows, Mac, and Linux can all read and write to exFAT without extra software. It works well for drives you move between different computers. The trade-off is that exFAT does not handle file permissions or security features as well as NTFS or APFS.

APFS is Apple's modern file system. It is fast and efficient on Mac but cannot be read on Windows without third-party software. Use APFS only if your drive stays on Mac.

Mac OS Extended (Journaled) is the older Mac standard. It works on all Mac versions but is slower than APFS. Use it only if your Mac is older than 2017.

ext4 is the standard on Linux. It is reliable and efficient but is not readable on Windows or Mac without extra software. Use ext4 only if your drive stays on Linux.

What to do if the format fails

If your drive will not format, it may be write-protected. Some USB drives have a small physical switch on the side — check for it and flip it to the unlocked position. If there is no switch, the drive may have software protection. On Windows, open Disk Management (right-click the Start button and select it), right-click the drive, and select Properties. Look for a Security tab and check if the drive is marked read-only. If it is, uncheck that box.

If the drive still will not format, it may be damaged or corrupted. Try plugging it into a different USB port or a different computer. If it works elsewhere, the original port may be faulty. If it fails on every computer, the drive itself may be failing and may need to be replaced.

On rare occasions, a drive will not show up in File Explorer or Disk Utility at all. Try a different cable or port first. If the drive still does not appear, it may not be getting enough power — try plugging it into a powered USB hub instead of directly into your computer.

Frequently Asked Questions

Can I recover files after formatting a USB drive?

Possibly, but not reliably. Formatting marks the space as available for new files but does not always overwrite the old data when ready. Recovery software can sometimes find traces of deleted files, but success depends on how much new data has been written since the format. The longer you wait and the more you use the drive, the lower your chances. If you need files back, stop using the drive and consult a data recovery service.

Why does my USB drive show as read-only?

Some drives have a physical write-protect switch on the side — check for a small lever and flip it. If there is no switch, the drive may have been marked read-only in your operating system's settings. On Windows, right-click the drive in File Explorer, select Properties, and uncheck the Read-only box if it is checked. On Mac, select the drive in Finder, press Command + I, and check the Sharing & Permissions section at the bottom.

Should I use quick format or full format?

Quick format is fine for almost all situations. It takes seconds and works well for reusing a drive or clearing old files. Full format takes much longer (sometimes hours) and overwrites every sector with zeros. Use full format only if you are disposing of a drive that contained sensitive information and you want to be absolutely certain the old data cannot be recovered.

What is the difference between formatting and partitioning?

Partitioning divides a drive into separate sections, each with its own file system. Formatting prepares a single section (or the whole drive if there is only one partition) to store files. You can partition a drive into two sections and format each one differently — for example, one half for Windows and one half for Mac. For a straightforward USB drive, you usually do not need partitioning; one partition with one format is standard.

Can I format a USB drive while files are still on it?

No. Formatting erases the entire drive. If you have files you need, copy them to your computer first. Once the format starts, those files are gone. There is no undo button.