How to Securely Encrypt a USB Flash Drive in 2026

·
15 min read

Online Tech Tips is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Ever tossed a USB drive in your bag and thought, “I really hope nobody finds this if I lose it”? Yeah, that’s a reasonable thing to worry about, especially if it’s got tax documents, work files, passwords, or anything else you’d rather keep private. The good news is that encrypting a USB flash drive is easier than you might think, and you’ve got several solid options depending on your setup.

In this guide, we’ll walk through three main approaches: using your operating system’s built-in encryption (BitLocker on Windows, or Finder/Disk Utility on macOS), picking up a hardware-encrypted USB drive, or using a free cross-platform tool called VeraCrypt. By the end, you’ll know exactly which method fits your situation and how to actually set it up.

Why Bother Encrypting a USB Drive?

Here’s the thing: a regular USB drive is basically an open book to anyone who picks it up. Plug it into any computer and the files are right there. Encryption scrambles everything on the drive so that without the correct password, the data is completely unreadable, even if someone physically has the drive in their hands.

USB drives are also a surprisingly common malware vector. Beyond just data theft, there are attacks (like “BadUSB”) where a compromised drive can do nasty things to your computer the moment you plug it in. While encryption won’t stop every threat, it does protect your data if the drive is lost or stolen, which is the most common real-world scenario.

Which Method Should You Choose?

  • BitLocker (Windows 10/11 Pro): Best for Windows-only users who want a quick, built-in solution with no extra software.
  • macOS Finder / Disk Utility: Best for Mac users who want simple, built-in encryption without installing anything.
  • VeraCrypt: Best if you need the drive to work across Windows, macOS, and Linux, or if you want advanced encryption features.
  • Hardware-encrypted USB drive: Best for non-technical users, businesses, or anyone who wants encryption that just works without any software setup.

Method 1: BitLocker on Windows 10 and 11

BitLocker is Microsoft’s built-in encryption tool, and it works great for USB drives (this specific feature is sometimes called “BitLocker To Go”). It’s free, it’s already on your PC, and it’s pretty straightforward to set up.

One important catch: BitLocker is only available on Windows 10 and 11 Pro, Enterprise, or Education editions. If you’re on Windows Home, you won’t see the option, so skip down to the VeraCrypt section instead. Also worth knowing: BitLocker-encrypted drives can’t be opened natively on macOS or Linux, so if you share the drive between different operating systems, VeraCrypt is a better fit.

Step 1: Plug In Your USB Drive and Open File Explorer

Connect your USB flash drive to your Windows PC. Press Windows + E to open File Explorer, then click This PC in the left sidebar to see your drives.

File Explorer showing This PC with a USB flash drive listed under Devices and drives

Step 2: Turn On BitLocker

Right-click on your USB drive and select Turn on BitLocker. If you don’t see that option, you may be on Windows Home. Again, VeraCrypt is your friend in that case.

Right-click context menu on a USB drive in File Explorer with Turn on BitLocker highlighted

Step 3: Choose How to Unlock the Drive

You’ll be asked how you want to unlock the drive. Check the box next to Use a password to unlock the drive, then type in a strong password and confirm it. For most people, a long passphrase (think: a few random words strung together) works better than a short complicated one. It’s easier to remember and harder to crack.

BitLocker setup screen showing the password entry option with two password fields

Step 4: Save Your Recovery Key

This step is really important. BitLocker will generate a recovery key, which is a long string of numbers you can use to unlock the drive if you ever forget your password. You’ve got a few options:

  • Save to your Microsoft account, convenient and hard to lose, but Microsoft can technically be compelled to hand it over if served a legal warrant.
  • Save to a file, save it somewhere other than the USB drive itself (that would be a bit pointless). A password manager works great here.
  • Print the key, old school, but a printed copy in a secure spot like a filing cabinet or safe works fine.

Whatever you do, don’t skip this step. If you forget your password and don’t have the recovery key, your data is gone for good.

BitLocker recovery key options screen showing Save to Microsoft account, Save to a file, and Print the recovery key options

Step 5: Choose How Much of the Drive to Encrypt

Next, you’ll pick between two options:

  • Encrypt used disk space only, faster, and a good choice if the drive is new or empty.
  • Encrypt entire drive, takes longer but is better if the drive already had data on it (even deleted files can sometimes be recovered from unencrypted space).
BitLocker screen asking how much of the drive to encrypt, with Encrypt used disk space only and Encrypt entire drive options

