To encrypt a single file or folder on Windows 11 Pro, Enterprise or Education, right-click it, choose Properties, select Advanced, check Encrypt contents to secure data, then select OK and Apply. On Windows 11 Home that option is not available, so you protect your files by turning on device encryption for the whole drive instead.
This covers Windows 11 on desktops and laptops and the three encryption tools built into it: Encrypting File System (EFS), BitLocker Drive Encryption and device encryption. Windows 10 reached end of support on October 14, 2025, so its menus are not covered here.
Which built-in encryption should you use?
Windows 11 has three separate features, and they protect against different things. Picking the right one first saves you from encrypting files in a way that does not match your worry.
- EFS (Encrypting File System) encrypts individual files and folders. The encryption is tied to your Windows user account, so the files open normally while you are signed in and stay unreadable to other accounts on the same PC. It needs an NTFS drive (the standard format for Windows system drives) and is not included in Windows 11 Home.
- BitLocker Drive Encryption encrypts an entire drive: the Windows drive, a second internal drive, or a USB flash drive (the removable version is called BitLocker To Go). If someone steals the laptop or pulls the drive out, the data is unreadable without the unlock method or the recovery key. It requires Windows 11 Pro, Enterprise or Education.
- Device encryption is a simpler, automatic form of BitLocker that Microsoft makes available on all Windows editions, including Home, as long as the hardware qualifies. It encrypts the Windows drive and fixed internal drives, but not external or USB drives.
| You want to… | Use | Edition |
|---|---|---|
| Keep a few files private from other people who sign in to the same PC | EFS | Pro, Enterprise, Education |
| Protect everything if the laptop is lost or stolen | BitLocker or device encryption | BitLocker: Pro and up. Device encryption: all editions on supported hardware |
| Encrypt a USB flash drive you carry around | BitLocker To Go | Pro and up to turn it on |
| Put a password on one folder | See the folder password options below | Varies |
A common surprise: EFS does not ask for a password when you open a file. It trusts whoever is signed in to your Windows account. If your goal is “type a password before this folder opens,” that is a different task, covered in the guide to putting a password on a folder in Windows 11.

Encrypt a file or folder with EFS
Before you start, check two things. First, your edition: open Settings > System > About and read the Edition line under Windows specifications. If it says Home, skip to the device encryption section. Second, the drive: EFS works only on NTFS. Most internal drives already use NTFS, but many USB sticks and memory cards use FAT32 or exFAT, and the encryption option will not appear for files stored there.
- Open File Explorer and find the file or folder you want to protect. If you are new to File Explorer, the File Explorer basics for Windows 11 explain how to browse to a folder.
- Right-click the item and select Properties. The window opens on the General tab.
- Select Advanced near the bottom of the General tab. A smaller Advanced Attributes window opens.
- Check Encrypt contents to secure data, then select OK. The small window closes and you are back in Properties.
- Select Apply. Windows asks how far the change should reach (see the next section for which option to pick).
- Choose your option and select OK, then select OK again to close Properties. A small padlock appears on the file or folder icon in File Explorer.

Folder only, or folder and everything in it?
When you encrypt a folder, Windows asks whether to apply the change to that folder only, or to the folder plus all its subfolders and files. The difference matters:
- Folder only: files already in the folder stay unencrypted, but new files you save there from now on are encrypted automatically. Microsoft’s
cipherdocumentation describes the same behavior: a directory is “marked” so files added later are encrypted. - Folder, subfolders and files: everything currently inside is encrypted now, and new files are encrypted too. This is usually what people want.
When you encrypt a single file, Windows offers to encrypt its parent folder as well. Microsoft recommends encrypting the parent folder, because an encrypted file sitting in an unencrypted folder can end up decrypted when a program edits and resaves it.
What EFS will not encrypt
Microsoft lists items that EFS cannot encrypt: compressed files, system files, system folders and the root of a drive (for example C:\ itself). If a folder has Compress contents to save disk space turned on, you cannot encrypt it until compression is turned off; the two checkboxes sit next to each other in the same Advanced Attributes window.
Back up your EFS certificate first
EFS locks each file to a certificate (a digital key) stored in your Windows user profile. If that profile is deleted, Windows is reinstalled, or the PC fails, a file you encrypted can become permanently unreadable, even to you. Microsoft’s own guide to encrypting a file recommends backing up the certificate to a USB drive, an external drive or cloud storage.
The quickest documented way is the cipher command:
- Plug in a USB flash drive and note its drive letter (for example E).
- Select Start and type cmd, then open Command Prompt. If you would rather browse, in the redesigned Start menu scroll down the page to the All section, or in older Windows 11 builds select All apps, and open Terminal.
- Type
cipher /x E:\efs-backupand press Enter. According to Microsoft’s cipher command reference, the/xswitch backs up your current EFS certificate and keys to the file name you give. - Follow the prompts that appear in the window, then keep the USB drive somewhere safe and away from the PC.

