Maybe you share a family PC, keep scans of personal documents on your laptop, or just want certain files to stay private. The natural thing to look for is a “set password” option when you right-click a folder. It is not there.
Windows 11 does not have a built-in way to put a password on a single folder. But there are reliable ways to get the same result. Here are four ways to password protect a folder in Windows 11, from the easiest to the most secure, plus one popular trick you should skip.
First, the simplest protection: your Windows account
If the main worry is other people using your PC, the strongest protection is already built in. Make sure your own Windows account has a password or PIN, and give everyone else their own account from Settings > Accounts > Other users. Files in your user folders (Documents, Desktop, Pictures) cannot be opened by standard users on other accounts.
Lock the screen with Windows + L whenever you step away. It is simple, and it solves the problem for most shared-PC situations.
Method 1: Put the folder in a password-protected ZIP with 7-Zip
This is the most practical option for most people, and it works on every edition of Windows 11, including Home.
- Download and install the free 7-Zip from its official site.
- Right-click the folder, choose Show more options, then 7-Zip > Add to archive.
- Set Archive format to 7z or zip.
- Under Encryption, type a strong password and set Encryption method to AES-256.
- For 7z archives, tick Encrypt file names so nobody can even see what is inside.
- Click OK.
Open the new archive to check that it asks for the password, then securely delete the original unprotected folder. Remember: if you forget the password, there is no recovery. Our guide to creating strong passwords helps you choose one you will remember.
Method 2: Use BitLocker on a USB drive or separate drive (Windows 11 Pro)
If you have Windows 11 Pro, Education or Enterprise, BitLocker can encrypt a whole USB stick or secondary drive behind a password. It is ideal for keeping sensitive files portable.
- Plug in the USB drive.
- Search for Manage BitLocker in the Start menu and open it.
- Find the drive under Removable data drives and click Turn on BitLocker.
- Choose Use a password to unlock the drive and enter a strong password.
- Save the recovery key somewhere safe, such as your Microsoft account or a printed copy.
- Choose the encryption options and click Start encrypting.
From then on, the drive asks for the password each time it is plugged in. Windows 11 Home cannot turn on BitLocker for drives, so use Method 1 or Method 3 instead.
Method 3: Create an encrypted vault with VeraCrypt
VeraCrypt is a free, open-source tool that creates an encrypted “container” file. When you enter the password, it appears as a new drive letter where you can add, open and edit files normally. When you close it, everything is locked again.
It takes a few more minutes to set up than a ZIP file, but it is much more convenient for files you work on regularly, since you do not need to extract and re-zip them each time. Download it only from the official VeraCrypt website.
Method 4: Encrypt the folder with EFS (Windows 11 Pro)
Windows 11 Pro includes the Encrypting File System. Right-click the folder, choose Properties > Advanced, and tick Encrypt contents to secure data.
EFS does not ask for a separate password. Instead, it ties the files to your Windows account, so other accounts on the same PC cannot open them. It is useful on shared computers, but back up the encryption certificate when Windows prompts you. If your account is lost or Windows is reinstalled without it, the files may be unrecoverable.
The trick to avoid: “folder lock” batch scripts
You will find many videos showing a small script that “locks” a folder with a password. These scripts only hide the folder and rename it. Anyone who knows to show hidden and protected system files, or simply opens the script in Notepad, can see the password and the files. They give a false sense of security, so do not use them for anything that matters.
Which method should you choose?
- Just keeping family members out: separate Windows accounts.
- Protecting a few files you rarely open: 7-Zip with AES-256.
- Carrying sensitive files on a USB stick: BitLocker (Pro) or a VeraCrypt container.
- Files you work on regularly: a VeraCrypt container.
Whatever you choose, keep a backup. Encryption is only useful if you can still get your own files back. For more security basics, see our guide to enabling two-factor authentication. Microsoft documents BitLocker and EFS on its Windows support site.
Quick recap
To password protect a folder in Windows 11, use a 7-Zip archive with AES-256 encryption for a quick solution, BitLocker for drives on Windows 11 Pro, or a VeraCrypt container for files you use often. Use separate Windows accounts on shared PCs, and avoid batch-file “folder locks”, which offer no real protection.