Step 6: Choose the Encryption Mode

You’ll be asked to pick between two modes:

  • New encryption mode, stronger encryption, but only works on Windows 10 and 11. Pick this if the drive will only ever be used on modern Windows machines.
  • Compatible mode, works with older Windows versions too. Good if you might plug this into a Windows 7 or 8 machine somewhere down the line (though honestly, those are pretty rare in 2026).
BitLocker encryption mode selection screen showing New encryption mode and Compatible mode options

Step 7: Start Encrypting

Click Start encrypting and leave the drive plugged in until it’s done. How long it takes depends on the drive size and how much data is on it. A small, empty drive might take a minute, while a large, full one could take much longer. Don’t unplug it mid-process!

BitLocker encryption progress screen showing the encrypting status bar for the USB drive

Step 8: Using the Encrypted Drive

Once encryption is complete, you’re all set. The next time you plug the drive into a Windows PC, you’ll see a lock icon on the drive in File Explorer, and you’ll be prompted to enter your password before you can access anything on it.

File Explorer showing the USB drive with a gold padlock icon indicating BitLocker encryption is active
BitLocker password prompt dialog that appears when a BitLocker-encrypted USB drive is plugged in, with a password field and More options link

How to Turn Off BitLocker

Changed your mind? Right-click the drive in File Explorer and select Manage BitLocker, then click Turn off BitLocker. It’ll decrypt everything and go back to a normal, unencrypted drive.

BitLocker management screen showing the Turn off BitLocker option for the USB drive

Method 2: Encrypting a USB Drive on macOS

Mac users have it pretty easy here. Modern versions of macOS (Monterey, Ventura, Sonoma, and later) let you encrypt a USB drive right from Finder with just a few clicks. No extra apps needed.

Heads up: A macOS-encrypted drive can’t be opened natively on Windows. If you need cross-platform access, jump to the VeraCrypt section below.

Option A: Quick Encrypt via Finder (Easiest)

This is the fastest way if you just want to add a password to an existing drive.

Step 1: Insert the Drive and Find It in Finder

Plug in your USB drive and open a Finder window. You should see the drive listed in the left sidebar under Locations.

Finder window showing a USB drive listed in the Locations sidebar

Step 2: Right-Click and Select Encrypt

Control-click (or right-click) the drive in the sidebar and select Encrypt “[Drive Name]”.

Finder right-click context menu on a USB drive showing the Encrypt option highlighted

Step 3: Set a Password

Enter a strong password, confirm it, and add a password hint if you like. Click Encrypt Disk. macOS will start encrypting the drive, and the time varies depending on the drive’s size and speed.

macOS password dialog for encrypting a USB drive with password, verify password, and hint fields

After that, any time you plug the drive into a Mac, you’ll be prompted for the password before you can access it. Nice and simple.

Option B: Reformat with Disk Utility (Clean Start)

If you want to start fresh with a fully encrypted drive (and don’t mind erasing everything on it first), Disk Utility gives you more control over the format.

Step 1: Back Up and Open Disk Utility

First, back up anything important on the drive, as this process will erase it completely. Then open Disk Utility (you can find it in Applications > Utilities, or search for it with Spotlight using Cmd + Space).

Step 2: Select the Physical Drive

In the left sidebar, click on the physical USB device (not the volume underneath it, but the actual device at the top level). If you don’t see it, click View > Show All Devices.

Disk Utility showing a USB drive selected in the left sidebar with Show All Devices enabled so the physical device is visible

Step 3: Click Erase and Choose Encrypted Format

Click the Erase button at the top. In the Format dropdown, choose:

  • APFS (Encrypted), best for modern Macs (macOS 10.13 or later).
  • Mac OS Extended (Journaled, Encrypted), if you need compatibility with older Macs.

Set the Scheme to GUID Partition Map, give the drive a name, and click Erase. You’ll be prompted to set a password right away.

Disk Utility Erase dialog showing Format dropdown with APFS (Encrypted) selected and Scheme set to GUID Partition Map

Method 3: VeraCrypt (Cross-Platform and Free)

If you need an encrypted USB that works on Windows, macOS, and Linux, or if you’re on Windows Home and don’t have BitLocker, VeraCrypt is the way to go. It’s free, open-source, and actively maintained. The code has been independently audited by security researchers, which is a big deal in the encryption world.