Store this backup off the computer. A certificate backup saved only on the same drive does not help if that drive dies. To use the backup on a new PC, Microsoft’s encryption guide describes importing it through the certificates tool by choosing Import instead of Export.
Encrypt files from the command line
The same EFS encryption is available in Command Prompt or Terminal, which is handy for large folders. Put paths that contain spaces inside quotation marks.
| Command | What it does |
|---|---|
cipher /e "C:\Users\You\Documents\Taxes" |
Encrypts the folder and marks it so new files are encrypted |
cipher /e /s:"C:\Users\You\Documents\Taxes" |
Encrypts the folder and every subfolder inside it |
cipher /d "C:\Users\You\Documents\Taxes" |
Decrypts the folder |
cipher /c "C:\Users\You\Documents\Taxes\return.pdf" |
Shows encryption details for a file |
Replace the example paths with your own. These commands follow the parameters in Microsoft’s cipher reference.
Turn on device encryption (Windows 11 Home and up)
Device encryption is the option for Home users and for anyone who wants whole-drive protection with almost no setup. On many PCs it is already on: Microsoft says that signing in with a Microsoft account, or a work or school account, turns it on automatically and saves the recovery key to that account.
- Sign in with an administrator account. If you are not sure, the guide on making an account an administrator shows how to check and change it.
- Open Settings (press Windows key + I).
- Select Privacy & security, then Device encryption.
- Turn the Device encryption toggle On. Encryption runs in the background while you keep working.

If you do not see Device encryption at all, either the PC does not meet the requirements or you are signed in with a standard account. Microsoft’s device encryption page explains how to find out which:
- Select Start, type System Information, right-click it and choose Run as administrator.
- On the System Summary page, look for Device Encryption Support (it may read Automatic Device Encryption Support).
- Read the value next to it:

| Value shown | What it means |
|---|---|
| Meets prerequisites | Device encryption is available |
| TPM is not usable | The TPM security chip is missing or turned off in the BIOS or UEFI settings |
| WinRE is not configured | The Windows Recovery Environment is not set up |
| PCR7 binding is not supported | Secure Boot is off, or a dock or other device was connected during startup |
Microsoft also notes that Windows 11, version 24H2 removed some older hardware requirements (the DMA and HSTI/Modern Standby checks), so more PCs now qualify.
One important catch: if you use only a local account, Microsoft says device encryption leaves the drive “unprotected even though the data is encrypted,” because the recovery key has not been backed up to an account. Sign in with a Microsoft account at least once so the key is saved.
Encrypt a drive with BitLocker (Pro, Enterprise and Education)
BitLocker gives you full control: which drives to encrypt, how to back up the recovery key, and how much of the drive to encrypt. It requires an administrator account.
Before you start: decide where the recovery key will live. The recovery key is a 48-digit number that unlocks the drive if BitLocker cannot unlock it automatically, for example after certain firmware or hardware changes. Microsoft states that its support staff cannot retrieve, provide or recreate a lost key. Without it, you may have to reset the PC and lose your files.
- Select Start, type BitLocker, and select Manage BitLocker. The BitLocker Drive Encryption window lists drives under Operating system drive, Fixed data drives and Removable data drives – BitLocker To Go. If Manage BitLocker does not appear in the results, your edition likely does not include BitLocker.
- Select Turn on BitLocker next to the drive you want to protect. BitLocker checks the drive and opens its setup wizard.
- Choose how to unlock the drive if asked (for a USB drive this is usually a password).
- Back up the recovery key. Pick at least one: Save to your Microsoft account, Save to a USB flash drive, Save to a file or Print the recovery key. You can repeat this step to make more than one copy.
- Choose whether to encrypt only the used disk space or the entire drive. Microsoft says used space only can be much faster on a new drive, and BitLocker then encrypts new data as it is saved. Microsoft also notes that used space only is not the most secure choice, so pick the entire drive if you want the fullest protection and can wait longer.
- Start the encryption. You can keep using the PC while it runs. If the PC shuts down or goes into hibernation, encryption picks up where it left off when Windows starts again.

