Formatting a USB drive on Mac erases everything on it and prepares it to work with your computer
Formatting is the process of wiping a USB drive clean and setting it up in a file system your Mac can read and write to. When you format, all data on the drive is deleted — there is no undo. The most common file system for Mac is APFS (Apple File System), though you can also use exFAT if you need the drive to work on both Mac and Windows computers.
You do this through Disk Utility, a built-in Mac tool. The process takes a few minutes and requires only that you plug in the drive and follow a few steps. Before you start, back up anything on the drive you want to keep, because formatting destroys all files.
Key Takeaways
- Formatting erases all data on the USB drive permanently, so back up anything you need before you begin.
- Use APFS format if the drive will only be used on Mac computers, or exFAT if you need it to work on both Mac and Windows.
- Open Disk Utility from Applications > Utilities, select your USB drive from the left sidebar, and click Erase to start the process.
- The drive will be ready to use immediately after formatting completes, usually within seconds.
How to open Disk Utility and find your USB drive
Plug your USB drive into your Mac. Open Finder, then click Applications in the sidebar. Double-click the Utilities folder. Find and double-click Disk Utility to launch it.
In Disk Utility, you will see a list of drives and volumes on the left side. Your USB drive will appear with its current name. Click on it to select it. Make sure you are selecting the USB drive itself, not your Mac's main hard drive — the wrong choice will erase your entire computer. Your USB drive is usually labeled with its brand name or the name you gave it, and it will be smaller than your main drive.
Choosing the right file system for your needs
APFS is the modern Mac file system and works best if you only use the drive on Mac computers. It handles large files well and is the default choice for newer Macs. Choose APFS if the drive will stay with your Mac or only be used on other Macs.
exFAT is older but works on both Mac and Windows computers. Use exFAT if you need to plug the drive into a Windows PC, a gaming console, or other devices. exFAT has a file size limit of 4 GB per file, which matters only if you work with very large video or database files.
FAT32 is an even older format that also works across Mac and Windows, but it has the same 4 GB file size limit as exFAT and is slower. You rarely need FAT32 unless you are working with very old equipment.
The steps to erase and format your USB drive
With your USB drive selected in Disk Utility, click the Erase button at the top of the window. A dialog box will appear asking you to name the drive and choose a format.
Type a name for your drive in the Name field. This can be anything you want — something like "Backup" or "Files" works well. Then click the Format dropdown menu and select either APFS or exFAT depending on what you decided above. Leave the Scheme set to GUID Partition Map unless you have a specific reason to change it.
Click Erase to confirm. Disk Utility will warn you one more time that all data will be deleted. Click Erase again to proceed. The process usually takes a few seconds to a minute. When it finishes, your USB drive is formatted and ready to use.
What to do if your USB drive does not appear in Disk Utility
If you plug in your USB drive and it does not show up in Disk Utility, try unplugging it and plugging it into a different USB port on your Mac. Some ports work better than others, especially on older Macs. Wait a few seconds after plugging it in — sometimes the drive takes a moment to be recognized.
If it still does not appear, the drive may be damaged or your Mac may not recognize it. Try plugging it into a Windows computer or another Mac to see if it works elsewhere. If the drive works on another computer, the issue is with your Mac's USB ports or drivers. If it does not work anywhere, the drive itself may be faulty.
Recovering files after accidental formatting
If you formatted a drive by mistake and did not back up the files, recovery is sometimes possible but not may provide. The data is not truly gone immediately after formatting — it is just marked as deleted. However, the longer you use the drive after formatting, the more likely the old data will be overwritten and become unrecoverable.
Stop using the drive immediately. Third-party recovery tools like DiskWarrior or Data Rescue can sometimes recover files from a freshly formatted drive, but they cost money and do not always work. If the files are important, take the drive to a professional data recovery service, though this is expensive. For future protection, always keep backups of important files on a separate drive or cloud storage.
Troubleshooting common formatting problems
If Disk Utility shows an error when you try to format, the drive may be write-protected. Some USB drives have a small physical switch on the side that locks the drive. Check for this switch and flip it to the unlocked position, then try formatting again.
If the drive still will not format, try restarting your Mac and plugging the drive in again. If you see a message that the drive is unreadable and asks if you want to initialize it, click Initialize and let your Mac set it up. After that, you can format it normally in Disk Utility.
If Disk Utility itself crashes or freezes, force quit it by pressing Command + Option + Escape, select Disk Utility, and click Force Quit. Then reopen Disk Utility and try again. Restarting your Mac sometimes helps if the tool keeps crashing.
Frequently Asked Questions
Can I format a USB drive while files are still on it?
Yes, but formatting will delete all files on the drive. There is no way to keep some files and erase others during formatting — it is all or nothing. If you want to keep some files, copy them to your Mac first, then format the drive, then copy back only what you need.
How long does formatting take?
Most USB drives format in a few seconds to one minute. Larger drives or older drives may take a few minutes. If formatting takes longer than five minutes, something may be wrong — try unplugging the drive and starting over.
Will formatting a USB drive make it faster?
Formatting itself does not make a drive faster, but using the right file system can help. APFS is generally faster than exFAT on Mac computers. The drive's physical speed depends on the hardware, not the file system.
What happens if I unplug the drive while it is formatting?
Unplugging during formatting can damage the drive or leave it in an unusable state. Always wait for the process to finish completely before removing the drive. If you do unplug it early, try formatting it again when you plug it back in.
Can I format a USB drive to work on both Mac and iPhone?
iPhones and iPads do not support external USB drives the way Macs do. You cannot format a USB drive to work with iPhone. If you need to move files between your iPhone and a computer, use cloud storage like iCloud or a file transfer app instead.