How to use EFS encryption to encrypt individual files and folders on Windows 10

Encrypting File System (EFS) is an encryption service found in Windows 10 Pro, Enterprise, and Education. A cousin to BitLocker, which can encrypt entire drives at once, EFS lets you encrypt individual files and folders.

Encryption is tied to the PC user, so if a different user is logged in than the user who encrypted the files, those files will remain inaccessible.

EFS encryption isn't as secure as other encryption methods, like BitLocker, because the key that unlocks the encryption is saved locally. There's also a chance that data can leak into temporary files since the entire drive is not encrypted.

Still, EFS is a quick and easy way to protect individual files and folders on a PC that's shared amongst several users. Encrypting with EFS doesn't take long — let's take a look at how it's done.

What you'll need before you begin

EFS is only available on Pro, Enterprise, and Education versions of Windows 10. If you're using Windows 10 Home, you're out of luck. You also need to be using a password with your user account, preferably strong and difficult to crack.

Once you've encrypted a file or folder, Windows will automatically remind you that you should create a backup key in case you run into a problem where you can no longer log into your user account that's tied to the encrypted files. This requires some sort of removable media. In our case, we use a USB thumb drive.

How to enable EFS on Windows 10

Have a file or folder in mind for encryption? Here's how to enable EFS.

  1. Launch File Explorer from your Start menu, desktop, or taskbar.
  2. Right-click a file or folder.
  3. Click Properties.

  1. Click Advanced.
  2. Click the checkbox next to Encrypt contents to secure data.

  1. Click OK.
  2. Click Apply. A window will pop up asking you whether or not you want to only encrypt the selected folder, or the folder, subfolders, and files.

  1. Click either Apply changes to this folder only or Apply changes to this folder, subfolders, and files.
  2. Click OK.

Files that you've encrypted with EFS will have a small padlock icon in the top-right corner of the thumbnail or icon.

How to back up your EFS encryption key

After enabling EFS, a small icon will appear in the system tray in the bottom-right corner of your screen. This is your reminder to back up your EFS encryption key.

  1. Plug your USB drive into your PC.
  2. Click the EFS icon in the system tray.
  3. Click Back up now (recommended).

  1. Click Next.
  2. Click Next.

  1. Click the checkbox next to Password.
  2. Type a password in the first Password field.

  1. Type the same password in the Confirm password field.
  2. Click Next.

  1. Click Browse.
  2. Click the USB drive.

  1. Click the File name field.
  2. Type a filename.

  1. Click Save.
  2. Click Next.

  1. Click Finish.
  2. Click OK.

That's it. If you ever lose access to your user account, the backup key can be used to access the encrypted files on the PC.

More encryption resources

Cale Hunt
Contributor

Cale Hunt brings to Windows Central more than eight years of experience writing about laptops, PCs, accessories, games, and beyond. If it runs Windows or in some way complements the hardware, there’s a good chance he knows about it, has written about it, or is already busy testing it. 

Latest in Windows 10
Windows 10 Find My Device
How to enable Find My Device on Windows 10 to recover your PC if it's ever lost or stolen
Outlook Client Hero
Microsoft just made Windows 10 worse, and there's (almost) nothing you can do about it
Windows 10 Start menu on HP ZBook Studio G4
Microsoft will retroactively downgrade this part of Windows 10 next month
Former Microsoft Executive Vice President Terry Myerson stands in front of a presentation about Windows 10
Microsoft addresses the 'elephant in the room,' discusses upcoming end of Windows 10 support
Surface Hub 2S
Windows 10 for PCs is not the only version of Windows to reach end of support this year
Windows Insider program settings
Microsoft shuts down the Windows 10 Beta Channel just five months after reopening it
Latest in How-to
Atomfall
Can I play Atomfall on Steam Deck, ROG Ally, and other gaming handhelds?
Windows 11 answer file
How to easily create an unattended answer file for Windows 11
The First Berserker: Khazan
Is The First Berserker: Khazan on Xbox Game Pass?
Clair Obscur: Expedition 33
Is Clair Obscur: Expedition 33 on Xbox Game Pass?
A close-up of Hazel in South of Midnight
Is South of Midnight on Xbox Game Pass?
Atomfall screenshot
Atomfall: How to grab the best melee weapon and melee perk right away