How to encrypt a USB drive for Windows or Mac, illustrated by a flash drive between two laptops

How to Encrypt a USB Drive on Windows or Mac

Key takeaways

  • Use BitLocker To Go for Windows, APFS (Encrypted) for Mac, or an encrypted container for computers that can run the same compatible software.
  • Copy your files to a separate location and open a few from the backup before starting.
  • Store the password and any recovery key separately from the drive.
  • Eject the drive and test unlocking it on every computer you plan to use before relying on it.

If you’re deciding how to encrypt a USB drive, use BitLocker To Go on a Windows PC that supports it or APFS (Encrypted) for a Mac-only drive. If you need Windows and Mac access, an encrypted container on an exFAT drive can work when both computers can run the same encryption software. Back up your files first, then test access with the password and any available recovery key before you depend on the drive.

Encryption protects the contents of a lost USB drive while the encrypted storage is locked. Once you unlock it, your computer can read the files, and so can software running with sufficient access. That distinction matters if you’re tempted to plug the drive into a shared or unfamiliar machine. InnoVirtuoso’s guide to detecting macOS malware

Check Which Computers Need to Open the Drive

List the computers you actually use, including any work laptop where you lack administrator access. Check whether you can install software, whether the computer allows removable storage, and whether you need to edit files or only read them. A method that works at home can still leave you unable to open a file at work.

Where you need access Encryption option What to check first
Windows PCs BitLocker To Go The setup PC can turn on BitLocker and each destination PC can unlock the drive.
Macs APFS (Encrypted) Each Mac can mount and unlock an encrypted APFS volume.
Windows and Mac VeraCrypt file container on an exFAT drive Both computers can run VeraCrypt and open the same test container.

An encrypted container is a file that acts like a separate drive once you unlock it. The surrounding exFAT drive remains readable, so files saved outside the container remain exposed to anyone who has the USB drive. If you choose this route, make a small test container first and open it on both platforms before moving sensitive files. Download the software from the vendor, especially if you found the product through a search ad. VeraCrypt documentation · InnoVirtuoso’s reporting on fake Windows software sites

Copy Your Files Before Making Changes

Copy the entire drive to a separate location you control, such as an encrypted computer or another protected drive. Open a few files from the copy, including a file from a nested folder and anything you couldn’t easily replace. If a document needs a particular app, open it in that app so you can verify the contents as well as the filename.

Keep the verified copy until the encrypted drive has passed your access tests. Disk Utility’s Erase command removes existing data, and a backup also gives you a way back if an in-place operation fails. Before you format or encrypt anything, match the USB drive’s name and capacity to the device you intended to select. Disconnecting other removable drives makes that choice easier to verify.

How to Encrypt a USB Drive on Windows

BitLocker To Go is Microsoft’s BitLocker feature for removable drives. On the PC you’ll use for setup, search for Manage BitLocker and look for the USB drive under removable data drives. If the option is missing, check your Windows edition or ask your IT team whether policy controls the feature. Microsoft’s BitLocker documentation

  1. Plug in the USB drive and select Turn on BitLocker next to the correct removable drive.
  2. Choose the password unlock option if available and set a long, unique password you can retrieve when you need it.
  3. Save the recovery key using an option offered by the wizard. Confirm that you can find the saved key before continuing.
  4. Choose full-drive encryption if the USB drive previously held sensitive files. Used-space-only encryption can suit a new, empty drive. If Windows offers a compatibility choice, consider the oldest Windows PC you need to use and verify access there.
  5. Start encryption and keep the drive connected until Windows reports it has finished. Safely eject it, reconnect it and confirm that your password opens it.

Check whether Windows offers to unlock the drive automatically on that PC. For your first test, make sure you see an unlock prompt so that you can verify the password itself. If a work computer blocks access to removable drives, resolve that before relying on the drive for a meeting or trip.

Encrypt a USB Drive on Mac

