How to Encrypt a Folder in Windows 11

Windows 11 may offer a built-in encryption option in a folder’s Properties. Check whether it appears on your PC, then decide if account-based encryption meets your needs or you need a separate password.

Windows File Explorer shows the Documents folder properties and an Advanced Attributes dialog with encryption enabled.
In this article

The Encrypt contents to secure data option is not available in Windows Home. If you use Windows Home, this Properties method isn’t available to you.[1]

What to know before you turn on encryption

Windows folder encryption protects data, but it does not add a separate password prompt when you open the folder. [1] Make sure you can still sign in to the Windows account associated with the files, since you may need that account to keep accessing them. [1]

Before you choose this option, consider who uses the PC and what you need to protect. For example, if you want someone opening the folder to enter a password, Windows’ folder-encryption option does not meet that need. [2] To go further, see How to Password Protect a Folder in Windows 11.

For a password-protected archive, 7-Zip is an alternative: it can create an archive with a password. [3] That is a different approach from Windows folder encryption, so choose it when you specifically want a password prompt for the archive rather than relying on the Windows account.

Check whether folder encryption is available

  1. In File Explorer, right-click the folder you want to check and choose Properties. [1]

  2. On the General tab, choose Advanced to open the folder’s advanced attributes. [1]

  3. Look for the exact checkbox Encrypt contents to secure data. [1]

  4. If the checkbox appears and is available, Windows offers this encryption option through the folder’s Properties interface on your PC. [1]

  5. If the checkbox is missing or unavailable, this method is not offered through that interface on your PC. [1]

For example, check the folder that contains your documents rather than assuming the option will appear on every folder. [1] You only need to identify whether the checkbox is available at this stage; the next steps depend on what you see. [1]

A Windows 11 folder Properties dialog is open on the Security tab, with the Advanced button highlighted.

Apply encryption to the folder

  1. In the folder’s Properties window, select Encrypt contents to secure data if it is available, then choose OK and Apply. [1] If Windows asks whether to apply the change to the folder alone or its contents, choose the scope that matches what you intend to protect. [1]

  2. For example, choose the folder-only scope if you intend to protect the folder itself, or include its contents if you intend to protect the files inside it. [1]

  3. Before you apply the change, back up important files and make sure you can access the Windows account used for encryption. [1]

  4. Let the change finish, then check that the folder and the files you meant to include are still accessible from that Windows account. [1] If you selected the contents scope, give Windows time to process the files before you try opening them. [1]

When built-in encryption is not the right fit

Built-in folder encryption is not the right fit when you need a separate password prompt to open a folder. It protects data through Windows, but it does not create an independent folder password. [1]

If Encrypt contents to secure data is missing or unavailable, do not try a command or setting as a workaround; this encryption method is not offered through that interface on your PC. [2] For example, if you cannot select the option in the folder’s properties, Windows does not provide this route for that folder there. [1]

For a password-based archive instead, use the distinct 7-Zip approach: create an archive and set a password in its encryption options. [3] That gives you a separate password-protected archive rather than an independently locked folder. [3] Learn more in Lock a Folder in Windows 11 Without Software: Your Options.

Choose encryption for the protection it provides

Choose Windows encryption for the protection it provides, not for a separate password prompt. In the folder’s Properties > Advanced, enable Encrypt contents to secure data if it’s offered, then apply the change to the folder alone or its contents, depending on what you intend to protect. [1]

Your next step is to check Advanced for the folder you want to protect and choose the scope that fits. If you specifically need a password prompt to open an archive, use a separate password-based approach instead; Windows folder encryption does not provide that prompt. [4]

Sources

  1. How To Encrypt a File or Folder

  2. Password protecting a folder – Microsoft Q&A

  3. How To Encrypt A file With A Password

  4. How to Encrypt a File in Windows 11