To encrypt a single file in Windows 11 or 10 Pro, right-click it, choose Properties → Advanced, tick Encrypt contents to secure data and click OK. That uses EFS, which ties the file to your Windows account and does not ask for a password. On Windows Home, or when you want a file that needs a password to open and stays encrypted when you send it, use the password option inside Office or your PDF editor, or a file encryption app that works with any file type.
Below are all four methods, step by step, with the trade-offs of each so you can pick the right one for the file in front of you.
Method 1: EFS (Windows 10 and 11 Pro, Enterprise and Education)
EFS, the Encrypting File System, is built into the professional editions of Windows. It encrypts files stored on NTFS drives and unlocks them automatically when you sign in to your account.
- Right-click the file in File Explorer and choose Properties. On Windows 11 you can also select the file and press Alt+Enter.
- On the General tab, click Advanced.
- Tick Encrypt contents to secure data, then click OK and Apply.
- Windows asks whether to encrypt the file only or the file and its parent folder. Encrypting the parent folder means new files saved there are encrypted too.
- The first time you use EFS, Windows offers to back up your file encryption key. Accept, export it to a password-protected file and keep it off the PC.
EFS is useful against other user accounts on the same PC and against someone who removes the drive. It is weak against anyone using your signed-in account, because the file just opens. It also does not travel: attach an EFS file to an email or copy it to a FAT32 or exFAT USB stick and the copy is decrypted.
If the checkbox is unavailable, see why Encrypt contents to secure data is grayed out. The most common reason is simply that the PC runs a Home edition.
Method 2: Use the password feature in the file's own program
Some file types have encryption built into the format. The file then needs a password to open on any computer, with no extra software for the recipient.
- Word, Excel and PowerPoint: File → Info → Protect Document (or Protect Workbook, Protect Presentation) → Encrypt with Password. Current versions of Office use strong AES encryption for this. See how to password protect a Word document for the details and the options that do not encrypt.
- PDF: Word can save a document as a password-protected PDF, and most PDF editors can add an open password to an existing PDF. Our guide to password protecting a PDF on Windows covers it.
- ZIP archives: an archive tool can put one or more files into a ZIP encrypted with AES-256.
This works well, but only for file types that support it. Photos, videos, CSV files, text files and most other formats have no password feature of their own.
Method 3: Encrypt the file with an encryption app
A file encryption program encrypts the file itself, whatever its type, with a password you choose. It works on every edition of Windows and the file stays encrypted when you copy, sync or email it.
In Document Key:
- On first run, set your password. The strength meter shows how strong it is, and the generator can create one for you. Print or save the recovery key.
- Right-click the file in File Explorer and choose Encrypt. You can select several files at once, or a whole folder.
- Optionally choose to securely delete the original, so the unencrypted version cannot be recovered with undelete tools.
- To open the file again, double-click it and enter your password.
The file is encrypted with AES-256. Wrong password guesses are slowed down to make brute-force attempts impractical, and everything happens on your PC with no account or cloud service involved.
Method 4: Put the file in an encrypted container
If you have a group of files you work on regularly, an encrypted container is more convenient than encrypting each one. On Windows Pro you can create a virtual hard disk and turn on BitLocker for it. Document Key's vault drive does the same job on any edition: it appears as its own drive letter when unlocked, files are encrypted as they are saved, and the drive disappears when you lock it.
Which method should you use?
| Method | Works on Home | Password to open | Any file type | Stays encrypted when shared |
|---|---|---|---|---|
| EFS | No | No | Yes | No |
| Office or PDF password | Yes | Yes | No, only those formats | Yes |
| AES-256 ZIP | Yes | Yes | Yes | Yes |
| Encryption app | Yes | Yes | Yes | Yes |
| BitLocker container | No | Yes, when unlocking | Yes | No, copies leave decrypted |
Which files are worth encrypting?
You do not need to encrypt everything. Focus on files that would cause real harm if a stranger read them: tax returns and W-2s, bank and credit card statements, passport and driver's license scans, medical letters, contracts, payslips, and anything containing other people's personal details, such as client or patient records. Encrypting these few folders well is more useful than encrypting everything badly.
Do not leave an unencrypted copy behind
The most common mistake is encrypting a file and keeping the original. Look for leftover copies in these places:
- Your Downloads folder, especially for statements and scans you downloaded.
- Email attachments saved in your mail program or still sitting in sent items.
- The Recycle Bin, and cloud storage recycle bins and version history.
- Backups made before you encrypted the file.
Deleting a file normally does not erase it. The data stays on the disk until overwritten. Our guide to securely deleting files in Windows 11 explains how to remove leftovers properly. Document Key's secure delete option handles this automatically for the files you encrypt.
Keep your password and recovery key safe
Good encryption cannot be bypassed. That is the point, but it also means a forgotten password is permanent unless you have a recovery key. Before encrypting anything important:
- Use a long passphrase you can remember, or store it in a password manager.
- Save or print the recovery key and keep it somewhere other than the PC.
- Test the process on a copy: encrypt it, close it, and open it again with your password.
If you use EFS, export your certificate as soon as you start. Reinstalling Windows or having an administrator reset your password can leave EFS files unreadable without that backup.
Frequently asked questions
Can Windows 11 Home encrypt individual files?
Not with built-in tools. EFS file encryption is only in Pro, Enterprise and Education editions. On Home you can use the password options inside Office or a PDF editor, or a file encryption program.
Is an encrypted file still encrypted when I email it?
It depends on the method. EFS files are decrypted when they are attached to email or copied to a non-NTFS drive. Files encrypted with a password by an app stay encrypted wherever they go.
Will encrypting a file change its size or file type?
Encryption adds a small amount of data and usually changes how the file opens. You decrypt it, or open it through the encryption tool, before your normal program can read it.
