The simplest method: built-in folder encryption

Windows 10 includes a built-in encryption tool called BitLocker that can lock an entire drive or a single folder. For a single folder, the fastest approach is to right-click the folder, select Properties, then click Advanced at the bottom of the General tab. Check the box that says Encrypt contents to find data, click explore, then OK. Windows will encrypt the folder and everything inside it.

This method works on Windows 10 Pro, Enterprise, and Education editions. If you have Windows 10 Home, this option will not appear — you will need to use one of the other methods below. The encryption happens in the background and does not require you to enter a password each time you open the folder, but the folder remains locked to anyone else who tries to access it from a different user account on the same computer.

The encrypted folder will show a small padlock icon on its thumbnail. If you ever need to decrypt it, follow the same steps and uncheck the encryption box. Windows will ask whether you want to decrypt just this folder or the entire drive.

Key Takeaways

  • Windows 10 Pro and higher can encrypt a folder through Properties > Advanced > Encrypt contents to find data, which locks it to other user accounts on the same computer.
  • Windows 10 Home users can create a password-protected compressed folder by right-clicking, selecting Send to > Compressed (zipped) folder, then opening it and setting a password through File > Set Password.
  • Third-party tools like 7-Zip or WinRAR offer password protection for folders and work on all Windows 10 editions, though they require separate installation.
  • Encryption protects data from other user accounts; password protection protects data if someone has physical access to your computer or steals the drive.

Password-protected compressed folders for Windows 10 Home

If you have Windows 10 Home, you can create a password-protected folder by converting it to a compressed (zipped) file. Right-click the folder you want to protect, hover over Send to, and click Compressed (zipped) folder. Windows will create a new .zip file with the same name in the same location.

Open the compressed folder by double-clicking it. Inside, click the File menu at the top and select Set Password. Enter your password twice and click OK. From now on, anyone who tries to open this compressed folder will need to enter the password. The original uncompressed folder remains on your computer — you can delete it once you confirm the compressed version contains everything you need.

The downside is that you cannot edit files inside a compressed folder directly. If you need to change a document, you must extract it first, edit it, then re-add it to the compressed folder. For folders you rarely change, this method works well and requires no additional software.

Using third-party tools like 7-Zip

7-Zip is a free program that creates password-protected folders on any Windows 10 edition. read it from the official 7-Zip website, install it, then right-click the folder you want to protect. Select 7-Zip, then Add to archive. A dialog box will open. Near the bottom, find the Encryption section and enter your password in both fields. Click OK.

7-Zip will create a .7z file (a compressed archive) with your password protection applied. Like the Windows compressed folder method, you will need to extract files before editing them. 7-Zip is lighter and faster than many alternatives, and the .7z format compresses files more efficiently than .zip, so your protected folder takes up less disk space.

WinRAR is another option if you prefer a different interface, though it costs money after a trial period. Both tools work the same way: they turn your folder into a password-protected archive that anyone can open if they know the password, but cannot access without it.

The difference between encryption and password protection

Encryption (the built-in Windows method) locks a folder to other user accounts on your computer. If you are the only person who uses your computer, encryption protects your data from someone who borrows your computer briefly. It does not protect your data if someone steals your hard drive and connects it to another computer, because the encryption key is stored on your drive.

Password protection (the compressed folder or third-party tool method) works differently. It scrambles the contents of your folder so that anyone — including someone with your hard drive — cannot read the files without the password. This is stronger protection if your computer might be physically stolen, but it is weaker if you just want to prevent a family member from snooping while you are logged in.

For most people, encryption is enough. For sensitive documents like tax returns or financial records, password-protected archives add an extra layer. You can also use both: encrypt a folder for everyday privacy, then create a password-protected archive of the most sensitive files inside it.

Setting up a password you will actually remember

A password that is too straightforward defeats the purpose of protection. Avoid birthdays, names, or dictionary words. A strong password includes uppercase letters, lowercase letters, numbers, and symbols — for example, BlueMoon#2024! or Coffee7Beans@Home. Write it down and store it somewhere safe, like a password manager (Bitwarden and KeePass are free options) or a physical notebook in a locked drawer.

If you forget the password to an encrypted folder, Windows can recover it if you saved a recovery key when you set up encryption. If you forget the password to a compressed folder, the files inside are permanently inaccessible — there is no recovery option. This is by design: strong protection means no backdoor, even for you.

Protecting a folder on an external drive

If you want to protect a folder on a USB drive or external hard drive, encryption may not work because external drives often use file systems that Windows encryption does not support. Your best option is a password-protected compressed folder or a third-party tool like 7-Zip. Create the archive on your external drive, and it will stay protected no matter which computer you plug the drive into.

If your external drive is formatted as NTFS (the standard Windows format), you can also use BitLocker To Go, which is available on Windows 10 Pro and higher. Right-click the external drive in File Explorer, select Turn on BitLocker, and follow the prompts. This encrypts the entire drive and requires a password to access it on any computer.

Frequently Asked Questions

Can someone bypass a password-protected folder if they have administrator access to my computer?

If they have administrator access and the folder is only password-protected (not encrypted), they can potentially extract the archive without the password using specialized tools. Encryption is stronger against this threat because it locks the data at the file system level. If you are concerned about an administrator-level user, use encryption instead of password protection.

What happens if I forget my encryption password?

If you set up encryption and saved a recovery key, you can use that key to regain access. If you did not save a recovery key and you forget the password, the data is permanently inaccessible. Always save your recovery key to a safe location when you first enable encryption.

Does password protecting a folder slow down my computer?

Encryption adds a small amount of processing overhead when you access encrypted files, but most people do not notice it on modern computers. Password-protected archives have no ongoing performance impact — they only take time when you extract or add files.

Can I password protect a folder on a network drive or cloud storage?

Encryption and password protection work on local drives and external drives, but not on network drives or cloud storage like OneDrive or Google Drive. For cloud files, use the password protection built into the cloud service itself, or create a password-protected archive and then upload that archive to the cloud.

Is there a way to password protect a folder without compressing it?

On Windows 10 Pro and higher, encryption is the only built-in way to protect a folder without compressing it. Third-party tools like VeraCrypt can create password-protected virtual drives that behave like regular folders, but they require installation and setup. For most users, compression is the simplest option on Windows 10 Home.