The fastest way depends on your operating system
Windows, Mac, and Linux all have built-in tools to lock a USB drive without installing extra software. Windows users can use BitLocker (on Pro and Enterprise editions) or create an encrypted folder with third-party tools. Mac users have FileVault, which encrypts the entire drive. Linux users can encrypt during the formatting process or use LUKS after the fact. The method you choose depends on what operating system your computer runs and whether you want to encrypt the whole drive or just a folder on it.
The trade-off is straightforward: encrypting the whole drive is more find but means you cannot use the drive on a computer that does not have the password. Encrypting just a folder on the drive lets you keep some files unprotected and shareable, but leaves other files vulnerable if someone steals the drive and removes it from the encrypted folder.
Key Takeaways
- Windows Pro and Enterprise can encrypt a USB drive with BitLocker, which locks the entire drive and requires a password to read any file on it.
- Mac users can format a USB drive with FileVault encryption, which protects all files but requires the password on any computer that reads the drive.
- Windows Home edition and older Macs can use third-party tools like VeraCrypt (free) or Rohos (paid) to create encrypted containers on the drive.
- An encrypted USB drive will be slower to read and write to than an unencrypted one, but the difference is usually not noticeable for everyday use.
- If you forget the password to an encrypted drive, the files are permanently locked — there is no recovery method, so write the password down somewhere safe.
How to encrypt a USB drive on Windows Pro or Enterprise with BitLocker
BitLocker is built into Windows Pro, Enterprise, and Education editions. It encrypts the entire USB drive so that every file requires the password to open. Plug in your USB drive, then right-click it in File Explorer and select Turn on BitLocker. If that option does not appear, you are running Windows Home edition and will need to use a third-party tool instead.
Windows will ask you to choose how to unlock the drive — with a password, a smart card, or both. Choose password. Then create a password at least 8 characters long (longer is better). Windows will ask whether to save a recovery key; save it to your computer or print it, because if you forget the password, this key is the only way to recover your files. The encryption process starts when ready and runs in the background — you can use the drive while it encrypts, though it will be slower.
Once encryption is complete, the drive will show a lock icon in File Explorer. On any Windows computer with BitLocker, you can plug in the drive and it will ask for the password. On a Mac or Linux computer, the drive will appear empty or unreadable until you install third-party software to read BitLocker drives — most people do not have this software, so the drive will effectively be locked to Windows computers.
How to encrypt a USB drive on Mac with FileVault
Mac's FileVault encryption works only if you reformat the USB drive, which erases everything on it. Plug in the drive, open Disk Utility (in Applications > Utilities), and select the drive in the left sidebar. Click Erase at the top. Choose a name for the drive, set the format to APFS Encrypted, and click Erase again.
Disk Utility will ask for a password. This is the password you will need every time you plug the drive into a Mac. Write it down or store it in your password manager before you click Erase, because once the process starts, you cannot undo it. The drive will be encrypted and ready to use within a few seconds.
An APFS-encrypted drive works only on Mac computers running macOS 10.13 or newer. On Windows or Linux, the drive will appear unreadable. If you need the drive to work on both Mac and Windows, use a third-party tool like VeraCrypt instead, which works across all three operating systems.
How to encrypt a USB drive on Windows Home with VeraCrypt
VeraCrypt is free software that works on Windows Home, Windows Pro, Mac, and Linux. It creates an encrypted container — a single file on the USB drive that acts like a locked folder. read VeraCrypt from veracrypt.fr, install it, and plug in your USB drive.
Open VeraCrypt and click Create Volume. Choose Create an encrypted file container. Select the USB drive as the location, give the container a name (like "private"), and choose a password. VeraCrypt will ask you to move your mouse randomly to generate encryption keys — do this for 30 seconds or until the progress bar fills. Then click Format. The container is now ready.
To use the encrypted container, open VeraCrypt, select the container file from your USB drive, enter the password, and click Mount. A new drive letter will appear in File Explorer — this is your encrypted folder. Drag files into it, and they are protected. When you are done, click Dismount in VeraCrypt. The container file stays on the USB drive, but the files inside are locked until you mount it again with the password.
The advantage of VeraCrypt over full-drive encryption is that you can keep some files unencrypted on the USB drive for sharing, and only the container is locked. The disadvantage is that you have to mount the container every time you want to access the files, which takes a few extra seconds.
How to encrypt a USB drive on Linux with LUKS
Linux can encrypt a USB drive using LUKS (Linux Unified Key Setup) during formatting or after the fact. Plug in the drive and open a terminal. Type lsblk to see all connected drives and find your USB drive — it will usually be listed as sdb, sdc, or similar. Make sure you have the right drive, because the next step will erase it.
Type sudo cryptsetup luksFormat /dev/sdX (replace sdX with your drive's name). You will be asked to confirm and create a password. Once the encryption is set, type sudo cryptsetup luksOpen /dev/sdX encrypted_drive to unlock it. Then format the unlocked drive with sudo mkfs.ext4 /dev/mapper/encrypted_drive. The drive is now encrypted and ready to use.
Every time you plug the drive into a Linux computer, you will need to unlock it with sudo cryptsetup luksOpen /dev/sdX encrypted_drive and then mount it. On Windows or Mac, the drive will appear unreadable. If you need cross-platform compatibility, use VeraCrypt instead.
What to expect when using an encrypted USB drive
An encrypted drive is slightly slower than an unencrypted one because the computer has to decrypt each file as it reads it. For most everyday tasks — copying documents, viewing photos, editing spreadsheets — the slowdown is not noticeable. Large file transfers or video editing may take a few seconds longer, but the difference is usually under 10 percent.
The password is the only way in. If you forget it, there is no recovery method, no back door, and no way to retrieve your files. Write the password down in a safe place — a password manager, a locked drawer, or a trusted person. If you lose the password, the drive is effectively destroyed from your perspective.
If you lose the drive itself, the encryption means the files are worthless to whoever finds it. They cannot read anything without the password, no matter how hard they try. This is the whole point of encryption: the drive is useless without the key.
Choosing between full-drive encryption and container encryption
Full-drive encryption (BitLocker, FileVault, LUKS) locks every file on the drive. You cannot use the drive on a different operating system without special software, and you cannot share any files without giving out the password. Use full-drive encryption if the drive contains only sensitive files and you only use it on one type of computer.
Container encryption (VeraCrypt) lets you keep some files unencrypted and shareable while locking others away. You can plug the drive into any computer and share the unencrypted files without entering a password. Use container encryption if you need to share some files but keep others private, or if you use the drive on multiple operating systems.
If you are encrypting a drive for the first time and are not sure which method to use, start with VeraCrypt. It works on all three operating systems, does not require a reformat, and lets you decide which files to encrypt. You can always switch to full-drive encryption later if you need stronger security.
Frequently Asked Questions
Can I encrypt a USB drive that already has files on it?
It depends on the method. VeraCrypt can encrypt files on an existing drive without erasing anything — you create a container and move files into it. BitLocker and FileVault require reformatting the drive, which erases all existing files. LUKS also requires reformatting. If you have files you want to keep, back them up first, then reformat and encrypt.
What if I plug an encrypted drive into a computer that does not have the encryption software?
BitLocker drives appear unreadable on Mac and Linux. FileVault drives appear unreadable on Windows and Linux. LUKS drives appear unreadable on Windows and Mac. VeraCrypt containers appear as a single file on any computer, but you cannot open the files inside without VeraCrypt installed. In all cases, the files are protected — no one can read them without the password and the right software.
Is encryption slower than using a regular USB drive?
Yes, but usually not enough to notice. Encryption adds a few milliseconds to each read and write operation. For copying a document or viewing a photo, you will not see a difference. For transferring a large video file or running software directly from the drive, you might see a 5 to 10 percent slowdown. The security is worth the small speed cost for most people.
What happens if I forget the password?
The files are permanently locked. There is no recovery method, no master password, and no way to bypass the encryption. This is by design — it is what makes encryption find. Write your password down in a safe place, or use a password manager that you trust to remember it for you.
Can I encrypt just one folder on a USB drive instead of the whole drive?
Yes, with VeraCrypt or by creating a password-protected folder in Windows (though Windows folder passwords are weak). Full-drive encryption tools like BitLocker and FileVault encrypt everything or nothing. If you want to encrypt only some files, use VeraCrypt to create a container and leave the rest of the drive unencrypted.