Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Format USB Drives on Linux, macOS & Windows

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Formatting a USB drive erases all data on it and sets up a file system so your computer can read and write to it. The exact steps differ by operating system, but all three major platforms have built-in tools that do the job in under a minute. Below are the step-by-step instructions for Windows, macOS, and Linux, plus what to do if something goes wrong.

What You'll Need

  • A USB drive (any size) that you want to format.
  • A computer running Windows, macOS, or Linux.
  • Backup of any files on the drive you want to keep—formatting erases everything.
  • Administrator or sudo access on your computer (usually your normal login has this).

Step-by-Step

On Windows

  1. Plug the USB drive into a USB port on your PC.
  2. Open File Explorer (Windows key + E) and find your drive under “This PC” or “Devices and drives.” It will usually show a letter like E:, F:, etc.
  3. Right-click the drive and select Format from the context menu.
  4. In the Format window, choose the file system you want:
    • FAT32 – best for compatibility with cameras, game consoles, and older devices. Max file size 4GB.
    • exFAT – works on Windows, macOS, and Linux, and handles large files. Good for cross-platform use.
    • NTFS – native Windows format, supports large files, but not natively readable on macOS (macOS can read but not write without extra software).
  5. Leave “Allocation unit size” as Default unless you know you need something else.
  6. Optionally, type a name in “Volume label” (this is the drive name).
  7. Check the box “Quick Format” if you want it done fast (it skips checking for bad sectors). Uncheck it for a full format, which takes longer but checks the drive.
  8. Click Start, then confirm when warned that all data will be erased.
  9. Wait for the progress bar to finish, then click OK when it says “Format Complete.”

On macOS

  1. Plug in the USB drive.
  2. Open Disk Utility. You can find it in Applications > Utilities, or search with Spotlight (Cmd+Space) and type “Disk Utility.”
  3. In the sidebar, select your USB drive. It will appear under “External” and show the drive’s name and size.
  4. Click the Erase button at the top of the Disk Utility window.
  5. In the pop-up, choose a name for the drive (this is the volume label).
  6. Choose a format:
    • APFS – modern macOS default, but only fully compatible with macOS (and iOS).
    • Mac OS Extended (Journaled) – older macOS format, still works for Time Machine and older Macs.
    • ExFAT – best for cross-platform use with Windows and Linux, and supports large files.
    • MS-DOS (FAT) – this is FAT32; good for compatibility but limits file size to 4GB.
  7. For “Scheme,” choose “GUID Partition Map” if you plan to use it only on Macs, or “Master Boot Record” if you need it to boot on older PCs or use with Windows. For a simple data drive, GUID is fine.
  8. Click Erase and confirm. Wait for the process to complete.
  9. Click Done when finished.

On Linux (using GNOME Disks or GParted)

  1. Plug in the USB drive.
  2. Open the Disks application (GNOME Disks). You can find it in your app menu, or run gnome-disks from the terminal. If you prefer GParted, install it with your package manager (e.g., sudo apt install gparted on Debian/Ubuntu).
  3. In Disks, select your USB drive from the left sidebar. It will show the drive model and size.
  4. Click the gear icon (or the “⋮” menu) and choose Format Disk… – this wipes the whole drive. If you only want to format the partition, select the partition and click the gear icon > Format….
  5. If you chose “Format Disk,” pick a partition table type. For most USB drives, choose MBR (Master Boot Record) for compatibility. Then click Format.
  6. Now create a partition: click the “+” button (or the drive’s free space) and choose a size (or leave as full).
  7. In the partition settings, choose a name and a file system type:
    • FAT32 – for maximum compatibility.
    • exFAT – for large files and cross-platform use.
    • ext4 – Linux native, but not readable on Windows or macOS without extra tools.
  8. Click Create (or “Format” if you formatted the partition directly).
  9. If you used GParted, right-click the partition, select Format to, choose the file system, then click the green checkmark to apply all operations.

Common Mistakes

  • Choosing the wrong drive. Double-check the drive letter (Windows) or name (macOS/Linux) before formatting—you could erase your system drive or an external backup.
  • Selecting NTFS on macOS and expecting to write to it. macOS can read NTFS but not write without third-party software.
  • Using FAT32 for files larger than 4GB—the format will fail or the file won’t copy.
  • Forgetting to backup. Formatting is permanent; recovery is difficult and not guaranteed.
  • Unplugging the drive during formatting—this can corrupt the drive.

Tips

  • Use exFAT if you need to move files between Windows, macOS, and Linux, and your files are larger than 4GB.
  • Use FAT32 if you need to use the drive with old devices like digital cameras, game consoles, or car stereos.
  • Always eject or safely remove the USB drive before unplugging it after formatting, to avoid data corruption.
  • If the drive is new or misbehaving, do a full format (uncheck “Quick Format” on Windows) to check for bad sectors.
  • On Linux, if you’re not sure about partition tables, stick with MBR for USB drives—it’s the most compatible.

Troubleshooting

If the format fails or the drive doesn’t work afterward, try these in order:

  1. Check the drive is not in use. Close any file explorer windows or programs that might be using the drive. On Windows, if you get “The device is in use,” close all windows and try again.
  2. Try a different USB port. Sometimes a faulty port causes errors.
  3. On Windows, use Disk Management. Right-click the Start button > Disk Management, find your drive, right-click the partition, and select “Format.” This sometimes works when File Explorer fails.
  4. On macOS, try Erase in Recovery Mode. Restart your Mac and hold Command+R, open Disk Utility from the menu, and erase the drive there.
  5. On Linux, check if the drive is mounted. Run lsblk in the terminal to see the drive name, then unmount it with sudo umount /dev/sdX1 (replace sdX1 with your actual partition). Then try formatting again.
  6. If the drive still won’t format, it may be failing. Try a different computer. If it fails there too, the drive might be dead—replace it.

Frequently Asked Questions

Will formatting a USB drive erase all data?

Yes. Formatting removes the file system and all data on the drive. It’s not recoverable through normal means, so back up anything important first.

What is the best file system for a USB drive used on both Windows and Mac?

exFAT is the best choice. It works on both Windows and macOS without extra software, and supports files larger than 4GB.

Can I format a USB drive to NTFS on macOS?

macOS can’t format a drive to NTFS natively. You can use third-party tools like Paragon NTFS or Tuxera NTFS, but they cost money. For cross-platform use, exFAT is easier.

Why does my USB drive show less space than the label says?

That’s normal. Drive manufacturers use decimal (1GB = 1,000,000,000 bytes) while computers use binary (1GB = 1,073,741,824 bytes). Also, the file system itself takes up a small amount of space.

What is the difference between Quick Format and Full Format?

Quick Format just removes the file table and makes the drive appear empty; it’s fast. Full Format also scans the drive for bad sectors and can take longer, but it’s more thorough.

Can I format a USB drive on Linux without any extra software?

Yes. You can use the built-in mkfs commands in the terminal, like sudo mkfs.exfat /dev/sdX1 (replace sdX1 with your partition). But the graphical Disks tool is easier for most people.