Windows 11 does not have a "set a password on this folder" option. The closest built-in tools are EFS folder encryption and BitLocker, which are only in Pro, Enterprise and Education editions and unlock automatically when you sign in, so they never ask for a folder password. To put a real password on a folder, you either use a password-protected encrypted archive or a file encryption program that locks the folder with AES-256 and asks for the password every time it is opened.
This guide walks through every option, what each one actually protects against, and how to pick the right one for your situation.
First, decide what you are protecting against
"Password protect a folder" means different things to different people, and the right tool depends on who you are trying to keep out:
- Other people using your PC, such as family members or coworkers on a shared login. You need something that asks for a password even when Windows is already signed in.
- A thief who steals the laptop or removes the drive. You need the data on the disk to be encrypted, not just hidden.
- Someone who receives a copy, for example if you email the folder or copy it to a USB stick. You need protection that travels with the files.
Hiding a folder, renaming it or using a "folder locker" batch file does not stop any of these. Anyone who turns on hidden items or opens the script in Notepad can get in. Our guide on password protecting a folder without software explains why those tricks fail.
Option 1: EFS folder encryption (Windows 11 Pro and higher)
The Encrypting File System (EFS) is built into Windows 11 Pro, Enterprise and Education. It encrypts files on NTFS drives and ties the key to your Windows user account.
- Right-click the folder in File Explorer and choose Properties.
- On the General tab, click Advanced.
- Tick Encrypt contents to secure data and click OK.
- Click Apply, then choose Apply changes to this folder, subfolders and files.
- When Windows offers to back up your file encryption key, do it, and store the backup somewhere safe away from the PC.
A small padlock appears on the icons of encrypted files. Other Windows accounts on the same PC cannot open them, and someone who removes the drive cannot read them without your account's key.
The catch is that EFS does not ask for a password. If you are signed in, the files open normally. Anyone who sits down at your unlocked PC, or who knows your Windows password, can read everything. EFS files are also decrypted when you email them or copy them to a USB stick formatted as FAT32 or exFAT. And if the option is grayed out, you are probably on Windows 11 Home, where EFS is not included.
Option 2: BitLocker (Windows 11 Pro and higher)
BitLocker encrypts whole drives rather than folders. It is excellent protection for a lost or stolen laptop, but once Windows has started and the drive is unlocked, everything on it is readable to whoever is using the PC. It does not lock an individual folder.
On Pro and higher, a workaround is to create a virtual hard disk (VHDX) in Disk Management, format it, and turn on BitLocker for it with a password. You then attach and unlock it when you need it. It works, but it takes a dozen steps to set up and the drive stays unlocked until you detach it or restart.
Windows 11 Home does not include full BitLocker. Many Home PCs have Device Encryption, which protects the system drive automatically, but you cannot use it to lock a folder.
Option 3: A password-protected encrypted ZIP
File Explorer can compress a folder but cannot add a password. With an archive or encryption tool you can create a ZIP that uses AES-256 and requires a password to open. This is a good way to store or send a folder, and the result opens in most archive programs.
It is less convenient for files you work on every day. To edit something, you extract it, which leaves an unencrypted copy on the disk until you delete it. Always choose AES-256 rather than the older ZipCrypto method, which can be cracked. Our guide to password protecting a ZIP file in Windows covers the steps.
Option 4: An encryption app that locks folders with a password
A file encryption program closes the gaps in the built-in tools: it asks for a password every time, works on every Windows edition including Home, and keeps the files encrypted when they are copied, synced or emailed.
With Document Key, the process is:
- Set your password the first time you run it. Use the strength meter or the password generator, and print or save the recovery key.
- Right-click the folder in File Explorer and choose Encrypt.
- Choose whether to securely delete the unencrypted originals, so no readable copy is left behind on the disk.
- To open a file later, double-click it and enter your password.
Every file in the folder is encrypted with AES-256, whatever its type: PDFs, Word documents, spreadsheets, photos and videos. Wrong password guesses are slowed down, so the password cannot be brute-forced quickly. If you work in the folder all day, Document Key's vault drive is often more comfortable: it appears as its own drive letter when unlocked, files are encrypted as they are saved, and it disappears again when you lock it.
Comparing the options
| Method | Windows 11 Home? | Asks for a password? | Stays encrypted when copied? |
|---|---|---|---|
| Hidden folder or batch file | Yes | Not really | No, never encrypted |
| EFS | No | No, uses your Windows sign-in | No, not on email or FAT32/exFAT |
| BitLocker drive | No (Device Encryption only) | At startup or when unlocking | No, copies leave the drive decrypted |
| AES-256 ZIP | Yes, with an archive tool | Yes | Yes |
| Encryption app | Yes | Yes | Yes |
Keep the folder locked and the password safe
Make sure the folder locks again
A password only helps if the folder is locked when you are not there. Two habits make a big difference:
- Lock Windows when you step away. Press Windows+L, and set a screen timeout in Settings → Personalization → Lock screen.
- Use auto-lock for encrypted folders. Document Key can lock folders and vaults automatically when you are idle, when the PC sleeps or when you sign out. See how to make a folder lock automatically when the computer is idle.
Choose a password you will not forget
Real encryption has no back door. If you lose the password and have no recovery key, the files are gone. Use a long passphrase rather than a short complicated password, store it in a password manager, and keep the recovery key printed or saved somewhere other than the PC. Our guide on creating a strong password for encryption shows how.
Before encrypting an important folder for the first time, make a backup copy and test that you can open an encrypted file with your password. It takes a minute and removes any doubt.
Which option should you use?
- You use Windows 11 Pro and only need protection if the laptop is stolen: turn on BitLocker for the system drive.
- You want to send or archive a folder: make an AES-256 encrypted ZIP or a secure share package.
- You want a folder that asks for a password, on any edition including Home, and stays protected wherever the files go: use a file encryption app.
Many people combine them: BitLocker or Device Encryption for the whole drive, and file encryption for the handful of folders that hold tax returns, ID scans and client records.
Frequently asked questions
Can you put a password on a folder in Windows 11 without extra software?
Not directly. Windows can encrypt folders with EFS or whole drives with BitLocker on Pro, Enterprise and Education editions, but neither asks for a separate folder password. They unlock automatically when you sign in to Windows.
Does hiding a folder protect it?
No. Anyone who turns on Show hidden items in File Explorer can see and open a hidden folder. Hiding only keeps it out of casual view.
Is a password-protected folder safe if my laptop is stolen?
Only if the folder is actually encrypted. A folder that is just hidden or locked with a script can be read by anyone who removes the drive and connects it to another computer.
