Finderlock logoFinderlock

Finderlock

File protection that lives in Finder.

Sign in
All posts
usb encryptionmacosapfsdisk utilityfile protection

Encrypt a USB Flash Drive on Mac (APFS and Windows)

Encrypt USB flash drive Mac guide: Finder encryption, Disk Utility erase, the Windows catch, encrypted disk images and per-file .secured containers.

11 min read

The quickest way to encrypt a USB flash drive on a Mac is to right-click it in Finder and choose Encrypt, which works when the drive is formatted as APFS or Mac OS Extended. If it is exFAT or FAT32, macOS cannot encrypt it in place, so you must erase it, or keep encrypted files or an encrypted disk image on it instead. Whichever route you take, the result will usually open only on a Mac.

Step 1: Check how the drive is formatted

The format decides which options you have, so check it first.

  1. Plug in the drive.
  2. Open Disk Utility (Applications > Utilities).
  3. Choose View > Show All Devices.
  4. Select the volume under the drive. The format appears in the main pane, for example "APFS", "Mac OS Extended (Journaled)", "ExFAT" or "MS-DOS (FAT)".

To check from Terminal instead, this command only reads information and changes nothing:

diskutil list external

Look for your drive by name and size. The TYPE column shows entries such as Apple_APFS, Apple_HFS, Microsoft Basic Data or DOS_FAT_32.

USB drives sold as "works on Mac and PC" are normally exFAT or FAT32. Those are the formats macOS cannot encrypt, which matters in the next sections.

Option 1: Encrypt in Finder (APFS or Mac OS Extended)

If the drive is already APFS or Mac OS Extended, you usually do not need to erase it.

  1. Back up the drive first. Encryption in place normally works, but a copy costs you a few minutes and protects you if the drive is unplugged mid-process or fails.
  2. In Finder, right-click (or Control-click) the drive in the sidebar or on the desktop.
  3. Choose Encrypt "drive name". If you do not see it, the volume is probably not APFS or Mac OS Extended, or it is already encrypted.
  4. Enter a password, verify it, and add a hint.
  5. Click Encrypt and wait. Do not unplug the drive while it works. Large or slow drives can take a while.

Exact menu wording and behaviour can differ between macOS versions, so treat these steps as a guide and follow what your Mac shows on screen.

After this, the drive asks for the password when you plug it in. If you tick the option to remember the password in your keychain, your Mac will unlock the drive without asking, which is convenient but means anyone logged in as you can open it. The drive is still protected on other computers.

Two cautions:

  • The hint is visible to anyone who plugs in the drive. Do not put the password in it.
  • If you lose the password, Apple cannot recover it for you. Keep it in a password manager.

For drives formatted as APFS, there is also a Terminal route. Find the volume identifier with diskutil apfs list, then run the command below with your own identifier (the disk5s1 here is only an example):

diskutil apfs encryptVolume disk5s1 -user disk

It prompts for a passphrase. Check the identifier twice, because it targets whichever volume you name. The Finder method is easier and does the same job for most people.

Option 2: Erase the drive as encrypted in Disk Utility

Use this when the drive is exFAT or FAT32 and you want whole-drive encryption, or when you want a clean start.

Warning: this erases everything on the drive. Copy your files somewhere else first and confirm the copy opens. There is no undo.

  1. Open Disk Utility and choose View > Show All Devices.
  2. Select the drive itself (the top-level device, not the indented volume). Check the name and capacity carefully so you do not erase the wrong disk.
  3. Click Erase.
  4. Name the volume.
  5. For Format, choose APFS (Encrypted) or Mac OS Extended (Journaled, Encrypted). If you only see some of these, try selecting the top-level device again.
  6. If a Scheme option appears, choose GUID Partition Map.
  7. Click Erase, then enter and verify a password and add a hint.
  8. Copy your files back onto the drive.

Which format? APFS is designed for flash storage and is a sensible default on current macOS. Mac OS Extended is the safer pick if you also need the drive to work with very old Macs. Either way, a lost password means lost data.

The catch: Windows and other devices

This is where built-in encryption falls short. APFS and Mac OS Extended are Apple formats. Windows cannot read them out of the box, and from what we know, the only way to open them there is third-party software, which varies in cost and trustworthiness. We have not tested those tools here, so check their current Windows support and your own risk tolerance before relying on one. Many TVs, cameras, car stereos and printers also expect FAT32 or exFAT and will not recognise an APFS or HFS+ drive.

The reverse also applies. macOS cannot encrypt exFAT or FAT32 volumes. You either erase the drive into an Apple format (Option 2) and lose the cross-platform behaviour, or you protect files rather than the volume.

Method Erases the drive? Covers Opens on Windows?
Finder Encrypt (APFS/HFS+) No (back up first) Whole volume Not without extra software
Disk Utility encrypted erase Yes Whole volume Not without extra software
Encrypted disk image (.dmg) No Files inside the image No, Mac only
Finderlock .secured container No Chosen files or folders No, needs Finderlock on a Mac
Cross-platform tools such as VeraCrypt Depends on setup Container or volume Possibly, if installed there

If you need one drive that both Macs and Windows PCs can open with a password, the built-in macOS tools will not do it. A cross-platform tool is the usual answer, and it needs to be installed on every computer that opens the drive. Our VeraCrypt alternative page covers the trade-offs, and best Mac encryption apps compares more options.

