The Basic Steps to Format a Flash Drive
To format a flash drive on a Mac, plug it in, open Disk Utility (found in Applications > Utilities), select the drive from the left sidebar, click Erase at the top, choose a format and name, then click Erase again. The whole process takes about two minutes. Everything on the drive will be deleted, so move any files you want to keep before you start.
Disk Utility is the built-in tool macOS provides for managing storage devices. It handles formatting, which means erasing the drive and setting up a file system — the structure that lets your Mac (or other devices) read and write files to it. You do not need any third-party software for a standard format.
Key Takeaways
- Formatting a flash drive erases everything on it and prepares it to work with your Mac or other devices.
- Disk Utility, built into every Mac, is the tool you use — no separate software needed.
- APFS works best if you only use the drive with modern Macs, while exFAT works across Macs, Windows PCs, and older devices.
- The format you choose determines which computers and devices can read the drive afterward.
Which Format to Choose: APFS vs. exFAT
The format you pick determines what devices can use the drive. APFS (Apple File System) is newer and faster on modern Macs running macOS 10.13 or later, but only Macs can read it. exFAT works on Macs, Windows PCs, Linux machines, and older devices like some cameras and game consoles. If you plan to move files between a Mac and a Windows computer, or use the drive on multiple types of devices, exFAT is the safer choice.
APFS includes features like encryption and snapshots that are useful if you are backing up data or storing sensitive files. But if you just need a drive that works everywhere, exFAT is simpler and more compatible. Most people formatting a flash drive for general use choose exFAT.
Step-by-Step: Using Disk Utility to Format
Plug the flash drive into a USB port on your Mac. Open Finder, go to Applications, then Utilities, and double-click Disk Utility. You will see a list of drives on the left side of the window. Find your flash drive — it usually shows the brand name or "Untitled" if it has never been formatted — and click it once to select it.
Click the Erase button at the top of the window. A dialog box will appear asking for a name (you can call it anything) and a format. From the format dropdown, choose either APFS or exFAT depending on what you need. Leave the scheme as "GUID Partition Map" unless you have a specific reason to change it. Click Erase, and Disk Utility will format the drive in seconds.
When the process finishes, the drive will appear on your desktop with the name you gave it. You can now drag files onto it and use it normally. If you ever need to erase it again and start over, just repeat these steps.
What Happens If Your Drive Does Not Appear in Disk Utility
Sometimes a flash drive shows up in Finder but not in Disk Utility, or it appears but is grayed out. First, try unplugging the drive and plugging it into a different USB port — some ports are slower or have power issues. Wait a few seconds and check Disk Utility again.
If the drive still does not appear, it may have a hardware problem or use a file system Disk Utility cannot recognize. Try restarting your Mac with the drive plugged in. If it still does not show up after a restart, the drive may be failing and may need to be replaced. You can also try connecting it to a Windows PC or another Mac to see if the problem is specific to your computer.
Formatting a Drive That Is Write-Protected
Some flash drives have a physical write-protection switch on the side. If you see a small switch, make sure it is in the unlocked position — usually the switch slides toward the USB connector. If the switch is already unlocked and Disk Utility still will not let you erase the drive, the protection may be stuck or the drive may be damaged.
Try unplugging the drive, waiting 10 seconds, and plugging it back in. If Disk Utility still shows the drive as locked, the write-protection hardware may have failed. In that case, the drive cannot be formatted and will need to be replaced.
Recovering Files After Formatting by Mistake
If you formatted a drive that still had files you needed, recovery is possible but not may provide. Stop using the drive immediately — the more you write to it, the harder recovery becomes. On a Mac, you can try free recovery tools like TestDisk or PhotoRec, which are open-source programs designed to find and restore files from erased drives.
Download the tool to your Mac (not to the formatted drive), plug in the flash drive, and follow the tool's instructions to scan it. Recovery works best if you act quickly and if the files were not heavily fragmented before formatting. For important data, a professional recovery service can sometimes restore files, but it is expensive and not always successful. The best approach is to keep backups of anything you cannot afford to lose.
Frequently Asked Questions
Can I format a flash drive on a Mac without erasing it first?
No. Formatting always erases the drive — that is what formatting means. The process wipes all existing data and sets up a new file system. If you have files on the drive you want to keep, move them to your Mac or another location before you format.
What is the difference between formatting and ejecting a drive?
Ejecting safely removes the drive from your Mac without erasing anything. Formatting erases everything and prepares the drive for a new file system. You eject a drive when you are done using it; you format a drive when you want to wipe it clean or change how it works with different devices.
Will formatting a flash drive make it faster?
Formatting itself does not make a drive faster, but choosing the right format can matter slightly. APFS is optimized for modern Macs and may perform a bit better than exFAT on newer systems. The real speed of a flash drive depends on the hardware inside it, not the file system.
Can I format a flash drive to work on both Mac and Windows?
Yes. Choose exFAT as your format in Disk Utility. exFAT is readable and writable on both macOS and Windows, as well as on Linux and many other devices. APFS only works on Macs, so if you need cross-platform compatibility, exFAT is the right choice.
What should I do if Disk Utility says the drive is unmountable?
An unmountable drive usually means the file system is corrupted or unrecognized. Try formatting the drive — that will erase the corrupted file system and set up a new one. If Disk Utility will not let you erase it, the drive may have a hardware failure and may need to be replaced.