The slight trade-off is that you’ll need VeraCrypt installed on any computer you want to use the drive with. It’s not quite as seamless as BitLocker, but for cross-platform flexibility, it’s hard to beat.

Download VeraCrypt from the official site at veracrypt.fr and install it on your system before starting.

Step 1: Open VeraCrypt and Create a New Volume

Launch VeraCrypt. You’ll see a list of drive letters and a row of buttons at the bottom. Click Create Volume to get started.

VeraCrypt main window showing the list of drive slots and the Create Volume button highlighted

Step 2: Choose What to Encrypt

The Volume Creation Wizard will offer you a few options:

  • Create an encrypted file container, creates a single encrypted file on the USB drive that acts like a virtual disk. The rest of the drive can still hold normal, unencrypted files.
  • Encrypt a non-system partition/drive, encrypts the entire USB drive. Nothing on it will be accessible without VeraCrypt.

For most people who want the whole drive protected, choose Encrypt a non-system partition/drive. If you want to keep some files unencrypted (like a readme or the VeraCrypt installer itself for portability), go with the file container option instead.

VeraCrypt Volume Creation Wizard showing the three volume type options with Encrypt a non-system partition/drive selected

Step 3: Choose Standard or Hidden Volume

Next, you’ll pick between a Standard VeraCrypt volume or a Hidden VeraCrypt volume.

  • Standard volume, one encrypted volume, one password. Simple and secure for most people.
  • Hidden volume, creates a secret encrypted volume inside the outer encrypted volume. You’d store decoy files in the outer volume and your real sensitive data in the hidden one. If someone ever pressures you to hand over your password, you give them the outer volume password and they see the decoy files, while the hidden volume remains completely invisible.

For everyday use, a standard volume is perfectly fine. The hidden volume is a nice extra layer if you’re dealing with particularly sensitive data.

VeraCrypt volume type selection screen showing Standard VeraCrypt volume and Hidden VeraCrypt volume options

Step 4: Select Your USB Drive

Click Select Device and choose your USB drive from the list. If you’re encrypting the whole drive, select the partition on the drive (e.g., something like Partition 1 on your removable disk) rather than the device itself. VeraCrypt will let you know if there’s a conflict.

VeraCrypt device selection dialog showing a list of drives and partitions with a USB drive partition highlighted

Step 5: Choose Encryption Settings

You’ll be asked to pick an encryption algorithm and a hash algorithm. Unless you have a specific reason to change these, just leave them at the defaults (AES and SHA-512 are excellent choices). Click Next.

VeraCrypt encryption options screen showing AES selected as encryption algorithm and SHA-512 as hash algorithm

Step 6: Set a Strong Password

Enter a strong, unique password for your volume. VeraCrypt will warn you if it’s shorter than 20 characters, and longer is genuinely better here. A passphrase made of several random words is a great approach. Click Next.

VeraCrypt password entry screen with the password field filled in and the Next button visible

Step 7: Format and Create the Volume

Move your mouse around randomly inside the VeraCrypt window for a few seconds. This actually helps generate stronger encryption keys, as the randomness from your mouse movements is used as part of the key generation process. Then click Format. VeraCrypt will erase and encrypt the drive, which can take a while for larger drives.

VeraCrypt format screen showing the random mouse movement area and the Format button

Step 8: Mount and Use the Drive

Once the volume is created, here’s how you access it going forward:

  1. Open VeraCrypt and click a drive letter from the list (any unused one).
  1. Click Select Device and choose your USB drive partition.
  1. Click Mount and enter your password.
  1. The encrypted drive will appear as a new drive letter in File Explorer (Windows) or on your Desktop (macOS). Use it like a normal drive.
  1. When you’re done, click Dismount in VeraCrypt to lock it back up before unplugging.
VeraCrypt main window with a USB drive mounted as a drive letter, showing the Dismount button

Important: Don’t click “Format” if Windows asks you to format the drive when you plug it in. That’s just Windows not understanding the VeraCrypt encryption. Always open the drive through VeraCrypt, not File Explorer directly.

Method 4: Hardware-Encrypted USB Flash Drives

If you’d rather not deal with software setup at all, a hardware-encrypted USB drive is a genuinely great option, especially for businesses or less tech-savvy users. These drives have a dedicated encryption chip built right in, so the encryption happens automatically without any software on your computer.