Microsoft’s recovery key backup page adds two warnings worth following: you cannot save the key file to the same drive you are encrypting, and a printout or USB stick holding the key should never be kept with the computer.
Encrypting a USB flash drive
The same window handles USB drives under Removable data drives – BitLocker To Go. BitLocker To Go works with drives formatted as NTFS, FAT16, FAT32 or exFAT, so you usually do not need to reformat. When you plug the drive into another Windows PC, it asks for the password you set. If the drive is acting up, formatting a USB drive in Windows 11 erases it and gives it a fresh file system, but copy your files off first.
How to check that it worked
- EFS: a padlock appears on the file or folder icon. In Command Prompt,
cipher /cfollowed by the file path shows encryption details. - Device encryption: Settings > Privacy & security > Device encryption shows the toggle as On.
- BitLocker: the Manage BitLocker window shows the drive as on. For a detailed status, run
manage-bde -statusin an administrator Command Prompt. - Recovery key: from another device, visit your Microsoft account recovery keys and confirm a key is listed for this PC.
How to undo encryption
- EFS: open Properties > Advanced again and clear Encrypt contents to secure data, then select OK and Apply. You must be signed in to the account that encrypted the item. In Command Prompt,
cipher /ddoes the same thing. - Device encryption: set the Device encryption toggle to Off. Windows decrypts the drive in the background.
- BitLocker: in Manage BitLocker, use the option next to the drive to turn BitLocker off. Microsoft describes this as fully decrypting the drive, unlike suspending, which keeps the data encrypted but temporarily removes the lock.
When encryption does not go as planned
The encrypt checkbox is grayed out or missing. The PC is running Windows 11 Home, or the file is on a drive that is not NTFS. Microsoft’s page notes that file encryption is not available in Home. If you need EFS, moving from Home to Pro adds it; otherwise use device encryption.
“Access is denied” when opening an encrypted file. EFS opens files only for the account that encrypted them. Sign in to that account, or import the certificate backup into the account you are using now.
A file lost its encryption after copying. EFS works only on NTFS, so a copy saved to a FAT32 or exFAT USB stick is not protected by EFS. Use BitLocker To Go on the stick if the copy needs protection.
The PC asks for a BitLocker recovery key at startup. This can happen after a firmware (BIOS or UEFI) update from a company other than Microsoft, or after hardware changes. Look up the key at the Microsoft account link above, using the first 8 digits of the key ID shown on the recovery screen to pick the right key. Microsoft says Windows updates themselves do not require you to suspend BitLocker, but some non-Microsoft firmware updates do.
Device encryption toggle missing. Run System Information as described above and fix the reason it lists, such as turning on the TPM or Secure Boot in the UEFI settings.
Questions About Encrypting Files on Windows 11
Does EFS ask for a password when I open a file?
No. EFS uses your Windows sign-in as the key, so files open normally for you and show an access error for other accounts. That makes your Windows password, PIN and the lock screen important: anyone who can sign in as you can read the files.
Do I need EFS if BitLocker is already on?
They cover different risks. BitLocker protects the whole drive if the PC or disk is stolen while it is off, but once you are signed in, any account on the PC can read files its permissions allow. EFS adds per-account protection on top. If you are the only person who uses the PC, whole-drive encryption is the more important of the two.
Which encryption strength does Windows use?
Microsoft documents that BitLocker uses AES with 128-bit or 256-bit keys, and that device encryption uses XTS-AES 128-bit by default. Organizations can change the default through policy, but a drive that is already encrypted has to be decrypted before a different method can be applied.
Can I encrypt files on Windows 11 Home?
Not one file at a time with the built-in tools: Microsoft says file encryption is not available in Home. Home users can turn on device encryption if the PC supports it, which protects everything on the Windows drive and internal drives. For a single folder that needs a password, see the folder password options linked earlier.
What happens to EFS files if I reinstall Windows?
They stay encrypted, and the new Windows installation does not have your old certificate. Unless you import the certificate backup made with cipher /x (or the certificates tool), those files cannot be opened. Make the backup before you reinstall, not after.
If you are about to encrypt files for the first time, start with a test folder, back up the certificate or recovery key right away, and confirm you can open the files after a restart before encrypting anything you cannot afford to lose.