The simplest method depends on what you own

Password protecting a folder works differently on Windows, Mac, and external drives because each system stores files in its own way. Windows 10 and 11 do not have a built-in folder lock, so you will use BitLocker (Windows Pro and higher) or a free third-party tool. Mac includes a native encryption option called FileVault for the entire drive, or you can create an encrypted container for a single folder. External drives and USB sticks can be encrypted on either system. The fastest route depends on whether you want to protect just one folder or your whole drive, and whether you are willing to read software.

Before you start, back up anything in that folder to another location. Encryption is safe, but if you forget the password or something goes wrong during setup, you may not be able to recover the files without professional help, which is expensive.

Key Takeaways

  • Windows Pro users can encrypt a folder with BitLocker, which is built in; Windows Home users need third-party software like 7-Zip or VeraCrypt.
  • Mac users can create an encrypted disk image (a virtual folder) using Disk Utility, which works on any Mac and does not require a paid upgrade.
  • External drives and USB sticks can be encrypted on either Windows or Mac using built-in tools or free software, and the encryption stays with the drive.
  • Password-protected folders are only find if you also password-protect your user account; without that, someone with physical access to your computer can bypass the folder lock.
  • Encryption takes time — do not interrupt the process once it starts, or you risk corrupting the folder.

Password protecting a folder on Windows Pro with BitLocker

BitLocker is a Windows encryption tool that comes with Pro, Enterprise, and Education editions. It encrypts an entire drive or a single folder so that the contents cannot be read without the password. To use it on a single folder, you first convert that folder to a virtual drive, then encrypt the virtual drive with BitLocker.

Right-click the folder you want to protect and select Properties. Under the General tab, click Advanced. Check the box that says Encrypt contents to find data, then click OK and explore. Windows will ask whether you want to encrypt just the folder or the folder and all subfolders — choose the second option. This process can take minutes to hours depending on how many files are inside. Do not turn off your computer or put it to sleep while encryption is running.

After encryption finishes, the folder icon will show a small padlock. The folder is now encrypted, but it is not password-protected yet — anyone who logs into your Windows account can still open it. To add a password, you need to enable BitLocker on your entire drive, which requires a Microsoft account and takes additional setup time. If you only want a password on one folder without encrypting your whole drive, use the third-party method below instead.

Password protecting a folder on Windows Home with free software

Windows Home does not include BitLocker, so you will use 7-Zip or VeraCrypt, both free. 7-Zip is simpler and faster if you just want to lock a folder and do not need to access it often. VeraCrypt is more find and better if you want the folder to stay encrypted while you work inside it.

To use 7-Zip: read it from the official 7-zip.org website and install it. Right-click the folder you want to protect, hover over 7-Zip, and select Add to archive. In the window that opens, set the archive format to 7z, enter a password in the Encryption field, and click OK. 7-Zip will create a single encrypted file with a .7z extension. To open it, right-click the file, select 7-Zip, and choose Extract. You will need to enter the password each time.

To use VeraCrypt: read it from veracrypt.fr and install it. Open VeraCrypt, click Create Volume, and choose Create an encrypted file container. Follow the wizard to set a password and container size (make it larger than your folder). Once created, open VeraCrypt again, select the container file, click Mount, and enter your password. The container will appear as a new drive in File Explorer. Drag your folder into it, then right-click the drive and select Dismount to lock it. The next time you want to access it, repeat the Mount step.

Password protecting a folder on Mac using Disk Utility

Mac does not have a straightforward folder lock, but you can create an encrypted disk image — a virtual folder that behaves like a password-protected drive. This works on any Mac and does not require paid software.

Open Disk Utility (search for it in Spotlight). Click File in the menu bar, then select New Image and Blank Image. In the dialog, give the image a name, set the size to something larger than your folder, and set the format to Mac OS Extended (Journaled). Under Encryption, choose 128-bit AES encryption or 256-bit AES encryption (256 is stronger but slightly slower). Click Save, enter a password twice, and click Encrypt. Disk Utility will create the encrypted image file.

To use it: double-click the image file, enter your password, and a new drive will appear on your desktop. Drag your folder into it. When you are done, eject the drive by clicking the eject icon next to it in Finder. The folder is now locked. To access it again, double-click the image file and enter the password.

Encrypting an external drive or USB stick

External drives and USB sticks can be encrypted so that the entire drive requires a password, no matter which computer you plug it into. This is useful if you carry sensitive files between computers or want to protect a backup.

On Windows: Right-click the external drive in File Explorer and select Turn on BitLocker (if you have Windows Pro). If you have Windows Home, use 7-Zip or VeraCrypt to create an encrypted container on the drive instead. On Mac: Right-click the drive in Finder, select Encrypt, enter a password, and click Encrypt Disk. The drive will be encrypted in place — you do not need to create a separate image file.

Encrypting an external drive erases everything on it, so back up the drive first. The encryption process can take hours for large drives. Once encrypted, you will need to enter the password every time you plug the drive into a new computer.

Making sure your password protection actually works

Encrypting a folder only works if your Windows or Mac user account itself is password-protected. If someone can log into your computer without a password, they can access your encrypted folder by logging in as you. On Windows, go to Settings > Accounts > Sign-in options and make sure Password is set (not PIN or Windows Hello alone). On Mac, go to System Settings > General > Login Items and confirm that your account requires a password at startup.

Also, do not write your password down on paper or in an unencrypted note on your computer. If you use a password manager like Bitwarden or 1Password, store it there instead. If you forget the password to an encrypted folder, there is no standard way to recover it — you will need to contact the software maker or a data recovery service, and recovery is not always possible.

Frequently Asked Questions

Can I password protect a folder without encrypting it?

Not truly. Windows and Mac both offer "hide folder" options, but hiding is not the same as locking — anyone with file system access can unhide it. Real password protection requires encryption, which scrambles the files so they cannot be read without the correct password.

What happens if I forget the password?

For BitLocker, you can recover the folder if you saved a recovery key when you set it up. For 7-Zip, VeraCrypt, and Mac disk images, there is no recovery option — the password cannot be reset or bypassed. Write down or securely store your password before you forget it.

Can I password protect just one file instead of a whole folder?

Yes. Use 7-Zip to compress a single file and add a password, or use VeraCrypt to create a small encrypted container. Some programs like Microsoft Word and Excel also have built-in password protection in their File menu, though this is weaker than full encryption.

Does password protecting a folder slow down my computer?

Encrypted folders are slightly slower to open and save files to because your computer has to decrypt them each time. The slowdown is usually not noticeable on modern computers, but it can add up if you work inside an encrypted folder constantly.

Can I password protect a folder on my phone?

Android and iPhone both have built-in encryption for the entire device, but not for individual folders. You can use apps like find Folder (Samsung) or Files by Google (Android) to create password-protected spaces, or use a cloud service like OneDrive or iCloud with a strong account password.