Here’s what makes them stand out:

  • OS-agnostic: Once you unlock the drive with your PIN, it shows up as a normal drive on Windows, macOS, Linux, or anything else. No VeraCrypt, no BitLocker needed.
  • Auto-lock and wipe: Most hardware-encrypted drives will lock themselves after a set number of wrong PIN attempts, and many will wipe the drive entirely after too many failures. This is a great safeguard against brute-force attacks.
  • No software required: The encryption is handled entirely by the drive’s own hardware controller.
  • FIPS 140-2/140-3 certified options: For regulated industries (healthcare, finance, government), look for drives with this certification. It means the encryption has been independently validated to meet federal security standards.

When shopping for one, look for drives that use AES 256-bit hardware encryption and have FIPS 140-2 or 140-3 certification if you need it. Kingston IronKey is a well-established brand with options ranging from personal use to enterprise-grade security. You’ll pay more than for a regular USB drive, but you get a lot of peace of mind in return.

Kingston IronKey product page showing hardware-encrypted USB drive options with FIPS certification details

One word of caution: avoid cheap “encrypted” USB drives on Amazon that use proprietary or unaudited software encryption. There have been plenty of cases where these were cracked trivially. Stick with reputable brands that publish their encryption specs and certifications.

Tips and Troubleshooting

Common Issues

Problem: BitLocker isn’t showing up in the right-click menu

You’re probably on Windows Home, which doesn’t include BitLocker. Your options are to upgrade to Windows Pro, or use VeraCrypt (which is free and works great).

Problem: The encrypted drive won’t open on a Mac or Linux machine

BitLocker drives are Windows-only by default, so macOS and Linux can’t open them natively. If you need cross-platform access, use VeraCrypt instead. Similarly, macOS-encrypted (APFS Encrypted) drives won’t open on Windows without third-party tools.

Problem: Encryption is taking forever

Large drives and slower USB 2.0 connections can make full-drive encryption take a very long time. If you’re using BitLocker, choose “Encrypt used disk space only” for a much faster process on new or mostly empty drives. Keep your computer plugged in and don’t let it sleep during encryption.

Problem: I forgot my password and don’t have the recovery key

Unfortunately, that’s the point of encryption. Without the password or recovery key, the data is unrecoverable. This is why saving that recovery key somewhere safe (a password manager, a printed copy in a secure location) is so important. Going forward, store your recovery keys in a password manager like Bitwarden or 1Password.

Problem: Windows is asking me to format the drive after VeraCrypt setup

Don’t click Format! Windows just doesn’t recognize the VeraCrypt encryption. Always open VeraCrypt first and mount the drive from there, and never try to access it directly through File Explorer.

Pro Tips

  • Use a passphrase, not a random password: A string of four or five random words (like “correct-horse-battery-staple”) is both stronger and easier to remember than a short jumble of characters.
  • Don’t use the USB as your only backup: Flash drives can fail without warning. Keep important files in at least one other place, ideally following the 3-2-1 rule: 3 copies, on 2 different types of storage, with 1 stored off-site.
  • Securely erase before disposing: If you’re getting rid of an old USB drive, a simple format isn’t enough, as deleted files can often be recovered. On Windows, a tool like Eraser can overwrite the data. On modern macOS, Disk Utility no longer offers a multi-pass secure erase option for flash-based drives — Apple’s current recommendation is to encrypt the drive first (using one of the methods above) and then do a normal erase, which makes the old data cryptographically unreadable.
  • Keep your software updated: Whether you’re using BitLocker, VeraCrypt, or a hardware drive’s firmware, keep everything updated. Security vulnerabilities get patched over time, but only if you actually install the updates.
  • Don’t plug in unknown USB drives: This one’s just good general hygiene. If you find a USB drive somewhere or someone hands you one you don’t trust, don’t plug it in. Infected drives can compromise your computer even before you open any files.

Wrapping Up

Encrypting a USB drive is one of those things that feels like a hassle until the day you actually need it, and then you’re really glad you did it. If you’re on Windows Pro, BitLocker is the easiest path. Mac users can get it done in a few clicks right from Finder. If you need something that works everywhere or you’re on Windows Home, VeraCrypt is a fantastic free option. And if you’d rather just buy your way out of the setup entirely, a hardware-encrypted drive from a reputable brand like Kingston IronKey is genuinely worth the extra cost.

Whichever route you go, the important thing is that your data is protected, not sitting on a plain USB drive waiting to be read by whoever picks it up off a coffee shop floor.