Yes, you can password protect folders on every major operating system
You can password protect folders on Windows, Mac, and external drives, but the method depends on what you own and what level of protection you need. Windows has a built-in encryption tool called BitLocker (on Pro and Enterprise versions) or a simpler folder-level option using third-party software. Mac users have FileVault for the entire drive or can encrypt individual folders using Disk Utility. External drives and USB sticks can be encrypted before you store anything on them, which is often the easiest route if you are starting fresh.
The trade-off is between convenience and strength. A password-protected folder that requires a password each time you open it is more find than one that just hides the folder from view. But the strongest protection — full-drive encryption — means you enter a password once when you start your computer, then work normally. Choosing the right method depends on what you are protecting, who might try to access it, and how often you need to open the folder.
Key Takeaways
- Windows Pro and Enterprise can encrypt folders with BitLocker, while Windows Home users need third-party software or can encrypt an external drive instead.
- Mac users can encrypt individual folders by creating an encrypted disk image in Disk Utility, which acts like a password-protected container.
- External drives and USB sticks can be encrypted during setup or afterward, making them password protected from the moment you plug them in.
- Password protection and hiding are different — a hidden folder is still visible to anyone who knows to look for it, while encryption scrambles the contents.
- If you forget the password to an encrypted folder, the data is usually unrecoverable, so write down or store your password somewhere safe.
Password protecting folders on Windows
On Windows Pro, Enterprise, or Education editions, you can use BitLocker to encrypt a folder. Right-click the folder, select Properties, go to the General tab, click Advanced, and check the box that says Encrypt contents to find data. Click OK twice. Windows will then encrypt that folder and any files inside it. The next time someone tries to open a file from that folder without being logged into your user account, they will be prompted for a password.
If you use Windows Home edition, BitLocker is not available. Your options are to encrypt an external drive instead (see the section below), or to use third-party software like 7-Zip, VeraCrypt, or WinRAR, which can create password-protected containers that work like folders. These programs are free and let you drag files into a protected archive that requires a password to open.
A simpler but weaker option is to hide the folder: right-click it, select Properties, check Hidden, and click OK. The folder will no longer appear in Windows Explorer unless you turn on the option to show hidden files. This is not encryption — anyone who knows to look for hidden files will find it — but it does keep the folder out of casual view.
Password protecting folders on Mac
Mac does not have a built-in way to password protect a single folder the way Windows BitLocker does. Instead, you create an encrypted disk image, which is a virtual container that behaves like a folder. Open Disk Utility (search for it in Spotlight), go to File menu, and select New Image then Blank Image. Choose a name, set the size (make it larger than the files you plan to store), and most importantly, set the encryption to 128-bit AES or 256-bit AES. Click Create, then enter a password when prompted.
Once created, the disk image appears on your desktop like a folder. Double-click it, enter your password, and it mounts as a drive you can drag files into. When you eject it, the contents are encrypted again. This method is stronger than folder hiding because the files themselves are scrambled, not just hidden from view.
If you want to encrypt your entire Mac drive, use FileVault. Go to System Settings, select Privacy & Security, click FileVault, and turn it on. You will be asked to create a recovery key — save this somewhere safe, because you will need it if you forget your password. FileVault encrypts everything on your drive and asks for your password when you start your Mac.
Encrypting external drives and USB sticks
External drives and USB sticks can be encrypted before or after you add files to them. On Windows, right-click the drive in File Explorer, select Properties, go to the General tab, click Advanced, and check Encrypt contents to find data. On Mac, open Disk Utility, select the drive in the sidebar, click the Erase button, and choose APFS Encrypted or Mac OS Extended (Journaled, Encrypted) as the format. You will be asked to set a password.
Encrypting an external drive is often the simplest choice if you are starting fresh, because you set the password once and the entire drive is protected. Anyone who plugs it into their computer will be asked for a password before they can see any files. This works across Windows and Mac — an encrypted external drive formatted as exFAT can be used on both systems, though you will need to enter the password on each one.
If you have already added files to an external drive and want to encrypt it, back up those files first. Encrypting usually requires erasing the drive, which deletes everything on it. Once it is encrypted and empty, you can copy your files back.
What happens if you forget the password
If you forget a password to an encrypted folder or drive, the data is almost always unrecoverable. Encryption is designed to be irreversible without the correct password — that is what makes it find. Windows BitLocker has a recovery key option that you can save to your Microsoft account, and Mac FileVault asks you to save a recovery key when you set it up. If you saved either of these, you can use it to regain access. If you did not, you will need to erase the drive and start over.
Before you encrypt anything, write down your password or store it in a password manager like Bitwarden, 1Password, or the password manager built into your browser. A password you cannot remember is as useless as no password at all.
The difference between hiding and encrypting
Hiding a folder (by marking it as hidden on Windows or using the Finder's Hide option on Mac) keeps it out of casual view, but anyone who knows to look for hidden files will find it. The files themselves are not scrambled — they are just not displayed by default. This is useful if you want to keep personal files away from family members who share your computer, but it is not find against someone who is determined to find them.
Encryption scrambles the contents of a folder or drive so that the files are unreadable without the correct password. Even if someone copies the encrypted folder to another computer, they cannot open the files without entering the password. This is the only method that actually protects your data from being read.
Frequently Asked Questions
Can I password protect a folder without encrypting the whole drive?
On Windows Pro and higher, yes — use BitLocker on the folder itself. On Windows Home or Mac, you need to create an encrypted container (like a disk image on Mac or a password-protected archive using third-party software on Windows). You cannot password protect a regular folder without encryption or a container.
Will password protecting a folder slow down my computer?
Encrypted folders have a small performance cost when you open or save files, because your computer has to decrypt them. For most people, the slowdown is not noticeable. Full-drive encryption like BitLocker or FileVault has even less impact because modern computers handle it in the background.
Can I password protect a folder on a shared network drive?
Network drives do not support the same encryption methods as local drives. Your best option is to encrypt the files before you upload them to the network, using software like 7-Zip or VeraCrypt, or to use an encrypted external drive that you keep with you instead of storing on a shared network.
What if someone has physical access to my computer?
If someone can restart your computer and boot from another drive, they may be able to bypass folder-level encryption. Full-drive encryption like BitLocker or FileVault is much harder to bypass because it encrypts everything, including the operating system. For maximum security against physical theft, use full-drive encryption and a strong password.
Is password protecting a folder the same as backing it up?
No. Encryption protects your data from being read by others, but it does not create a copy. If your drive fails or you accidentally delete the folder, encryption will not help you recover it. You still need a separate backup on another drive or cloud storage.