Option 3: An encrypted disk image stored on the drive

If you do not want to erase the drive and it is exFAT or FAT32, you can keep an encrypted disk image on it. The drive stays as it is, and the image is a single file that holds your private files. Disk images are what macOS's own manual tools use for this job.

In Disk Utility:

  1. Choose File > New Image > Blank Image.
  2. Name it and save it onto the USB drive.
  3. Set a size large enough for your files.
  4. Set Format to APFS or Mac OS Extended (Journaled), and Encryption to 128-bit or 256-bit AES.
  5. Enter a password and save.

Or in Terminal. This creates a 2 GB AES-256 image on the drive and asks for a password. Replace MYUSB with your drive's name:

hdiutil create -size 2g -fs APFS -encryption AES-256 -volname "Transfer" /Volumes/MYUSB/Transfer.dmg

Double-click the .dmg to mount it, copy files in, then eject the mounted image before unplugging the drive. Do not put the password in a note on the drive.

Limits to know about:

  • The image has a fixed size unless you pick a sparse type, so plan the space.
  • The image still has an Apple filesystem inside, so it opens on Macs, not on Windows.
  • On a FAT32 drive, a single file cannot exceed 4 GB, which caps the image size.
  • Files are only protected while the image is unmounted. Once mounted, they are readable by anything running as you.

Option 4: Protect individual files with Finderlock

Sometimes you do not need the whole drive encrypted. You just need three or four sensitive files, such as tax records, scans or a client folder, to be unreadable if the drive goes missing. That is the case Finderlock is built for.

Finderlock encrypts each protected item into its own .secured container using AES-256-GCM through Apple's CryptoKit. Folders are archived first and sealed in independent 4 MB chunks. The encryption key is derived from your password with PBKDF2-HMAC-SHA256 (150,000 iterations and a random 32-byte salt). It does not use disk images, sparse bundles or hdiutil.

Because a .secured container is an ordinary file, it travels with the drive. You do not reformat anything, and the drive's own format does not matter much, so an exFAT stick can hold protected items next to everything else. Test with a copy first, since we cannot account for every drive and file-system combination.

A typical workflow:

  1. Copy the files onto the USB drive, or work on them there.
  2. Right-click the file or folder in Finder and choose Protect. The Finder right-click menu needs macOS 14. On macOS 13.5, use the app's dashboard instead, which supports drag and drop.
  3. Set a password, or use Touch ID on a paid plan. Per-item passwords are stored in the macOS Keychain on your Mac.
  4. Lock the item. A placeholder file stays at the original location, and the data sits in the encrypted container.
  5. Eject the drive.

To open an item, double-click the placeholder, or use Unlock in the right-click menu. Lock-on-close detects when the app that opened a file quits, and auto-lock can lock items on inactivity or sleep.

The honest limits:

  • Finderlock only opens .secured files on a Mac running the app (macOS 13.5 or later). A friend with a Windows PC or no Finderlock cannot read them, so it is not a way to share files across platforms.
  • It protects the items you choose. File names and anything left unprotected on the drive remain visible.
  • Back up the container. Finderlock can back up encrypted containers to iCloud or Google Drive, and there is a recovery tool that uses the master password.

The free plan covers 3 protected items. Personal, Pro and Lifetime are one-time purchases for more items and features. Everything runs locally, apart from the license check, optional analytics, updates and any backups you choose. You can try Finderlock free and see whether it fits.

For how this compares with other approaches to folders, see how to password protect a folder on Mac.

Which option should you choose?

  • Mac-only drive, whole-drive protection: Finder Encrypt. It is built in, simple and needs no extra software.
  • Drive is exFAT/FAT32 and you can wipe it: Disk Utility encrypted erase, after a verified backup.
  • Drive must stay exFAT, a few private files, Mac to Mac: an encrypted disk image or Finderlock containers. Finderlock is easier to use daily because items lock and unlock from Finder.
  • Must open on both Windows and Mac: use a cross-platform tool installed on both, or accept sharing unencrypted files you do not mind losing.

For bigger external disks, see how to encrypt an external hard drive on Mac without formatting.

FAQ

Can I encrypt a USB flash drive on Mac without erasing it?

Yes, if it is already APFS or Mac OS Extended. Right-click it in Finder and choose Encrypt, after backing it up. If it is exFAT or FAT32, you cannot encrypt it in place. Use an encrypted disk image or encrypted files instead.

Can I open a Mac-encrypted USB drive on Windows?

Not with Windows alone. Windows does not read APFS or Mac OS Extended natively, and third-party software would be needed. Support varies, so check before depending on it.

Why is the Encrypt option missing from the right-click menu?

The drive is probably exFAT or FAT32, is already encrypted, or is formatted in a way macOS cannot convert. Check the format in Disk Utility.

What happens if I forget the password?

If the drive is encrypted by macOS, you should assume the data is gone unless you saved the password in your keychain on a Mac that has it. The hint helps only if you wrote a good one. Keep passwords in a password manager.

Does Finderlock encrypt the whole USB drive?

No. It protects individual files and folders by sealing each into a .secured container. The rest of the drive is unchanged.

Next step

Pick the option that matches how you use the drive. If it is Mac-only and you want everything covered, back it up and use Finder Encrypt. If you mostly need a few private files to travel safely, download Finderlock, protect up to 3 items on the free plan, and check that the workflow suits you. Setup details are in the docs.