For a Mac-only USB drive, Disk Utility can create a password-protected volume using APFS (Encrypted). The steps below use the erase-and-format method, so finish verifying your backup before selecting Erase. You’ll copy the files back after the encrypted volume is ready. Apple’s Disk Utility guide to encrypting storage devices

  1. Open Disk Utility, choose View > Show All Devices and select the physical USB drive in the sidebar.
  2. Click Erase and give the drive a recognizable name. Choose GUID Partition Map for the scheme and APFS (Encrypted) for the format.
  3. Enter and confirm a long, unique password, then complete the erase. Save the password somewhere you can access independently of the USB drive.
  4. Once the encrypted volume mounts, copy your files back to it. Eject the drive in Finder, reconnect it and confirm you can unlock it and open the files.

If macOS offers to remember the password in your keychain, leave that off for the initial test or test on another Mac. A drive that opens automatically on your usual Mac tells you the stored credential works there. Typing the password on a second Mac tells you whether you can regain access when the first Mac is unavailable.

Store Your Password and Any Recovery Key Separately

Keep the drive password in a password manager you can reach without the USB drive. If BitLocker generated a recovery key, keep it in a separate, protected location, such as a secure record you can retrieve from another trusted device. For a company drive, use your organization’s approved recovery location and find out who can retrieve the key when you’re away from your desk.

For an APFS (Encrypted) volume created through Disk Utility, plan around the password you set. Your Mac may have a saved copy if you chose to store it, so check that you can retrieve the password independently. A separate file backup gives you another way to regain access to the contents if you lose the drive or its only usable credential. InnoVirtuoso’s coverage of Windows reset and recovery

Test the Drive Before Relying on It

Close files and safely eject the drive. If you use a container, dismount it in the encryption app before ejecting the USB drive. Reconnect the drive on each computer you plan to use and enter the password when prompted. For BitLocker, test the recovery key through the recovery unlock option on a PC that exposes it, while your verified backup is still available.

Open a representative file on each computer. If you expect to edit files, create a disposable test document, save it inside the encrypted storage, then eject, reconnect and reopen it. That confirms you can write to the drive and that you saved the file in the intended place. For a container, also check the outer drive for copies you may have left outside the encrypted area.

Finally, retrieve your password or recovery record with the USB drive disconnected. If getting to that record depends on the same computer you might lose, move the record to an approved location you can reach from another trusted device. Keep the backup accessible after testing, since encryption also leaves you dependent on the physical drive being readable.

The Bottom Line

Learning how to encrypt a USB drive starts with knowing where you’ll need to open it. Choose the method those computers support, keep a verified backup and store the unlock credentials somewhere you can reach independently. Before you travel or hand off the drive, unplug it and try opening a file on the computer you’ll actually use.

Frequently Asked Questions

Can I encrypt a USB drive without losing the files already on it?

BitLocker To Go can encrypt an existing removable drive in place when the feature is available. The Disk Utility erase-and-format method removes existing files, so make and verify a separate backup before using either method.

Can I open the same encrypted USB drive on Windows and Mac?

An encrypted file container on an exFAT drive can work across Windows and Mac if both computers run compatible software such as VeraCrypt. Test opening and saving a file on both systems, and place sensitive files inside the mounted container.

Does formatting a USB drive as exFAT encrypt it?

Formatting a USB drive as exFAT makes its filesystem usable on Windows and Mac. To protect the files with encryption, store them inside an encrypted container or use another encryption method your computers support.

What happens if I forget my encrypted USB drive password?

If you used BitLocker To Go, the matching recovery key can unlock the drive. For an APFS (Encrypted) volume, check whether you saved the password in your keychain or another protected location, and restore from your separate backup if you can’t retrieve it.

How can I tell if my USB drive encryption is working?

Safely eject the drive, reconnect it and unlock it with your password on a computer that has no saved credential for it. Open a file inside the encrypted volume or container to confirm access, and test the recovery key separately if your method provides one.

Enjoyed this? Subscribe to the InnoVirtuoso newsletter for practical AI, security and tech insights — and share your thoughts in the comments.

Browse InnoVirtuoso for more!