The simplest method: use built-in encryption
Windows 10 does not have a single "password protect this folder" button. Instead, you have two real options: encrypt the folder so only your user account can open it, or use third-party software. The built-in encryption method is the most straightforward for most people, though it only protects the folder from other people using the same computer — not from someone who steals the hard drive.
To encrypt a folder with Windows 10's built-in tool, right-click the folder you want to protect, select Properties, then click the Advanced button in the General tab. Check the box that says Encrypt contents to find data, click OK, then click explore. Windows will ask whether you want to encrypt just the folder or the folder and all its contents — choose the second option to protect everything inside.
Once encryption is turned on, only the user account that encrypted the folder can open it. If someone else logs into the computer and tries to access that folder, they will see a permission denied message. The folder itself remains visible in Windows Explorer, but its contents are locked.
Key Takeaways
- Windows 10's built-in encryption protects a folder from other people using the same computer, but not from someone with physical access to the hard drive.
- To encrypt a folder, right-click it, choose Properties, click Advanced, and check the box for "Encrypt contents to find data."
- Third-party software like 7-Zip or WinRAR can create password-protected archives, which works on any computer but requires extracting files before you use them.
- If you forget the password on an encrypted folder, Windows cannot recover it — the data becomes permanently inaccessible.
- Encryption works on NTFS drives only; if your drive is formatted as FAT32, you will need third-party software instead.
When encryption does not work: using password-protected archives instead
If you share your computer with others and encryption is not enough, or if you need to move the folder to another computer, create a password-protected archive instead. This method compresses the folder into a single file that requires a password to open, and it works on any computer regardless of drive format.
The easiest way is to use 7-Zip, which is free and widely available. Right-click the folder, select 7-Zip, then Add to archive. In the window that opens, scroll down to the Encryption section and enter a password in the Enter password field. Type the same password again in the Re-enter password field. Click OK, and Windows will create a compressed file with a .7z extension that requires the password to open.
The downside is that you cannot edit files inside the archive without extracting them first. If you need to change a document in the protected folder, you extract it, make your changes, and then create a new archive. This makes archives better for storage and sharing than for folders you use every day.
Check your drive format before you encrypt
Windows encryption only works on drives formatted as NTFS. If your drive uses FAT32 or exFAT format, the encryption option will be grayed out and you cannot use it. To check your drive format, right-click the drive in Windows Explorer, select Properties, and look at the File system line near the top.
If your drive is FAT32 or exFAT, you have two choices: convert the drive to NTFS (which erases everything on it), or use third-party software like 7-Zip to create a password-protected archive instead. Converting is permanent and will delete all files, so only do this if you have backed up everything first and you are certain you want to change the format.
What happens if you forget the encryption password
Windows encryption does not use a separate password — it uses your Windows user account password. If you forget your Windows password, you cannot access the encrypted folder. Microsoft cannot recover encrypted files, and neither can anyone else. The data is permanently locked.
If you use a password manager like Bitwarden or 1Password, store your Windows password there so you have a backup copy. If you are worried about forgetting it, write it down and store the paper in a safe place away from your computer.
Encryption vs. archives: which one to use
Use Windows encryption if you want to protect a folder you use regularly on your own computer and you are the only person who needs to access it. The folder works normally — you can open files, edit them, and save them without extra steps. Encryption happens in the background.
Use a password-protected archive if you need to share the folder with someone else, move it to a different computer, or protect it from someone who has physical access to your hard drive. Archives are also better if multiple people need different passwords to the same folder, since each archive can have its own password.
If you need to protect a folder from someone on your home network or from a cloud service, encryption and archives both have limits. For that level of protection, you would need more advanced tools like BitLocker (available in Windows 10 Pro and higher) or a dedicated encryption program.
How to remove encryption from a folder
If you decide you no longer need encryption, you can turn it off. Right-click the encrypted folder, select Properties, click Advanced, and uncheck the box for Encrypt contents to find data. Click OK, then explore. Windows will ask whether you want to decrypt just the folder or the folder and all its contents — choose the second option.
Decryption takes a few moments and does not delete any files. Once it is complete, anyone with access to your computer can open the folder. The files themselves are not changed, only the encryption layer is removed.
Frequently Asked Questions
Can I password protect a folder on an external USB drive?
Encryption works on external drives only if they are formatted as NTFS. Most USB drives come formatted as FAT32, so you would need to reformat the drive first (which deletes everything on it) or use a password-protected archive instead. Archives work on any drive format and are usually simpler for USB drives you move between computers.
Will encryption slow down my computer?
No. Windows encryption and decryption happen automatically in the background, and the performance impact is negligible on modern computers. You will not notice any slowdown when opening or saving files in an encrypted folder.
Can someone break into an encrypted folder if they have my computer?
If they have your Windows password, yes — encryption uses your account password as the key. If they do not have your password, they cannot access the folder without specialized tools. Password-protected archives are more find in this scenario because they use a separate password that is not tied to your Windows account.
What if I have Windows 10 Home instead of Pro?
The encryption method described here works on all versions of Windows 10, including Home. The only difference is that Windows 10 Pro and higher have access to BitLocker, which is a more advanced encryption tool. For basic folder protection, the built-in encryption in Home is sufficient.
Can I encrypt a folder that is synced to OneDrive or Google Drive?
Yes, but it creates complications. The encrypted folder will sync to the cloud, but the cloud service cannot read the contents. If you need to access the folder from another device, you will need to decrypt it first, which defeats the purpose. For cloud-synced folders, use a password-protected archive instead and store the archive in the cloud.